WordPress.org

Ready to get started?Download WordPress

Forums

Word Filter Plus
Fix for WP 3.5 (1 post)

  1. Brian Brown, Ph.D.
    Member
    Posted 1 year ago #

    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 ) ;

    http://wordpress.org/extend/plugins/word-filter-plus/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by Brian Brown, Ph.D.
  • This topic is not resolved
  • WordPress version: 3.5

Tags

No tags yet.