mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@57108 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
00791300b3
commit
cfecc5cde5
@ -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)
|
||||
*
|
||||
|
||||
@ -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 `<a>` element, empty strings are ignored.
|
||||
*
|
||||
|
||||
@ -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.
|
||||
*/
|
||||
|
||||
@ -256,7 +256,7 @@ class WP_Test_REST_Posts_Controller extends WP_Test_REST_Post_Type_Controller_Te
|
||||
/**
|
||||
* A valid query that returns 0 results should return an empty JSON list.
|
||||
*
|
||||
* @issue 862
|
||||
* @link https://github.com/WP-API/WP-API/issues/862
|
||||
*/
|
||||
public function test_get_items_empty_query() {
|
||||
$request = new WP_REST_Request( 'GET', '/wp/v2/posts' );
|
||||
|
||||
Loading…
Reference in New Issue
Block a user