Remove deprecated constructor notice.

Since Twenty Eleven can be used with WordPress releases prior to 4.3, it can't
contain calls to functions that were introduced after its initial release.

Props ocean90.
Fixes #32881.


Built from https://develop.svn.wordpress.org/trunk@33086


git-svn-id: http://core.svn.wordpress.org/trunk@33057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Konstantin Obenland 2015-07-04 20:43:25 +00:00
parent cc43eae995
commit 72ae151dfd
2 changed files with 1 additions and 2 deletions

View File

@ -35,7 +35,6 @@ class Twenty_Eleven_Ephemera_Widget extends WP_Widget {
* @since Twenty Eleven 1.0 * @since Twenty Eleven 1.0
*/ */
function Twenty_Eleven_Ephemera_Widget() { function Twenty_Eleven_Ephemera_Widget() {
_deprecated_constructor( 'Twenty_Eleven_Ephemera_Widget', '4.3.0' );
self::__construct(); self::__construct();
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-beta1-33085'; $wp_version = '4.3-beta1-33086';
/** /**
* 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.