[wp-trac] [WordPress Trac] #21504: Not checking if apply_filters exists before calling it

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 7 19:23:05 UTC 2012


#21504: Not checking if apply_filters exists before calling it
--------------------------------------------+--------------------
 Reporter:  jdkoelsch                       |       Owner:
     Type:  defect (bug)                    |      Status:  new
 Priority:  normal                          |   Milestone:  3.5
Component:  Database                        |     Version:  3.4.1
 Severity:  normal                          |  Resolution:
 Keywords:  dev-feedback reporter-feedback  |
--------------------------------------------+--------------------

Comment (by snburkett):

 I would like to second scribu's comment.  We have some standalone helper
 apps that feed data into the same database that our Wordpress plugin
 accesses.  We have some shared utility functions and it is convenient to
 use the wpdb object, but we prefer not to load all of Wordpress to do so.
 So far, we have had good luck just including wp-db.php and this is the
 only real obstacle to continuing to do so.  I know other users are doing
 similar things so I hope you'll continue to support this mode of use.

 Thanks!
 Steven

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21504#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list