Make WordPress Core


Ignore:
Timestamp:
05/02/2016 03:59:56 AM (7 years ago)
Author:
DrewAPicture
Message:

Docs: Remove inline @see tags from function, class, and method references in inline docs.

Known functions, classes, and methods are now auto-linked in Code Reference pages following #meta1483.

Note: Hook references are still linked via inline @see tags due to the unlikelihood of reliably matching for known hooks based on a RegEx pattern.

See #32246.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/functions.php

    r37296 r37342  
    15371537 * Retrieves unvalidated referer from '_wp_http_referer' or HTTP referer.
    15381538 *
    1539  * Do not use for redirects, use {@see wp_get_referer()} instead.
     1539 * Do not use for redirects, use wp_get_referer() instead.
    15401540 *
    15411541 * @since 4.5.0
     
    25322532 *              an integer to be used as the response code.
    25332533 *
    2534  * @param string|WP_Error  $message Optional. Error message. If this is a {@see WP_Error} object,
     2534 * @param string|WP_Error  $message Optional. Error message. If this is a WP_Error object,
    25352535 *                                  the error's messages are used. Default empty.
    25362536 * @param string|int       $title   Optional. Error title. If `$message` is a `WP_Error` object,
     
    25462546 *     @type string $text_direction The text direction. This is only useful internally, when WordPress
    25472547 *                                  is still loading and the site's locale is not set up yet. Accepts 'rtl'.
    2548  *                                  Default is the value of {@see is_rtl()}.
     2548 *                                  Default is the value of is_rtl().
    25492549 * }
    25502550 */
     
    30733073 * Send a JSON response back to an Ajax request, indicating failure.
    30743074 *
    3075  * If the `$data` parameter is a {@see WP_Error} object, the errors
     3075 * If the `$data` parameter is a WP_Error object, the errors
    30763076 * within the object are processed and output as an array of error
    30773077 * codes and corresponding messages. All other types are output
     
    30793079 *
    30803080 * @since 3.5.0
    3081  * @since 4.1.0 The `$data` parameter is now processed if a {@see WP_Error}
    3082  *              object is passed in.
     3081 * @since 4.1.0 The `$data` parameter is now processed if a WP_Error object is passed in.
    30833082 *
    30843083 * @param mixed $data Data to encode as JSON, then print and die.
Note: See TracChangeset for help on using the changeset viewer.