mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
General: Wrap the error message in _deprecated_constructor()
in <code>
tags instead of <pre>
.
Props aftabmuni. Fixes #48483. Built from https://develop.svn.wordpress.org/trunk@46633 git-svn-id: http://core.svn.wordpress.org/trunk@46433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
24650cbd68
commit
265bc4fe74
@ -4676,7 +4676,7 @@ function _deprecated_constructor( $class, $version, $parent_class = '' ) {
|
|||||||
$class,
|
$class,
|
||||||
$parent_class,
|
$parent_class,
|
||||||
$version,
|
$version,
|
||||||
'<pre>__construct()</pre>'
|
'<code>__construct()</code>'
|
||||||
),
|
),
|
||||||
E_USER_DEPRECATED
|
E_USER_DEPRECATED
|
||||||
);
|
);
|
||||||
@ -4687,7 +4687,7 @@ function _deprecated_constructor( $class, $version, $parent_class = '' ) {
|
|||||||
__( 'The called constructor method for %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ),
|
__( 'The called constructor method for %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.' ),
|
||||||
$class,
|
$class,
|
||||||
$version,
|
$version,
|
||||||
'<pre>__construct()</pre>'
|
'<code>__construct()</code>'
|
||||||
),
|
),
|
||||||
E_USER_DEPRECATED
|
E_USER_DEPRECATED
|
||||||
);
|
);
|
||||||
@ -4700,7 +4700,7 @@ function _deprecated_constructor( $class, $version, $parent_class = '' ) {
|
|||||||
$class,
|
$class,
|
||||||
$parent_class,
|
$parent_class,
|
||||||
$version,
|
$version,
|
||||||
'<pre>__construct()</pre>'
|
'<code>__construct()</code>'
|
||||||
),
|
),
|
||||||
E_USER_DEPRECATED
|
E_USER_DEPRECATED
|
||||||
);
|
);
|
||||||
@ -4710,7 +4710,7 @@ function _deprecated_constructor( $class, $version, $parent_class = '' ) {
|
|||||||
'The called constructor method for %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.',
|
'The called constructor method for %1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.',
|
||||||
$class,
|
$class,
|
||||||
$version,
|
$version,
|
||||||
'<pre>__construct()</pre>'
|
'<code>__construct()</code>'
|
||||||
),
|
),
|
||||||
E_USER_DEPRECATED
|
E_USER_DEPRECATED
|
||||||
);
|
);
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.4-alpha-46632';
|
$wp_version = '5.4-alpha-46633';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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
Block a user