@@ -1,5 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | -if ( ! defined( 'ABSPATH' ) ) exit; |
|
2 | +if ( ! defined( 'ABSPATH' ) ) { |
|
3 | + exit; |
|
4 | +} |
|
3 | 5 | |
4 | 6 | /** |
5 | 7 | * Backend settings page class, can have settings fields or data table |
@@ -103,7 +105,10 @@ discard block |
||
103 | 105 | //Set screen option |
104 | 106 | public function set_screen($status, $option, $value) { |
105 | 107 | |
106 | - if ( 'option_name_per_page' == $option ) return $value; // Related to PLUGIN_TABLE() |
|
108 | + if ( 'option_name_per_page' == $option ) { |
|
109 | + return $value; |
|
110 | + } |
|
111 | + // Related to PLUGIN_TABLE() |
|
107 | 112 | //return $status; |
108 | 113 | } |
109 | 114 |