[wp-trac] [WordPress Trac] #21504: Not checking if apply_filters exists before calling it
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 9 02:09:56 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 nacin):
apply_filters() isn't the only dependency in wp-db.php that would need to
be checked. WP_Error, wp_debug_backtrace_summary(),
wp_load_translations_early(), `__`, WP_DEBUG, wp_die, and then some.
There's a class_exists() check on WP_Error but that's about it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21504#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list