You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this is a syntactically correct use of apply_filters() http://codex.wordpress.org/Function_Reference/apply_filters What are you trying to do here? Are you trying to get some portion of WP to load? Or some subset of WP's default filters to be applied?
FWIW, you might not have seen this on your own installation because you aren't running any other plugins. Lots of things hook to 'init', so in a real life situation there could be conflicts.
The text was updated successfully, but these errors were encountered:
I think this should go into a broader bucket of issues related to how TeiDom gets built, and calls for much smarter use of WP filters during that process.
I think that, at least in this case, the problem may relate to the fact that
@apply_filters( 'init' );
is not proper syntax. (I think the @-sign only serves to suppress the error messages in testing environments.) See http://codex.wordpress.org/Function_Reference/apply_filters
Imported from Trac ticket #119 reported by boonebgorges on 2011-03-12:
Hey Patrick -
On the latest revs of the 0.5 branch, I'm finding that I can't output anything (I get white screens, with - strangely - nothing in my error log). I traced it to
https://github.com/chnm/anthologize/blob/0.5-branch/includes/class-tei-dom.php#L32
as applied in
f1c6272
I don't think this is a syntactically correct use of apply_filters() http://codex.wordpress.org/Function_Reference/apply_filters What are you trying to do here? Are you trying to get some portion of WP to load? Or some subset of WP's default filters to be applied?
FWIW, you might not have seen this on your own installation because you aren't running any other plugins. Lots of things hook to 'init', so in a real life situation there could be conflicts.
The text was updated successfully, but these errors were encountered: