Make WordPress Core

Changeset 59865


Ignore:
Timestamp:
02/24/2025 01:41:07 PM (4 months ago)
Author:
johnbillion
Message:

Docs: Various improvements to inline documentation.

See #62281

Location:
trunk/src
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-privacy-requests-table.php

    r59336 r59865  
    497497    public function column_default( $item, $column_name ) {
    498498        /**
    499          * Fires for each custom column of a specific request type in the Requests list table.
     499         * Fires for each custom column of a specific request type in the Privacy Requests list table.
    500500         *
    501501         * Custom columns are registered using the {@see 'manage_export-personal-data_columns'}
    502502         * and the {@see 'manage_erase-personal-data_columns'} filters.
     503         *
     504         * The dynamic portion of the hook name, `$this->screen->id`, refers to the ID given to the list table
     505         * according to which screen it's displayed on.
     506         *
     507         * Possible hook names include:
     508         *
     509         *  - `manage_export-personal-data_custom_column`
     510         *  - `manage_erase-personal-data_custom_column`
    503511         *
    504512         * @since 5.7.0
  • trunk/src/wp-admin/nav-menus.php

    r59265 r59865  
    674674/**
    675675 * @global int $_wp_nav_menu_max_depth
     676 *
     677 * @since 3.0.0
    676678 *
    677679 * @param string $classes
  • trunk/src/wp-includes/https-detection.php

    r59517 r59865  
    103103     * @param null|WP_Error $pre Error object to short-circuit detection,
    104104     *                           or null to continue with the default behavior.
    105      * @return null|WP_Error Error object if HTTPS detection errors are found, null otherwise.
    106105     */
    107106    $support_errors = apply_filters( 'pre_wp_get_https_detection_errors', null );
  • trunk/src/wp-includes/link-template.php

    r59703 r59865  
    30523052     * @param string $template  The default template.
    30533053     * @param string $css_class The class passed by the calling function.
    3054      * @return string Navigation template.
    30553054     */
    30563055    $template = apply_filters( 'navigation_markup_template', $template, $css_class );
  • trunk/src/wp-includes/media.php

    r59688 r59865  
    54725472     * this hook.
    54735473     *
     5474     * @since 6.7.0
     5475     *
    54745476     * @param int|null $post_id The result of the post ID lookup. Null to indicate
    54755477     *                          no lookup has been attempted. Default null.
  • trunk/src/wp-includes/option.php

    r59787 r59865  
    11691169     * The dynamic portion of the hook name, `$option`, refers to the option name.
    11701170     *
    1171      * @since 2.5.0 As "add_option_{$name}"
     1171     * @since 2.5.0 As `add_option_{$name}`
    11721172     * @since 3.0.0
    11731173     *
  • trunk/src/wp-includes/update.php

    r59861 r59865  
    1515 * Checks WordPress version against the newest version.
    1616 *
    17  * The WordPress version, PHP version, and locale is sent.
     17 * The WordPress version, PHP version, and locale is sent to api.wordpress.org.
    1818 *
    1919 * Checks against the WordPress server at api.wordpress.org. Will only check
     
    307307 * Despite its name this function does not actually perform any updates, it only checks for available updates.
    308308 *
    309  * A list of all plugins installed is sent to WP, along with the site locale.
     309 * A list of all plugins installed is sent to api.wordpress.org, along with the site locale.
    310310 *
    311311 * Checks against the WordPress server at api.wordpress.org. Will only check
     
    579579 * Despite its name this function does not actually perform any updates, it only checks for available updates.
    580580 *
    581  * A list of all themes installed is sent to WP, along with the site locale.
     581 * A list of all themes installed is sent to api.wordpress.org, along with the site locale.
    582582 *
    583583 * Checks against the WordPress server at api.wordpress.org. Will only check
Note: See TracChangeset for help on using the changeset viewer.