This repository has been archived by the owner on Apr 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Features/Acf): add required hooks check to OptionPages::get() (#229)
* fix(Features/Acf): add required hooks check to OptionPages::get() This makes sure that acf/init has already been run and therefore all option pages are available to be queried. It fixes issues that arise with the object cache when used incorrectly. * refactor(Features/GoogleAnalytics): remove unnecessary priority not needed anymore as this priority was a hotfix for the previous ACF OptionPages feature version * refactor(Features/Acf): split OptionPages::get() functionality into separate functions to reduce complexity and improve scanability / readability * refactor(Features/Acf): move protected functions to correct section further below
- Loading branch information
Doğa Gürdal
committed
Jun 28, 2017
1 parent
43cc404
commit 0f62245
Showing
2 changed files
with
38 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters