Skip to content

Commit

Permalink
Remove deprecated constructor notice.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
obenland committed Jul 4, 2015
1 parent cc43eae commit 72ae151
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion wp-content/themes/twentyeleven/inc/widgets.php
Expand Up @@ -35,7 +35,6 @@ function __construct() {
* @since Twenty Eleven 1.0
*/
function Twenty_Eleven_Ephemera_Widget() {
_deprecated_constructor( 'Twenty_Eleven_Ephemera_Widget', '4.3.0' );
self::__construct();
}

Expand Down
2 changes: 1 addition & 1 deletion wp-includes/version.php
Expand Up @@ -4,7 +4,7 @@
*
* @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.
Expand Down

0 comments on commit 72ae151

Please sign in to comment.