Changeset 28083 for trunk/src/wp-includes/l10n.php
- Timestamp:
- 04/12/2014 12:00:32 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/l10n.php
r25991 r28083 54 54 $locale = 'en_US'; 55 55 56 / / duplicate_hook56 /** This filter is documented in wp-includes/l10n.php */ 57 57 return apply_filters( 'locale', $locale ); 58 58 } … … 425 425 * @since 2.9.0 426 426 * 427 * @param bool eanWhether to override the text domain. Default false.428 * @param string $domain Text domain. Unique identifier for retrieving translated strings.429 * @param string $mofile Path to the MO file.427 * @param bool $override Whether to override the text domain. Default false. 428 * @param string $domain Text domain. Unique identifier for retrieving translated strings. 429 * @param string $mofile Path to the MO file. 430 430 */ 431 431 $plugin_override = apply_filters( 'override_load_textdomain', false, $domain, $mofile ); … … 480 480 481 481 /** 482 * Filter t exttext domain for loading translation.482 * Filter the text domain for loading translation. 483 483 * 484 484 * @since 3.0.0 485 485 * 486 * @param bool eanWhether to override unloading the text domain. Default false.487 * @param string $domain Text domain. Unique identifier for retrieving translated strings.486 * @param bool $override Whether to override unloading the text domain. Default false. 487 * @param string $domain Text domain. Unique identifier for retrieving translated strings. 488 488 */ 489 489 $plugin_override = apply_filters( 'override_unload_textdomain', false, $domain ); … … 592 592 */ 593 593 function load_muplugin_textdomain( $domain, $mu_plugin_rel_path = '' ) { 594 / / duplicate_hook594 /** This filter is documented in wp-includes/l10n.php */ 595 595 $locale = apply_filters( 'plugin_locale', get_locale(), $domain ); 596 596 $path = trailingslashit( WPMU_PLUGIN_DIR . '/' . ltrim( $mu_plugin_rel_path, '/' ) );
Note: See TracChangeset
for help on using the changeset viewer.