Make WordPress Core


Ignore:
Timestamp:
11/09/2019 01:03:02 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Use the {@see ...} tag for the replacement in @deprecated tags, so that Developer Reference could automatically link to the replacement.

Props jrf.
See #48255.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/rest-api/class-wp-rest-server.php

    r46660 r46685  
    261261         *
    262262         * @since 4.4.0
    263          * @deprecated 4.7.0 Use the rest_authentication_errors filter to restrict access to the API
     263         * @deprecated 4.7.0 Use the {@see 'rest_authentication_errors'} filter to
     264         *                   restrict access to the API.
    264265         *
    265266         * @param bool $rest_enabled Whether the REST API is enabled. Default true.
Note: See TracChangeset for help on using the changeset viewer.