[buddypress-trac] [BuddyPress] #4654: incorrect usage of $wpdb->prepare()

buddypress-trac noreply at wordpress.org
Mon Nov 19 20:42:58 UTC 2012


#4654: incorrect usage of $wpdb->prepare()
----------------------------+------------------
 Reporter:  anointed        |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  1.7
Component:  All Components  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+------------------

Comment (by nexia):

 Warning: Missing argument 2 for wpdb::prepare(), called in
 /home/nexialys/public_html/core/wp-content/plugins/buddypress/bp-core/bp-
 core-functions.php on line 176 and defined in
 /home/nexialys/public_html/core/wp-includes/wp-db.php on line 990

 Warning: Missing argument 2 for wpdb::prepare(), called in
 /home/nexialys/public_html/core/wp-content/plugins/buddypress/bp-core/bp-
 core-options.php on line 296 and defined in
 /home/nexialys/public_html/core/wp-includes/wp-db.php on line 990

 Warning: Missing argument 2 for wpdb::prepare(), called in
 /home/nexialys/public_html/core/wp-content/plugins/buddypress/bp-
 core/admin/bp-core-functions.php on line 217 and defined in
 /home/nexialys/public_html/core/wp-includes/wp-db.php on line 990


 ########

 btw, just add $args = '' in the proper line 990 in wp-db.php would avoid
 all these alerts with no problem...

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4654#comment:20>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list