#30662 closed defect (bug) (wontfix)
verify if $the_['function'] is not an empty string ""
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Plugins | Keywords: | |
| Focuses: | Cc: |
Description (last modified by )
Fix for the error on line 214 because $the_['function'] was an empty string ""
Attachments (2)
Change History (7)
#3
@
11 years ago
In general, I think we should leave this in place so that Developers are made aware of their error.
it's unwise to pass dynamic strings to add_filter/add_action, as it can have security implications as well.
Can you track down why the filter has an empty string as the function callback instead perhaps?
Note: See
TracTickets for help on using
tickets.
Could you please attach an SVN patch rather than a PHP file?
See http://make.wordpress.org/core/handbook/submitting-a-patch/.
Steps to reproduce the issue would also be helpful.