File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,8 @@ public function update_db_procedure_to_0_7_0() {
106
106
107
107
// Check if the 'modified' column exists, if not add it
108
108
$ sql_check_modified = $ wpdb ->prepare (
109
- "SHOW COLUMNS FROM ` {$ table_blacklist }` LIKE %s " ,
109
+ "SHOW COLUMNS FROM %s LIKE %s " ,
110
+ $ table_blacklist ,
110
111
'modified '
111
112
);
112
113
if ( ! $ wpdb ->get_var ( $ sql_check_modified ) ) {
@@ -125,7 +126,8 @@ public function update_db_procedure_to_0_7_0() {
125
126
126
127
// Check if the 'created' column exists, if not add it
127
128
$ sql_check_created = $ wpdb ->prepare (
128
- "SHOW COLUMNS FROM ` {$ table_blacklist }` LIKE %s " ,
129
+ "SHOW COLUMNS FROM %s LIKE %s " ,
130
+ $ table_blacklist ,
129
131
'created '
130
132
);
131
133
if ( ! $ wpdb ->get_var ( $ sql_check_created ) ) {
You can’t perform that action at this time.
0 commit comments