Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #60835, comment 62


Ignore:
Timestamp:
06/26/2024 07:21:04 PM (20 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60835, comment 62

    v2 v3  
    1515Another bug is that the solution to #60652 (possible infinite loop) in not-good-enough as found by the reviews there. This ticket was started as a fix for that.
    1616
    17 Yet another bug here is that [57868] introduces an anti-pattern to WP, a filter is run in the callback to another filter. This causes several problems including a possibility for infinite loop and possibility for plugins to completely remove the "nested" filter. It is more of a "code architecture" bug but I think it has major drawbacks and such code should never exist in WP.
     17Yet another bug here is that [57868] introduces an anti-pattern to WP, a filter is run in the callback to another filter. This causes several problems including a possibility for infinite loop and possibility for plugins to completely remove the "nested" filter. A plugin removing a filter that is a part of an API in WP is not acceptable imho. This is more of a "code architecture" bug but I think it has major drawbacks and such code should never exist in WP.