Skip to content

Commit

Permalink
Remove PHP4 constructor from Screen Options class
Browse files Browse the repository at this point in the history
For better PHP7+ compat.
  • Loading branch information
mjangda committed Jul 26, 2016
1 parent 625c9ee commit 10bbad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/php/screen-options.php
Expand Up @@ -23,7 +23,7 @@ class wsScreenOptions10 {
*
* @return void
*/
function wsScreenOptions10(){
function __construct(){
$this->registered_panels = array();
$this->page_panels = array();

Expand Down

1 comment on commit 10bbad8

@jerclarke
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

Please sign in to comment.