Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: mu_dropdown_languages

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
562
563      }
564
565      if ( $flag === false ) // WordPress english
566           $output[] = '<option value=""' . selected( $current, '', false ) . '>' . __( 'English' ) . "</option>";
567
568      // Order by name
569      uksort( $output, 'strnatcasecmp' );
570
571      $output = apply_filters( 'mu_dropdown_languages', $output, $lang_files, $current );
572      echo implode( "\n\t", $output );
573 }
574
575 /* Warn the admin if SECRET SALT information is missing from wp-config.php */
576 function secret_salt_warning() {
577      if ( !is_super_admin() )
578           return;
579      $secret_keys = array( 'AUTH_KEY', 'SECURE_AUTH_KEY', 'LOGGED_IN_KEY', 'NONCE_KEY', 'AUTH_SALT', 'SECURE_AUTH_SALT', 'LOGGED_IN_SALT', 'NONCE_SALT' );
580      $out = '';