Fix for get_current_theme() being deprecated "official" github repo request
-
My forked version of the InfiniteWP Client plugin now also contains a fix for
get_current_theme()
throwing a deprecation notice on newer WP versions (when WP_DEBUG is turned on).The IWP admin panel “breakage” is only visual — the admin panel’s processQueue counter never finishes (even though the requests/responses complete successfully). The reason being that the AJAX responses from affected WP client sites include warnings/notices before the <IWPHEADER> part.
There’s a separate branch (based on 1.2.13) ready for a PR containing
only the get_current_theme() fix: https://github.com/zytzagoo/iwp-client/tree/fix-get-current-themeIdeally, there’d be an “official” repo for iwp-client on Github, against which we’d all just issue PRs and get stuff merged and released properly via WP.org – is there a chance of that happening anytime soon?
P.S.
I had to create the fork initially due to performance issues related to the hit counter feature:
https://infinitewp.com/forum/issues/performance-issues-with-the-hit_counter-feature-any-way-to-disable-it/It was stated in that thread that it’ll be “fixed in the next release”, but it hasn’t been so far. And the IWP forums are read-only now.
- The topic ‘Fix for get_current_theme() being deprecated "official" github repo request’ is closed to new replies.