Make WordPress Core


Ignore:
Timestamp:
11/02/2019 08:09:35 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add missing @deprecated tags to PHP 4 constructors in pomo/entry.php and pomo/streams.php.

Props jrf.
Fixes #48252.

File:
1 edited

Legend:

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

    r43635 r46629  
    6666        /**
    6767         * PHP4 constructor.
     68         *
     69         * @deprecated 5.3.0 Use __construct() instead.
     70         *
     71         * @see Translation_Entry::__construct()
    6872         */
    6973        public function Translation_Entry( $args = array() ) {
     74            _deprecated_constructor( self::class, '5.3.0', static::class );
    7075            self::__construct( $args );
    7176        }
Note: See TracChangeset for help on using the changeset viewer.