Support » Plugin: All in One SEO Pack » Broken filter for SEO Description after update AIOSEOP to 2.4.4 from 2.4.3.1

  • Resolved Grigory Volochy

    (@grigory-volochiy)


    Hello.

    I use “All In One SEO” plugin filter for SEO Description on my site.

    And after update this plugin from version 2.4.3.1 to 2.4.4 I figured out the filter does not work in my code any more.

    I compared code of version 2.4.3.1 with code of version 2.4.4 and noticed that now the filter is applied in another function. And looks like there is a mistake with placing the filter:

    In version 2.4.3.1 the filter ‘aioseop_description’ was applied here https://prnt.sc/i2dlow in aioseop_class.php file.

    And now in version 2.4.4 it is applied here https://prnt.sc/i2dn8y in the same aioseop_class.php file. The issue is that filter is applied withing “if” operator, thus it does not work for all SEO descriptions, and only for those, which satisfy the condition. And also, there is two other places in the same function which return description before the filter (so, it does not work for them).

    I moved that filter to its previous place and now filter works for me. The problem is that now I can’t have further updates of this plugin since they will remove my changes and the filter will stop to work for me again.

    I would really appreciate if you can fix this issue, so I can use that filter in further and can have further updates.

    I checked all changes from version 2.4.3.1 to 2.4.4 and can’t see the reason of moving that filter to new place, but this has broken it for me. In any case that filter is very helpful. So, please, leave it working for all SEO descriptions as was, if possible.

    Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.