Make WordPress Core


Ignore:
Timestamp:
01/05/2021 05:14:24 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Corrections and improvements to types used in various docblocks.

See #51800, #52217

File:
1 edited

Legend:

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

    r49859 r49936  
    935935 * @since 4.6.0 The function now tries to load the .mo file from the languages directory first.
    936936 *
    937  * @param string $domain Text domain. Unique identifier for retrieving translated strings.
    938  * @param string $path   Optional. Path to the directory containing the .mo file.
    939  *                       Default false.
     937 * @param string       $domain Text domain. Unique identifier for retrieving translated strings.
     938 * @param string|false $path   Optional. Path to the directory containing the .mo file.
     939 *                             Default false.
    940940 * @return bool True when textdomain is successfully loaded, false otherwise.
    941941 */
     
    975975 * @since 2.9.0
    976976 *
    977  * @param string $domain Text domain. Unique identifier for retrieving translated strings.
    978  * @param string $path   Optional. Path to the directory containing the .mo file.
    979  *                       Default false.
     977 * @param string       $domain Text domain. Unique identifier for retrieving translated strings.
     978 * @param string|false $path   Optional. Path to the directory containing the .mo file.
     979 *                             Default false.
    980980 * @return bool True when the theme textdomain is successfully loaded, false otherwise.
    981981 */
Note: See TracChangeset for help on using the changeset viewer.