Skip to content

Commit 857852f

Browse files
Twenty Ten: 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 [60505], [60507]. See #63692. git-svn-id: https://develop.svn.wordpress.org/trunk@60509 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 6cb276e commit 857852f

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*/
4242

4343
/*
44-
* Sets the content width based on the theme's design and stylesheet.
44+
* Set the content width based on the theme's design and stylesheet.
4545
*
4646
* Used to set the width of images and content. Should be equal to the width the theme
4747
* is designed for, generally via the style.css stylesheet.
@@ -55,7 +55,7 @@
5555

5656
if ( ! function_exists( 'twentyten_setup' ) ) :
5757
/**
58-
* Set up theme defaults and registers support for various WordPress features.
58+
* Sets up theme defaults and registers support for various WordPress features.
5959
*
6060
* Note that this function is hooked into the after_setup_theme hook, which runs
6161
* before the init hook. The init hook is too late for some features, such as indicating
@@ -267,7 +267,7 @@ function twentyten_setup() {
267267

268268
if ( ! function_exists( 'twentyten_admin_header_style' ) ) :
269269
/**
270-
* Style the header image displayed on the Appearance > Header admin panel.
270+
* Styles the header image displayed on the Appearance > Header admin panel.
271271
*
272272
* Referenced via add_custom_image_header() in twentyten_setup().
273273
*
@@ -293,7 +293,7 @@ function twentyten_admin_header_style() {
293293

294294
if ( ! function_exists( 'twentyten_header_image' ) ) :
295295
/**
296-
* Custom header image markup displayed.
296+
* Displays the custom header image markup.
297297
*
298298
* @since Twenty Ten 4.0
299299
*/
@@ -359,7 +359,7 @@ function twentyten_excerpt_length( $length ) {
359359

360360
if ( ! function_exists( 'twentyten_continue_reading_link' ) ) :
361361
/**
362-
* Return a "Continue Reading" link for excerpts.
362+
* Returns a "Continue Reading" link for excerpts.
363363
*
364364
* @since Twenty Ten 1.0
365365
*
@@ -371,7 +371,7 @@ function twentyten_continue_reading_link() {
371371
endif;
372372

373373
/**
374-
* Replace "[...]" with an ellipsis and twentyten_continue_reading_link().
374+
* Replaces "[...]" with an ellipsis and twentyten_continue_reading_link().
375375
*
376376
* "[...]" is appended to automatically generated excerpts.
377377
*
@@ -411,7 +411,7 @@ function twentyten_custom_excerpt_more( $output ) {
411411
add_filter( 'get_the_excerpt', 'twentyten_custom_excerpt_more' );
412412

413413
/**
414-
* Remove inline styles printed when the gallery shortcode is used.
414+
* Removes inline styles printed when the gallery shortcode is used.
415415
*
416416
* Galleries are styled by the theme in Twenty Ten's style.css. This is just
417417
* a simple filter call that tells WordPress to not use the default styles.
@@ -620,7 +620,7 @@ function twentyten_widgets_init() {
620620
add_action( 'widgets_init', 'twentyten_widgets_init' );
621621

622622
/**
623-
* Remove the default styles that are packaged with the Recent Comments widget.
623+
* Removes the default styles that are packaged with the Recent Comments widget.
624624
*
625625
* To override this in a child theme, remove the filter and optionally add your own
626626
* function tied to the widgets_init action hook.
@@ -638,7 +638,7 @@ function twentyten_remove_recent_comments_style() {
638638

639639
if ( ! function_exists( 'twentyten_posted_on' ) ) :
640640
/**
641-
* Print HTML with meta information for the current post-date/time and author.
641+
* Prints HTML with meta information for the current post-date/time and author.
642642
*
643643
* @since Twenty Ten 1.0
644644
*/
@@ -666,7 +666,7 @@ function twentyten_posted_on() {
666666

667667
if ( ! function_exists( 'twentyten_posted_in' ) ) :
668668
/**
669-
* Print HTML with meta information for the current post (category, tags and permalink).
669+
* Prints HTML with meta information for the current post (category, tags and permalink).
670670
*
671671
* @since Twenty Ten 1.0
672672
*/
@@ -794,7 +794,7 @@ function twentyten_register_block_patterns() {
794794

795795
if ( ! function_exists( 'wp_body_open' ) ) :
796796
/**
797-
* Fire the wp_body_open action.
797+
* Fires the wp_body_open action.
798798
*
799799
* Added for backward compatibility to support pre-5.2.0 WordPress versions.
800800
*

0 commit comments

Comments
 (0)