Make WordPress Core

Changeset 50395


Ignore:
Timestamp:
02/20/2021 05:08:24 PM (3 years ago)
Author:
johnbillion
Message:

Docs: Various docblock corrections and improvements.

See #51800

Location:
trunk/src/wp-includes
Files:
4 edited

Legend:

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

    r46586 r50395  
    2828     * Site ID.
    2929     *
     30     * Named "blog" vs. "site" for legacy reasons.
     31     *
    3032     * A numeric string, for compatibility reasons.
    3133     *
     
    6567
    6668    /**
    67      * The date on which the site was created or registered.
     69     * The date and time on which the site was created or registered.
    6870     *
    6971     * @since 4.5.0
  • trunk/src/wp-includes/class-wp-term-query.php

    r49947 r50395  
    332332     *   - 'tt_ids'
    333333     *
    334      * In all cases, a `WP_Error` object will be returned if an invalid taxonomy is used.
    335      *
    336334     * @since 4.6.0
    337335     *
  • trunk/src/wp-includes/load.php

    r50053 r50395  
    417417     * constants to not be checked and the default PHP values for errors
    418418     * will be used unless you take care to update them yourself.
     419     *
     420     * To use this filter you must define a `$wp_filter` global before
     421     * WordPress loads, usually in `wp-config.php`.
     422     *
     423     * Example:
     424     *
     425     *     $GLOBALS['wp_filter'] = array(
     426     *         'enable_wp_debug_mode_checks' => array(
     427     *             10 => array(
     428     *                 array(
     429     *                     'accepted_args' => 0,
     430     *                     'function'      => function() {
     431     *                         return false;
     432     *                     },
     433     *                 ),
     434     *             ),
     435     *         ),
     436     *     );
    419437     *
    420438     * @since 4.6.0
  • trunk/src/wp-includes/theme.php

    r49935 r50395  
    24862486 * @global array $_wp_theme_features
    24872487 *
    2488  * @param string $feature The feature being added. Likely core values include 'post-formats', 'post-thumbnails',
    2489  *                        'custom-header', 'custom-background', 'custom-logo', 'menus', 'automatic-feed-links',
    2490  *                        'html5', 'title-tag', 'customize-selective-refresh-widgets', 'starter-content',
    2491  *                        'responsive-embeds', 'align-wide', 'dark-editor-style', 'disable-custom-colors',
    2492  *                        'disable-custom-font-sizes', 'editor-color-palette', 'editor-font-sizes',
    2493  *                        'editor-styles', 'wp-block-styles', and 'core-block-patterns'.
     2488 * @param string $feature The feature being added. Likely core values include:
     2489 *                          - 'admin-bar'
     2490 *                          - 'align-wide'
     2491 *                          - 'automatic-feed-links'
     2492 *                          - 'core-block-patterns'
     2493 *                          - 'custom-background'
     2494 *                          - 'custom-header'
     2495 *                          - 'custom-line-height'
     2496 *                          - 'custom-logo'
     2497 *                          - 'customize-selective-refresh-widgets'
     2498 *                          - 'custom-spacing'
     2499 *                          - 'custom-units'
     2500 *                          - 'dark-editor-style'
     2501 *                          - 'disable-custom-colors'
     2502 *                          - 'disable-custom-font-sizes'
     2503 *                          - 'editor-color-palette'
     2504 *                          - 'editor-gradient-presets'
     2505 *                          - 'editor-font-sizes'
     2506 *                          - 'editor-styles'
     2507 *                          - 'featured-content'
     2508 *                          - 'html5'
     2509 *                          - 'menus'
     2510 *                          - 'post-formats'
     2511 *                          - 'post-thumbnails'
     2512 *                          - 'responsive-embeds'
     2513 *                          - 'starter-content'
     2514 *                          - 'title-tag'
     2515 *                          - 'wp-block-styles'
     2516 *                          - 'widgets'
    24942517 * @param mixed  ...$args Optional extra arguments to pass along with certain features.
    24952518 * @return void|false Void on success, false on failure.
Note: See TracChangeset for help on using the changeset viewer.