wpsharks / comet-cache

An advanced WordPress® caching plugin inspired by simplicity.
https://cometcache.com
GNU General Public License v3.0
77 stars 17 forks source link

Refactor codebase to remove unnecessary applyWpFilters() and doWpAction() #893

Open raamdev opened 7 years ago

raamdev commented 7 years ago

@jaswrks writes...

now that we are beyond the point of needing to support back compat. for ZenCache hooks, we should probably update the codebase. At some point we can convert all calls to applyWpFilters() to just apply_filters(). The same for doWpAction(), which can just be do_action().

Beyond that, at some point we should do another review of the AC plugin hook system in Comet Cache, because now that WordPress is exposing the standard WP hook/filter library in the early phase, we shouldn't need that any longer.