Docs: Correct @see references for PHP 4 constructors in wp-includes/class-json.php.

See #48252, #48303.

git-svn-id: https://develop.svn.wordpress.org/trunk@46630 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2019-11-02 20:11:20 +00:00
parent 168bb48084
commit d3f486ed3f

View File

@ -159,7 +159,7 @@ class Services_JSON
*
* @deprecated 5.3.0 Use __construct() instead.
*
* @see __construct()
* @see Services_JSON::__construct()
*/
public function Services_JSON( $use = 0 ) {
_deprecated_constructor( 'Services_JSON', '5.3.0', get_class( $this ) );
@ -991,7 +991,7 @@ if (class_exists('PEAR_Error')) {
*
* @deprecated 5.3.0 Use __construct() instead.
*
* @see __construct()
* @see Services_JSON_Error::__construct()
*/
public function Services_JSON_Error($message = 'unknown error', $code = null,
$mode = null, $options = null, $userinfo = null) {
@ -1023,7 +1023,7 @@ if (class_exists('PEAR_Error')) {
*
* @deprecated 5.3.0 Use __construct() instead.
*
* @see __construct()
* @see Services_JSON_Error::__construct()
*/
public function Services_JSON_Error( $message = 'unknown error', $code = null,
$mode = null, $options = null, $userinfo = null ) {