Make WordPress Core


Ignore:
Timestamp:
09/21/2021 06:19:19 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Document some more common names for dynamic hooks and standardise the phrasing used.

Fixes #53581

File:
1 edited

Legend:

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

    r51599 r51837  
    192192     * Filters text with its translation for a domain.
    193193     *
    194      * The dynamic portion of the hook, `$domain`, refers to the text domain.
     194     * The dynamic portion of the hook name, `$domain`, refers to the text domain.
    195195     *
    196196     * @since 5.5.0
     
    260260     * Filters text with its translation based on context information for a domain.
    261261     *
    262      * The dynamic portion of the hook, `$domain`, refers to the text domain.
     262     * The dynamic portion of the hook name, `$domain`, refers to the text domain.
    263263     *
    264264     * @since 5.5.0
     
    483483     * Filters the singular or plural form of a string for a domain.
    484484     *
    485      * The dynamic portion of the hook, `$domain`, refers to the text domain.
     485     * The dynamic portion of the hook name, `$domain`, refers to the text domain.
    486486     *
    487487     * @since 5.5.0
     
    543543     * Filters the singular or plural form of a string with gettext context for a domain.
    544544     *
    545      * The dynamic portion of the hook, `$domain`, refers to the text domain.
     545     * The dynamic portion of the hook name, `$domain`, refers to the text domain.
    546546     *
    547547     * @since 5.5.0
Note: See TracChangeset for help on using the changeset viewer.