WordPress 3.5 and add_filter's priority
I wrote a function that reads “the_content” and replaces various items. I used to call that function using add_filter() with a priority of 1 so it was executed before any other plugin.
Since I upgraded to WordPress 3.5, it seems the priority is not respected anymore as this function actually duplicates some plugins appearance in “the_content” (for example gd star rating).
I tried to bypass that behaviour by using get_the_content(), apply my own filter then call apply_filters(‘the_content’, $content); afterwards but the behaviour is the same, plugins would be duplicated.
Surely I am missing something but I can’t figrue out what, any hint ?
- The topic ‘WordPress 3.5 and add_filter's priority’ is closed to new replies.