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. Built from https://develop.svn.wordpress.org/trunk@46631 git-svn-id: http://core.svn.wordpress.org/trunk@46431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
85db3b5090
commit
6cd00d098e
|
@ -66,12 +66,12 @@ if ( ! class_exists( 'Translation_Entry', false ) ) :
|
||||||
/**
|
/**
|
||||||
* PHP4 constructor.
|
* PHP4 constructor.
|
||||||
*
|
*
|
||||||
* @deprecated 5.3.0 Use __construct() instead.
|
* @deprecated 5.4.0 Use __construct() instead.
|
||||||
*
|
*
|
||||||
* @see Translation_Entry::__construct()
|
* @see Translation_Entry::__construct()
|
||||||
*/
|
*/
|
||||||
public function Translation_Entry( $args = array() ) {
|
public function Translation_Entry( $args = array() ) {
|
||||||
_deprecated_constructor( self::class, '5.3.0', static::class );
|
_deprecated_constructor( self::class, '5.4.0', static::class );
|
||||||
self::__construct( $args );
|
self::__construct( $args );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -25,12 +25,12 @@ if ( ! class_exists( 'POMO_Reader', false ) ) :
|
||||||
/**
|
/**
|
||||||
* PHP4 constructor.
|
* PHP4 constructor.
|
||||||
*
|
*
|
||||||
* @deprecated 5.3.0 Use __construct() instead.
|
* @deprecated 5.4.0 Use __construct() instead.
|
||||||
*
|
*
|
||||||
* @see POMO_Reader::__construct()
|
* @see POMO_Reader::__construct()
|
||||||
*/
|
*/
|
||||||
public function POMO_Reader() {
|
public function POMO_Reader() {
|
||||||
_deprecated_constructor( self::class, '5.3.0', static::class );
|
_deprecated_constructor( self::class, '5.4.0', static::class );
|
||||||
self::__construct();
|
self::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -156,12 +156,12 @@ if ( ! class_exists( 'POMO_FileReader', false ) ) :
|
||||||
/**
|
/**
|
||||||
* PHP4 constructor.
|
* PHP4 constructor.
|
||||||
*
|
*
|
||||||
* @deprecated 5.3.0 Use __construct() instead.
|
* @deprecated 5.4.0 Use __construct() instead.
|
||||||
*
|
*
|
||||||
* @see POMO_FileReader::__construct()
|
* @see POMO_FileReader::__construct()
|
||||||
*/
|
*/
|
||||||
public function POMO_FileReader( $filename ) {
|
public function POMO_FileReader( $filename ) {
|
||||||
_deprecated_constructor( self::class, '5.3.0', static::class );
|
_deprecated_constructor( self::class, '5.4.0', static::class );
|
||||||
self::__construct( $filename );
|
self::__construct( $filename );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -240,12 +240,12 @@ if ( ! class_exists( 'POMO_StringReader', false ) ) :
|
||||||
/**
|
/**
|
||||||
* PHP4 constructor.
|
* PHP4 constructor.
|
||||||
*
|
*
|
||||||
* @deprecated 5.3.0 Use __construct() instead.
|
* @deprecated 5.4.0 Use __construct() instead.
|
||||||
*
|
*
|
||||||
* @see POMO_StringReader::__construct()
|
* @see POMO_StringReader::__construct()
|
||||||
*/
|
*/
|
||||||
public function POMO_StringReader( $str = '' ) {
|
public function POMO_StringReader( $str = '' ) {
|
||||||
_deprecated_constructor( self::class, '5.3.0', static::class );
|
_deprecated_constructor( self::class, '5.4.0', static::class );
|
||||||
self::__construct( $str );
|
self::__construct( $str );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -311,12 +311,12 @@ if ( ! class_exists( 'POMO_CachedFileReader', false ) ) :
|
||||||
/**
|
/**
|
||||||
* PHP4 constructor.
|
* PHP4 constructor.
|
||||||
*
|
*
|
||||||
* @deprecated 5.3.0 Use __construct() instead.
|
* @deprecated 5.4.0 Use __construct() instead.
|
||||||
*
|
*
|
||||||
* @see POMO_CachedFileReader::__construct()
|
* @see POMO_CachedFileReader::__construct()
|
||||||
*/
|
*/
|
||||||
public function POMO_CachedFileReader( $filename ) {
|
public function POMO_CachedFileReader( $filename ) {
|
||||||
_deprecated_constructor( self::class, '5.3.0', static::class );
|
_deprecated_constructor( self::class, '5.4.0', static::class );
|
||||||
self::__construct( $filename );
|
self::__construct( $filename );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -337,12 +337,12 @@ if ( ! class_exists( 'POMO_CachedIntFileReader', false ) ) :
|
||||||
/**
|
/**
|
||||||
* PHP4 constructor.
|
* PHP4 constructor.
|
||||||
*
|
*
|
||||||
* @deprecated 5.3.0 Use __construct() instead.
|
* @deprecated 5.4.0 Use __construct() instead.
|
||||||
*
|
*
|
||||||
* @see POMO_CachedIntFileReader::__construct()
|
* @see POMO_CachedIntFileReader::__construct()
|
||||||
*/
|
*/
|
||||||
function POMO_CachedIntFileReader( $filename ) {
|
function POMO_CachedIntFileReader( $filename ) {
|
||||||
_deprecated_constructor( self::class, '5.3.0', static::class );
|
_deprecated_constructor( self::class, '5.4.0', static::class );
|
||||||
self::__construct( $filename );
|
self::__construct( $filename );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.4-alpha-46630';
|
$wp_version = '5.4-alpha-46631';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue