Make WordPress Core

Changeset 57108


Ignore:
Timestamp:
11/13/2023 11:11:54 AM (15 months ago)
Author:
SergeyBiryukov
Message:

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: PHP Documentation Standards: PHPDoc Tags.

Follow-up to [8852], [34754], [38832], [43808].

Props jrf.
See #59651.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php

    r56111 r57108  
    55 * To use this class you must follow these steps for PHP 5.2.6+
    66 *
    7  * @contrib http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes
     7 * {@link http://kevin.vanzonneveld.net/techblog/article/make_ssh_connections_with_php/ - Installation Notes}
    88 *
    99 * 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)
  • trunk/src/wp-content/themes/twentynineteen/inc/template-functions.php

    r56057 r57108  
    101101 * Adds custom 'sizes' attribute to responsive image functionality for post thumbnails.
    102102 *
    103  * @origin Twenty Nineteen 1.0
     103 * @since Twenty Nineteen 1.0
    104104 *
    105105 * @param string[] $attr Array of attribute values for the image markup, keyed by attribute name.
     
    164164 * for flyout and dropdown menus.
    165165 *
    166  * @ref https://www.w3.org/WAI/tutorials/menus/flyout/
     166 * @link https://www.w3.org/WAI/tutorials/menus/flyout/
     167 *
    167168 * @param array   $atts {
    168169 *     The HTML attributes applied to the menu item's `<a>` element, empty strings are ignored.
  • trunk/src/wp-includes/ms-functions.php

    r56192 r57108  
    20832083 * @since MU (3.0.0)
    20842084 *
    2085  * @blessed
    2086  *
    20872085 * @param array $upload An array of information about the newly-uploaded file.
    20882086 * @return string|array If the upload is under the size limit, $upload is returned. Otherwise returns an error message.
  • trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php

    r56559 r57108  
    257257     * A valid query that returns 0 results should return an empty JSON list.
    258258     *
    259      * @issue 862
     259     * @link https://github.com/WP-API/WP-API/issues/862
    260260     */
    261261    public function test_get_items_empty_query() {
Note: See TracChangeset for help on using the changeset viewer.