Make WordPress Core


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

Docs: Correct version number in @deprecated tags for PHP 4 constructors in pomo/entry.php and pomo/streams.php.

Follow-up to [46629].

Props jrf.
See #48252.

File:
1 edited

Legend:

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

    r46629 r46631  
    2626         * PHP4 constructor.
    2727         *
    28          * @deprecated 5.3.0 Use __construct() instead.
     28         * @deprecated 5.4.0 Use __construct() instead.
    2929         *
    3030         * @see POMO_Reader::__construct()
    3131         */
    3232        public function POMO_Reader() {
    33             _deprecated_constructor( self::class, '5.3.0', static::class );
     33            _deprecated_constructor( self::class, '5.4.0', static::class );
    3434            self::__construct();
    3535        }
     
    157157         * PHP4 constructor.
    158158         *
    159          * @deprecated 5.3.0 Use __construct() instead.
     159         * @deprecated 5.4.0 Use __construct() instead.
    160160         *
    161161         * @see POMO_FileReader::__construct()
    162162         */
    163163        public function POMO_FileReader( $filename ) {
    164             _deprecated_constructor( self::class, '5.3.0', static::class );
     164            _deprecated_constructor( self::class, '5.4.0', static::class );
    165165            self::__construct( $filename );
    166166        }
     
    241241         * PHP4 constructor.
    242242         *
    243          * @deprecated 5.3.0 Use __construct() instead.
     243         * @deprecated 5.4.0 Use __construct() instead.
    244244         *
    245245         * @see POMO_StringReader::__construct()
    246246         */
    247247        public function POMO_StringReader( $str = '' ) {
    248             _deprecated_constructor( self::class, '5.3.0', static::class );
     248            _deprecated_constructor( self::class, '5.4.0', static::class );
    249249            self::__construct( $str );
    250250        }
     
    312312         * PHP4 constructor.
    313313         *
    314          * @deprecated 5.3.0 Use __construct() instead.
     314         * @deprecated 5.4.0 Use __construct() instead.
    315315         *
    316316         * @see POMO_CachedFileReader::__construct()
    317317         */
    318318        public function POMO_CachedFileReader( $filename ) {
    319             _deprecated_constructor( self::class, '5.3.0', static::class );
     319            _deprecated_constructor( self::class, '5.4.0', static::class );
    320320            self::__construct( $filename );
    321321        }
     
    338338         * PHP4 constructor.
    339339         *
    340          * @deprecated 5.3.0 Use __construct() instead.
     340         * @deprecated 5.4.0 Use __construct() instead.
    341341         *
    342342         * @see POMO_CachedIntFileReader::__construct()
    343343         */
    344344        function POMO_CachedIntFileReader( $filename ) {
    345             _deprecated_constructor( self::class, '5.3.0', static::class );
     345            _deprecated_constructor( self::class, '5.4.0', static::class );
    346346            self::__construct( $filename );
    347347        }
Note: See TracChangeset for help on using the changeset viewer.