WordPress 3.5 and add_filter's priority (2 posts)

  1. iMil
    Posted 3 years ago #


    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 ?

  2. iMil
    Posted 3 years ago #

    It appears that it's RPS include content who's duplicating entries...

Topic Closed

This topic has been closed to new replies.

About this Topic