WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/20/2016 04:56:21 PM (5 years ago)
Author:
DrewAPicture
Message:

Docs: Fix formatting, tense, verb conjugation, and other syntax for wp-includes/* elements introduced or changed in 4.6.

Part 1/2.

See #37318.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/l10n.php

    r37985 r38121  
    665665
    666666/**
    667  * Load a plugin's translated strings.
     667 * Loads a plugin's translated strings.
    668668 *
    669669 * If the path is not given then it will be the root of the plugin directory.
     
    675675 *
    676676 * @param string $domain          Unique identifier for retrieving translated strings
    677  * @param string $deprecated      Use the $plugin_rel_path parameter instead.
     677 * @param string $deprecated      Optional. Use the $plugin_rel_path parameter instead. Defaukt false.
    678678 * @param string $plugin_rel_path Optional. Relative path to WP_PLUGIN_DIR where the .mo file resides.
    679679 *                                Default false.
     
    717717 *
    718718 * @param string $domain             Text domain. Unique identifier for retrieving translated strings.
    719  * @param string $mu_plugin_rel_path Relative to WPMU_PLUGIN_DIR directory in which the .mo file resides.
    720  *                                   Default empty string.
     719 * @param string $mu_plugin_rel_path Optional. Relative to `WPMU_PLUGIN_DIR` directory in which the .mo
     720 *                                   file resides. Default empty string.
    721721 * @return bool True when textdomain is successfully loaded, false otherwise.
    722722 */
     
    800800
    801801/**
    802  * Just in time loading of plugin and theme textdomains.
    803  *
    804  * When a textdomain is encountered for the first time, we try to load the translation file
    805  * from wp-content/languages, removing the need to call `load_plugin_texdomain()` or
    806  * `load_theme_texdomain()`. Holds a cached list of available .mo files to improve performance.
     802 * Loads plugin and theme textdomains just-in-time.
     803 *
     804 * When a textdomain is encountered for the first time, we try to load
     805 * the translation file from `wp-content/languages`, removing the need
     806 * to call load_plugin_texdomain() or load_theme_texdomain().
     807 *
     808 * Holds a cached list of available .mo files to improve performance.
    807809 *
    808810 * @since 4.6.0
Note: See TracChangeset for help on using the changeset viewer.