From f3a843e952c7a76f315ce14b4c610852a67c0afb Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 13 Nov 2023 11:13:27 +0000 Subject: [PATCH] Docs: Replace miscellaneous incorrect PHPDoc tags. * `@contrib` is not a valid tag. * `@origin` is not a valid tag. * `@ref` is not a valid tag. * `@blessed` is not a valid tag and doesn't convey any meaningful information. * `@issue` is not a valid tag. Reference: [https://developer.wordpress.org/coding-standards/inline-documentation-standards/php/#phpdoc-tags PHP Documentation Standards: PHPDoc Tags]. Follow-up to [8852], [34754], [38832], [43808]. Props jrf. See #59651. Built from https://develop.svn.wordpress.org/trunk@57108 git-svn-id: http://core.svn.wordpress.org/trunk@56619 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-filesystem-ssh2.php | 2 +- wp-content/themes/twentynineteen/inc/template-functions.php | 5 +++-- wp-includes/ms-functions.php | 2 -- wp-includes/version.php | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/wp-admin/includes/class-wp-filesystem-ssh2.php b/wp-admin/includes/class-wp-filesystem-ssh2.php index d68f1433d1..6979a92c2f 100644 --- a/wp-admin/includes/class-wp-filesystem-ssh2.php +++ b/wp-admin/includes/class-wp-filesystem-ssh2.php @@ -4,7 +4,7 @@ * * To use this class you must follow these steps for PHP 5.2.6+ * - * @contrib http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes + * {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes} * * Compile libssh2 (Note: Only 0.14 is officaly working with PHP 5.2.6+ right now, But many users have found the latest versions work) * diff --git a/wp-content/themes/twentynineteen/inc/template-functions.php b/wp-content/themes/twentynineteen/inc/template-functions.php index 536fbd3ee4..b8bb5d5c93 100644 --- a/wp-content/themes/twentynineteen/inc/template-functions.php +++ b/wp-content/themes/twentynineteen/inc/template-functions.php @@ -100,7 +100,7 @@ add_filter( 'get_the_archive_title', 'twentynineteen_get_the_archive_title' ); /** * Adds custom 'sizes' attribute to responsive image functionality for post thumbnails. * - * @origin Twenty Nineteen 1.0 + * @since Twenty Nineteen 1.0 * * @param string[] $attr Array of attribute values for the image markup, keyed by attribute name. * See wp_get_attachment_image(). @@ -163,7 +163,8 @@ add_filter( 'wp_nav_menu', 'twentynineteen_add_ellipses_to_nav', 10, 2 ); * Adjustments to menu attributes to support WCAG 2.0 recommendations * for flyout and dropdown menus. * - * @ref https://www.w3.org/WAI/tutorials/menus/flyout/ + * @link https://www.w3.org/WAI/tutorials/menus/flyout/ + * * @param array $atts { * The HTML attributes applied to the menu item's `` element, empty strings are ignored. * diff --git a/wp-includes/ms-functions.php b/wp-includes/ms-functions.php index 09ee2a5c53..913f22543f 100644 --- a/wp-includes/ms-functions.php +++ b/wp-includes/ms-functions.php @@ -2082,8 +2082,6 @@ function redirect_this_site( $deprecated = '' ) { * * @since MU (3.0.0) * - * @blessed - * * @param array $upload An array of information about the newly-uploaded file. * @return string|array If the upload is under the size limit, $upload is returned. Otherwise returns an error message. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 40f346f21f..12d03bbabb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57107'; +$wp_version = '6.5-alpha-57108'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.