@@ -44,13 +44,13 @@ |
||
44 | 44 | global $wpdb; |
45 | 45 | $wpdb->hide_errors(); |
46 | 46 | $collate = ""; |
47 | - if ( $wpdb->has_cap( 'collation' ) ) { |
|
47 | + if ( $wpdb->has_cap( 'collation' ) ) { |
|
48 | 48 | if( ! empty($wpdb->charset ) ) |
49 | 49 | $collate .= "DEFAULT CHARACTER SET $wpdb->charset"; |
50 | 50 | if( ! empty($wpdb->collate ) ) |
51 | 51 | $collate .= " COLLATE $wpdb->collate"; |
52 | - } |
|
53 | - require_once( $this->up_path ); |
|
52 | + } |
|
53 | + require_once( $this->up_path ); |
|
54 | 54 | return $collate; |
55 | 55 | } |
56 | 56 |
@@ -19,7 +19,7 @@ |
||
19 | 19 | 'label' => '' |
20 | 20 | ), |
21 | 21 | ); |
22 | - */ |
|
22 | + */ |
|
23 | 23 | public $pluginPageLinks; |
24 | 24 | |
25 | 25 |
@@ -158,8 +158,8 @@ |
||
158 | 158 | //Set screen option |
159 | 159 | public function set_screen($status, $option, $value) { |
160 | 160 | |
161 | - if ( 'post_per_page' == $option ) return $value; // Related to PLUGIN_TABLE() |
|
162 | - //return $status; |
|
161 | + if ( 'post_per_page' == $option ) return $value; // Related to PLUGIN_TABLE() |
|
162 | + //return $status; |
|
163 | 163 | } |
164 | 164 | |
165 | 165 |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | global $wpdb; |
57 | 57 | |
58 | 58 | $result = $wpdb->get_results("SELECT * from {$wpdb->prefix}cgss_insight"); |
59 | - if(count($result) == 0) { |
|
59 | + if(count($result) == 0) { |
|
60 | 60 | |
61 | 61 | $init_insight = array( |
62 | 62 | __('Score','cgss'), |
@@ -149,8 +149,8 @@ discard block |
||
149 | 149 | public function helpers() { |
150 | 150 | |
151 | 151 | if ( ! class_exists( 'WP_List_Table' ) ) { |
152 | - require_once( ABSPATH . 'wp-admin/includes/screen.php' ); |
|
153 | - require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); |
|
152 | + require_once( ABSPATH . 'wp-admin/includes/screen.php' ); |
|
153 | + require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); |
|
154 | 154 | } |
155 | 155 | |
156 | 156 | require_once ('lib/table.php'); |