@@ -144,8 +144,8 @@ |
||
| 144 | 144 | //Set screen option |
| 145 | 145 | public function set_screen($status, $option, $value) { |
| 146 | 146 | |
| 147 | - if ( 'post_per_page' == $option ) return $value; // Related to PLUGIN_TABLE() |
|
| 148 | - //return $status; |
|
| 147 | + if ( 'post_per_page' == $option ) return $value; // Related to PLUGIN_TABLE() |
|
| 148 | + //return $status; |
|
| 149 | 149 | } |
| 150 | 150 | |
| 151 | 151 | |
@@ -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 | |