Make WordPress Core

Changeset 55917


Ignore:
Timestamp:
06/14/2023 02:06:03 PM (3 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs in various function descriptions, as per docblocks standards.

Follow-up to [55911], [55916].

Props costdev.
See #57840.

Location:
trunk/src/wp-admin
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/_index.php

    r55624 r55917  
    187187                <?php
    188188                /**
    189                  * Add content to the welcome panel on the admin dashboard.
     189                 * Fires when adding content to the welcome panel on the admin dashboard.
    190190                 *
    191191                 * To remove the default welcome panel, use remove_action():
  • trunk/src/wp-admin/admin-header.php

    r55846 r55917  
    110110
    111111/**
    112  * Enqueue scripts for all admin pages.
     112 * Fires when enqueuing scripts for all admin pages.
    113113 *
    114114 * @since 2.8.0
  • trunk/src/wp-admin/admin.php

    r53062 r55917  
    349349
    350350        /**
    351          * Whether to filter imported data through kses on import.
     351         * Filters whether to filter imported data through kses on import.
    352352         *
    353353         * Multisite uses this hook to filter all data through kses by default,
  • trunk/src/wp-admin/customize.php

    r55432 r55917  
    117117
    118118/**
    119  * Enqueue Customizer control scripts.
     119 * Fires when enqueuing Customizer control scripts.
    120120 *
    121121 * @since 3.4.0
  • trunk/src/wp-admin/export.php

    r55857 r55917  
    128128
    129129/**
    130  * Create the date options fields for exporting a given post type.
     130 * Creates the date options fields for exporting a given post type.
    131131 *
    132132 * @global wpdb      $wpdb      WordPress database abstraction object.
  • trunk/src/wp-admin/link-parse-opml.php

    r48322 r55917  
    1717
    1818/**
    19  * XML callback function for the start of a new XML tag.
     19 * Starts a new XML tag.
     20 *
     21 * Callback function for xml_set_element_handler().
    2022 *
    2123 * @since 0.71
    … …  
    6163
    6264/**
    63  * XML callback function that is called at the end of a XML tag.
     65 * Ends a new XML tag.
     66 *
     67 * Callback function for xml_set_element_handler().
    6468 *
    6569 * @since 0.71
  • trunk/src/wp-admin/my-sites.php

    r55418 r55917  
    9797        <?php
    9898        /**
    99          * Enable the Global Settings section on the My Sites screen.
     99         * Filters the settings HTML markup in the Global Settings section on the My Sites screen.
    100100         *
    101101         * By default, the Global Settings section is hidden. Passing a non-empty
  • trunk/src/wp-admin/site-health.php

    r55412 r55917  
    2020
    2121/**
    22  * An associative array of extra tabs for the Site Health navigation bar.
     22 * Filters the extra tabs for the Site Health navigation bar.
    2323 *
    2424 * Add a custom page to the Site Health screen, based on a tab slug and label.
    … …  
    199199if ( isset( $_GET['tab'] ) && ! empty( $_GET['tab'] ) ) {
    200200        /**
    201          * Output content of a custom Site Health tab.
     201         * Fires when outputting the content of a custom Site Health tab.
    202202         *
    203203         * This action fires right after the Site Health header, and users are still subject to
  • trunk/src/wp-admin/update-core.php

    r55824 r55917  
    818818
    819819/**
    820  * Upgrade WordPress core display.
     820 * Upgrades WordPress core display.
    821821 *
    822822 * @since 2.7.0
Note: See TracChangeset for help on using the changeset viewer.