From b0cdad744bdc2173b971371920e8ca8fb679cfbc Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 3 Nov 2019 10:54:39 +0000 Subject: [PATCH] General: Wrap the error message in `_deprecated_constructor()` in `` tags instead of `
`.

Props aftabmuni.
Fixes #48483.

git-svn-id: https://develop.svn.wordpress.org/trunk@46633 602fd350-edb4-49c9-b593-d223f7449a82
---
 src/wp-includes/functions.php | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php
index 7ef5b63f6f..47ee58a3ad 100644
--- a/src/wp-includes/functions.php
+++ b/src/wp-includes/functions.php
@@ -4676,7 +4676,7 @@ function _deprecated_constructor( $class, $version, $parent_class = '' ) {
 						$class,
 						$parent_class,
 						$version,
-						'
__construct()
' + '__construct()' ), E_USER_DEPRECATED ); @@ -4687,7 +4687,7 @@ function _deprecated_constructor( $class, $version, $parent_class = '' ) { __( 'The called constructor method for %1$s is deprecated since version %2$s! Use %3$s instead.' ), $class, $version, - '
__construct()
' + '__construct()' ), E_USER_DEPRECATED ); @@ -4700,7 +4700,7 @@ function _deprecated_constructor( $class, $version, $parent_class = '' ) { $class, $parent_class, $version, - '
__construct()
' + '__construct()' ), E_USER_DEPRECATED ); @@ -4710,7 +4710,7 @@ function _deprecated_constructor( $class, $version, $parent_class = '' ) { 'The called constructor method for %1$s is deprecated since version %2$s! Use %3$s instead.', $class, $version, - '
__construct()
' + '__construct()' ), E_USER_DEPRECATED );