From ac9f6594c40c39c088e83abd232677f4098a4f9b Mon Sep 17 00:00:00 2001 From: audrasjb Date: Fri, 2 Sep 2022 06:58:09 +0000 Subject: [PATCH] Docs: Use third-person singular verbs for various function descriptions, as per docblocks standards. This addresses various files modified in changeset [54062]. See #55646. Built from https://develop.svn.wordpress.org/trunk@54063 git-svn-id: http://core.svn.wordpress.org/trunk@53622 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-custom-background.php | 14 +++++++------- .../class-wp-plugin-install-list-table.php | 4 ++-- wp-admin/install.php | 2 +- wp-admin/options-reading.php | 2 +- wp-includes/media-template.php | 4 ++-- wp-includes/version.php | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) diff --git a/wp-admin/includes/class-custom-background.php b/wp-admin/includes/class-custom-background.php index f67105b0db..fa89e10e42 100644 --- a/wp-admin/includes/class-custom-background.php +++ b/wp-admin/includes/class-custom-background.php @@ -38,7 +38,7 @@ class Custom_Background { private $updated; /** - * Constructor - Register administration header callback. + * Constructor - Registers administration header callback. * * @since 3.0.0 * @param callable $admin_header_callback @@ -57,7 +57,7 @@ class Custom_Background { } /** - * Set up the hooks for the Custom Background admin page. + * Sets up the hooks for the Custom Background admin page. * * @since 3.0.0 */ @@ -77,7 +77,7 @@ class Custom_Background { } /** - * Set up the enqueue for the CSS & JavaScript files. + * Sets up the enqueue for the CSS & JavaScript files. * * @since 3.0.0 */ @@ -106,7 +106,7 @@ class Custom_Background { } /** - * Execute custom background modification. + * Executes custom background modification. * * @since 3.0.0 */ @@ -222,7 +222,7 @@ class Custom_Background { } /** - * Display the custom background page. + * Displays the custom background page. * * @since 3.0.0 */ @@ -480,7 +480,7 @@ class Custom_Background { } /** - * Handle an Image upload for the background image. + * Handles an Image upload for the background image. * * @since 3.0.0 */ @@ -537,7 +537,7 @@ class Custom_Background { } /** - * Ajax handler for adding custom background context to an attachment. + * Handles Ajax request for adding custom background context to an attachment. * * Triggers when the user adds a new background image from the * Media Manager. diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index 3c8dc1d2bb..c213b6675a 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -67,7 +67,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { } /** - * Return a list of slugs of installed plugins, if known. + * Returns a list of slugs of installed plugins, if known. * * Uses the transient data from the updates API to determine the slugs of * known installed plugins. This might be better elsewhere, perhaps even @@ -321,7 +321,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { } /** - * Override parent views so we can use the filter bar display. + * Overrides parent views so we can use the filter bar display. */ public function views() { $views = $this->get_views(); diff --git a/wp-admin/install.php b/wp-admin/install.php index 635113287d..1c59835bfb 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -80,7 +80,7 @@ function display_header( $body_classes = '' ) { } // End display_header(). /** - * Display installer setup form. + * Displays installer setup form. * * @since 2.8.0 * diff --git a/wp-admin/options-reading.php b/wp-admin/options-reading.php index cf3dd98e5b..929c528a0e 100644 --- a/wp-admin/options-reading.php +++ b/wp-admin/options-reading.php @@ -187,7 +187,7 @@ else :