-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CMSP-992] Add CSS selectors for updating styles in PAPC (#46)
* add CSS selectors so we can update the styles in PAPC * use before_ and after_selection instead of section_class section does not seem to _have_ a class * add some selectors around the default_ttl setting * remove "default"; replace with "page cache" * update language of description * add translators note and link * lint * make the input filterable * rename the filter to _max_age_ * use wp_kses instead of wp_kses_post and explicitly allow the values we want. * add a helper method and a filter so other people can modify this if they want * underscores should be dashes * allow "disabled" in inputs * display the filtered value (rather than the saved one) if filtered * add a class to the "setting is disabled due to filter" message
- Loading branch information
1 parent
e6599d5
commit 12c2bc5
Showing
1 changed file
with
75 additions
and
15 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