Q2W3 Post Order
[resolved] Heads Up - minor coding issue with WP 3.5 (3 posts)

  1. AITpro
    Posted 3 years ago #

    I was getting these php warning errors repetitively in my php error log with WP 3.5 Beta3. They are not a big deal, but i just wanted to give you a heads up that WP is now checking $wpdb->prepare escaping for syntax accuracy and will now generate php errors if the prepare method syntax does not appear to be valid to WP. For now i just suppressed $wpdb->prepare on code line 1098 to stop the php errors. ;)

    $sql = @$wpdb->prepare($sql);

    [14-Nov-2012 14:50:35] PHP Warning:  Missing argument 2 for wpdb::prepare(), called in /home/content/xxxxx/html/wordpress-testing-website/wp-content/plugins/q2w3-post-order/q2w3-post-order.php on line 1098 and defined in /home/content/xxxxx/html/wordpress-testing-website/wp-includes/wp-db.php on line 990


  2. Max Bond
    Plugin Author

    Posted 3 years ago #

    Thanks for report!
    No more warnings in ver 1.2.5

  3. AITpro
    Posted 3 years ago #

    Thanks Max. Had a few DB queries to fix myself. ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Q2W3 Post Order
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.