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

See #36913.

Built from https://develop.svn.wordpress.org/trunk@37560


git-svn-id: http://core.svn.wordpress.org/trunk@37528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2016-05-25 16:05:27 +00:00
parent cf51b75834
commit bef05b469b
9 changed files with 15 additions and 15 deletions

View File

@ -63,7 +63,7 @@ global $hook_suffix;
</div> </div>
<?php <?php
/** /**
* Print scripts or data before the default footer scripts. * Prints scripts or data before the default footer scripts.
* *
* @since 1.2.0 * @since 1.2.0
* *
@ -92,7 +92,7 @@ do_action( "admin_print_footer_scripts-$hook_suffix" );
do_action( 'admin_print_footer_scripts' ); do_action( 'admin_print_footer_scripts' );
/** /**
* Print scripts or data after the default footer scripts. * Prints scripts or data after the default footer scripts.
* *
* The dynamic portion of the hook name, `$hook_suffix`, * The dynamic portion of the hook name, `$hook_suffix`,
* refers to the global hook suffix of the current page. * refers to the global hook suffix of the current page.

View File

@ -229,21 +229,21 @@ $current_screen->render_screen_meta();
if ( is_network_admin() ) { if ( is_network_admin() ) {
/** /**
* Print network admin screen notices. * Prints network admin screen notices.
* *
* @since 3.1.0 * @since 3.1.0
*/ */
do_action( 'network_admin_notices' ); do_action( 'network_admin_notices' );
} elseif ( is_user_admin() ) { } elseif ( is_user_admin() ) {
/** /**
* Print user admin screen notices. * Prints user admin screen notices.
* *
* @since 3.1.0 * @since 3.1.0
*/ */
do_action( 'user_admin_notices' ); do_action( 'user_admin_notices' );
} else { } else {
/** /**
* Print admin screen notices. * Prints admin screen notices.
* *
* @since 3.1.0 * @since 3.1.0
*/ */
@ -251,7 +251,7 @@ if ( is_network_admin() ) {
} }
/** /**
* Print generic admin screen notices. * Prints generic admin screen notices.
* *
* @since 3.1.0 * @since 3.1.0
*/ */

View File

@ -178,7 +178,7 @@ do_action( 'customize_controls_print_scripts' );
<?php <?php
/** /**
* Print templates, control scripts, and settings in the footer. * Prints templates, control scripts, and settings in the footer.
* *
* @since 3.4.0 * @since 3.4.0
*/ */

View File

@ -2523,7 +2523,7 @@ function the_weekday_date($before='',$after='') {
*/ */
function wp_head() { function wp_head() {
/** /**
* Print scripts or data in the head tag on the front end. * Prints scripts or data in the head tag on the front end.
* *
* @since 1.5.0 * @since 1.5.0
*/ */
@ -2539,7 +2539,7 @@ function wp_head() {
*/ */
function wp_footer() { function wp_footer() {
/** /**
* Print scripts or data before the closing body tag on the front end. * Prints scripts or data before the closing body tag on the front end.
* *
* @since 1.5.1 * @since 1.5.1
*/ */

View File

@ -2035,7 +2035,7 @@ function wp_playlist_shortcode( $attr ) {
if ( 1 === $instance ) { if ( 1 === $instance ) {
/** /**
* Print and enqueue playlist scripts, styles, and JavaScript templates. * Prints and enqueues playlist scripts, styles, and JavaScript templates.
* *
* @since 3.9.0 * @since 3.9.0
* *

View File

@ -90,7 +90,7 @@
<?php <?php
/** /**
* Print additional content after the embed excerpt. * Prints additional content after the embed excerpt.
* *
* @since 4.4.0 * @since 4.4.0
*/ */
@ -103,7 +103,7 @@
<div class="wp-embed-meta"> <div class="wp-embed-meta">
<?php <?php
/** /**
* Print additional meta content in the embed template. * Prints additional meta content in the embed template.
* *
* @since 4.4.0 * @since 4.4.0
*/ */

View File

@ -11,7 +11,7 @@
*/ */
/** /**
* Print scripts or data before the closing body tag in the embed template. * Prints scripts or data before the closing body tag in the embed template.
* *
* @since 4.4.0 * @since 4.4.0
*/ */

View File

@ -22,7 +22,7 @@ if ( ! headers_sent() ) {
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<?php <?php
/** /**
* Print scripts or data in the embed template <head> tag. * Prints scripts or data in the embed template <head> tag.
* *
* @since 4.4.0 * @since 4.4.0
*/ */

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.6-alpha-37559'; $wp_version = '4.6-alpha-37560';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.