Fix for WP 3.5
-
The prepare() function has an added argument as of WP 3.5. Toi get this plugin to work with 3.5, add a dummy argument by changing line 141 in word-filter-plus.php
from
$word_filter_plus_replacements = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM " . $this->plugin_table_name . " ORDER BY id" ),
to:
$word_filter_plus_replacements = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM " . $this->plugin_table_name . " ORDER BY id", $a ), ARRAY_A ) ;
- The topic ‘Fix for WP 3.5’ is closed to new replies.