Make WordPress Core


Ignore:
Timestamp:
09/21/2019 05:40:58 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Docblock corrections and improvements, mostly related to various pre_* filters.

See #47110

File:
1 edited

Legend:

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

    r45738 r46232  
    10541054     * @since 5.0.2
    10551055     *
    1056      * @param string|false $translations JSON-encoded translation data. Default null.
    1057      * @param string|false $file         Path to the translation file to load. False if there isn't one.
    1058      * @param string       $handle       Name of the script to register a translation domain to.
    1059      * @param string       $domain       The text domain.
     1056     * @param string|false|null $translations JSON-encoded translation data. Default null.
     1057     * @param string|false      $file         Path to the translation file to load. False if there isn't one.
     1058     * @param string            $handle       Name of the script to register a translation domain to.
     1059     * @param string            $domain       The text domain.
    10601060     */
    10611061    $translations = apply_filters( 'pre_load_script_translations', null, $file, $handle, $domain );
Note: See TracChangeset for help on using the changeset viewer.