Make WordPress Core

Changeset 37560


Ignore:
Timestamp:
05/25/2016 04:04:37 PM (10 years ago)
Author:
DrewAPicture
Message:

Docs: Standardize DocBlock summaries for hooks that serve to "print" something to use third-person singular verbs.

See #36913.

Location:
trunk/src
Files:
8 edited

Legend:

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

    r37488 r37560  
    6464<?php
    6565/**
    66  * Print scripts or data before the default footer scripts.
     66 * Prints scripts or data before the default footer scripts.
    6767 *
    6868 * @since 1.2.0
     
    9393
    9494/**
    95  * Print scripts or data after the default footer scripts.
     95 * Prints scripts or data after the default footer scripts.
    9696 *
    9797 * The dynamic portion of the hook name, `$hook_suffix`,
  • trunk/src/wp-admin/admin-header.php

    r37488 r37560  
    230230if ( is_network_admin() ) {
    231231        /**
    232          * Print network admin screen notices.
     232         * Prints network admin screen notices.
    233233         *
    234234         * @since 3.1.0
     
    237237} elseif ( is_user_admin() ) {
    238238        /**
    239          * Print user admin screen notices.
     239         * Prints user admin screen notices.
    240240         *
    241241         * @since 3.1.0
     
    244244} else {
    245245        /**
    246          * Print admin screen notices.
     246         * Prints admin screen notices.
    247247         *
    248248         * @since 3.1.0
     
    252252
    253253/**
    254  * Print generic admin screen notices.
     254 * Prints generic admin screen notices.
    255255 *
    256256 * @since 3.1.0
  • trunk/src/wp-admin/customize.php

    r37230 r37560  
    179179
    180180        /**
    181          * Print templates, control scripts, and settings in the footer.
     181         * Prints templates, control scripts, and settings in the footer.
    182182         *
    183183         * @since 3.4.0
  • trunk/src/wp-includes/general-template.php

    r37541 r37560  
    25242524function wp_head() {
    25252525        /**
    2526          * Print scripts or data in the head tag on the front end.
     2526         * Prints scripts or data in the head tag on the front end.
    25272527         *
    25282528         * @since 1.5.0
     
    25402540function wp_footer() {
    25412541        /**
    2542          * Print scripts or data before the closing body tag on the front end.
     2542         * Prints scripts or data before the closing body tag on the front end.
    25432543         *
    25442544         * @since 1.5.1
  • trunk/src/wp-includes/media.php

    r37556 r37560  
    20362036        if ( 1 === $instance ) {
    20372037                /**
    2038                  * Print and enqueue playlist scripts, styles, and JavaScript templates.
     2038                 * Prints and enqueues playlist scripts, styles, and JavaScript templates.
    20392039                 *
    20402040                 * @since 3.9.0
  • trunk/src/wp-includes/theme-compat/embed-content.php

    r37518 r37560  
    9191                <?php
    9292                /**
    93                  * Print additional content after the embed excerpt.
     93                 * Prints additional content after the embed excerpt.
    9494                 *
    9595                 * @since 4.4.0
     
    104104                                <?php
    105105                                /**
    106                                  * Print additional meta content in the embed template.
     106                                 * Prints additional meta content in the embed template.
    107107                                 *
    108108                                 * @since 4.4.0
  • trunk/src/wp-includes/theme-compat/footer-embed.php

    r37088 r37560  
    1212
    1313/**
    14  * Print scripts or data before the closing body tag in the embed template.
     14 * Prints scripts or data before the closing body tag in the embed template.
    1515 *
    1616 * @since 4.4.0
  • trunk/src/wp-includes/theme-compat/header-embed.php

    r37088 r37560  
    2323        <?php
    2424        /**
    25          * Print scripts or data in the embed template <head> tag.
     25         * Prints scripts or data in the embed template <head> tag.
    2626         *
    2727         * @since 4.4.0
Note: See TracChangeset for help on using the changeset viewer.