manifest / performance / genesis-ignore-deprecated
Genesis Ignore Deprecated archived
Stops the Genesis Framework deprecated functions file from loading on every request, giving a small performance benefit
by Gary Jones · github.com/garyjones/genesis-ignore-deprecated · website
★ 1stars
13composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/garyjones/genesis-ignore-deprecated/archive/refs/heads/master.zipAlso on Packagist as garyjones/genesis-ignore-deprecated:
composer require garyjones/genesis-ignore-deprecatedFrom the readme
Genesis Ignore Deprecated
Stops the Genesis deprecated functions file from loading on every request, giving a small performance benefit
Description
Genesis Framework 2.0 includes a new boolean value genesisloaddeprecated filter just before the loading of the file that includes all of the old deprecated functions.
Deprecated functions are ones which shoudn't be used for some reason, the most common being that they may be removed in a future version of the software. WordPress has apparently never deleted any function and Genesis has only deleted a few that were not being used.
In the case of Genesis Framework 2.0, that stands at 72 deprecated functions out of a total of 355.
This filter means you can turn off loading of the deprecated functions, if you know your theme and plugins are not using any of them, for a small performance benefit. A quick un-scientific test suggested about 0.13MB of memory usage was saved. This is likely less than 1% of the total memory usage for a front-end or admin request (depends on other plugins and variables), but it's still a saving.
Installation
Upload
1. Download the latest tagged archive (choose the "zip" option).
2. Go to the Plugins - A
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.