Skip to content

Commit 59d8205

Browse files
Twenty Twelve: Use third-person singular verbs for some more function descriptions.
Reference: [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#documenting-tips PHP Documentation Standards: Documenting Tips]. Follow-up to [60508]. See #63692. git-svn-id: https://develop.svn.wordpress.org/trunk@60514 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6e35a5f commit 59d8205

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/wp-content/themes/twentytwelve/functions.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ function twentytwelve_entry_meta() {
567567
endif;
568568

569569
/**
570-
* Extend the default WordPress body classes.
570+
* Extends the default WordPress body classes.
571571
*
572572
* Extends the default WordPress body class to denote:
573573
* 1. Using a full-width layout, when no active widgets in the sidebar
@@ -623,7 +623,7 @@ function twentytwelve_body_class( $classes ) {
623623
add_filter( 'body_class', 'twentytwelve_body_class' );
624624

625625
/**
626-
* Adjust content width in certain contexts.
626+
* Adjusts content width in certain contexts.
627627
*
628628
* Adjusts content_width value for full-width and single image attachment
629629
* templates, and when there are no active widgets in the sidebar.
@@ -674,7 +674,7 @@ function twentytwelve_customize_register( $wp_customize ) {
674674
add_action( 'customize_register', 'twentytwelve_customize_register' );
675675

676676
/**
677-
* Render the site title for the selective refresh partial.
677+
* Renders the site title for the selective refresh partial.
678678
*
679679
* @since Twenty Twelve 2.0
680680
*
@@ -687,7 +687,7 @@ function twentytwelve_customize_partial_blogname() {
687687
}
688688

689689
/**
690-
* Render the site tagline for the selective refresh partial.
690+
* Renders the site tagline for the selective refresh partial.
691691
*
692692
* @since Twenty Twelve 2.0
693693
*
@@ -732,7 +732,7 @@ function twentytwelve_widget_tag_cloud_args( $args ) {
732732

733733
if ( ! function_exists( 'wp_body_open' ) ) :
734734
/**
735-
* Fire the wp_body_open action.
735+
* Fires the wp_body_open action.
736736
*
737737
* Added for backward compatibility to support pre-5.2.0 WordPress versions.
738738
*

src/wp-content/themes/twentytwelve/inc/custom-header.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function twentytwelve_custom_header_setup() {
4848
add_action( 'after_setup_theme', 'twentytwelve_custom_header_setup' );
4949

5050
/**
51-
* Load our special font CSS file.
51+
* Loads our special font CSS file.
5252
*
5353
* @since Twenty Twelve 1.2
5454
*/
@@ -61,7 +61,7 @@ function twentytwelve_custom_header_fonts() {
6161
add_action( 'admin_print_styles-appearance_page_custom-header', 'twentytwelve_custom_header_fonts' );
6262

6363
/**
64-
* Style the header text displayed on the blog.
64+
* Styles the header text displayed on the blog.
6565
*
6666
* get_header_textcolor() options: 515151 is default, hide text (returns 'blank'), or any hex value.
6767
*
@@ -101,7 +101,7 @@ function twentytwelve_header_style() {
101101
}
102102

103103
/**
104-
* Style the header image displayed on the Appearance > Header admin panel.
104+
* Styles the header image displayed on the Appearance > Header admin panel.
105105
*
106106
* @since Twenty Twelve 1.0
107107
*/
@@ -141,7 +141,7 @@ function twentytwelve_admin_header_style() {
141141
}
142142

143143
/**
144-
* Output markup to be displayed on the Appearance > Header admin panel.
144+
* Outputs markup to be displayed on the Appearance > Header admin panel.
145145
*
146146
* This callback overrides the default markup displayed there.
147147
*
@@ -168,7 +168,7 @@ function twentytwelve_admin_header_image() {
168168

169169

170170
/**
171-
* Output markup to be displayed.
171+
* Outputs markup to be displayed.
172172
*
173173
* @since Twenty Twelve 4.1
174174
*/

0 commit comments

Comments
 (0)