Changes between Initial Version and Version 1 of Ticket #27208, comment 7
- Timestamp:
- 03/04/2014 01:28:42 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27208, comment 7
initial v1 46 46 47 47 As you can see in the above, things would be more sensible with an `add_filter()` call. I could admittedly require PHP 5.4 instead of PHP 5.3, since the latter allows to catch the status code using a built-in function. But I can readily picture other scenarios where adding a filter here and there without needing to load WP in full might be useful. 48 49 Moreover, I can foresee how fragile the above implementation is in the event the plugin API's internals change at some point or another.