Genesis Ignore Deprecated
Stops the Genesis deprecated functions file from loading on every request, giving a small performance benefit, (*1)
Description
Genesis Framework 2.0 includes a new boolean value genesis_load_deprecated
filter just before the loading of the file that includes all of the old deprecated functions., (*2)
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., (*3)
In the case of Genesis Framework 2.0, that stands at 72 deprecated functions out of a total of 355., (*4)
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., (*5)
Installation
Upload
- Download the latest tagged archive (choose the "zip" option).
- Go to the Plugins -> Add New screen and click the Upload tab.
- Upload the zipped archive directly.
- Go to the Plugins screen and click Activate.
Manual
- Download the latest tagged archive (choose the "zip" option).
- Unzip the archive.
- Copy the folder to your
/wp-content/plugins/
directory.
- Go to the Plugins screen and click Activate.
Check out the Codex for more information about installing plugins manually., (*6)
Git
Using git, browse to your /wp-content/plugins/
directory and clone this repository:, (*7)
git clone git@github.com:GaryJones/genesis-ignore-deprecated.git genesis-ignore-deprecated
, (*8)
Then go to your Plugins screen and click Activate., (*9)
Credits
Built by Gary Jones
Copyright 2013 Gamajo Tech, (*10)