[wp-trac] [WordPress Trac] #22400: Remove all, or at least most, uses of extract() within WordPress

WordPress Trac noreply at wordpress.org
Sun May 18 09:55:00 UTC 2014


#22400: Remove all, or at least most, uses of extract() within WordPress
-------------------------------------------------+-------------------------
 Reporter:  Viper007Bond                         |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  4.0
Component:  General                              |     Version:  3.4.2
 Severity:  normal                               |  Resolution:
 Keywords:  westi-likes needs-testing has-patch  |     Focuses:
  needs-unit-tests                               |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 `wp_insert_link()` is broken since [28406]/[28408]:
 {{{
 Notice: wpdb::prepare was called incorrectly. The query argument of
 wpdb::prepare() must have a placeholder. Please see Debugging in WordPress
 for more information. (This message was added in version 3.9.) in wp-
 includes/functions.php on line 3247

 WordPress database error: [You have an error in your SQL syntax; check the
 manual that corresponds to your MySQL server version for the right syntax
 to use near 'WHERE' at line 1]
 UPDATE `trunk_links` SET WHERE
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22400#comment:126>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list