Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automattic's updates and new actions and method #5

Open
wants to merge 64 commits into
base: master
Choose a base branch
from

Conversation

shawcohn
Copy link

Includes the updates from Automattic's fork that make if WordPress.com VIP compatible. Also includes the addition of actions that can be hooked into using the "add_action" method and a new method that returns all of the options in one array.

mjangda added 30 commits June 9, 2011 10:25
…use we've moved the options setup/load out of the plugin.
mjangda and others added 30 commits June 10, 2011 18:27
validation callback and new type of option
Updated readme and config-sample.php with explanation of validation_cb and new MultipleCheckboxesOption
Was creating a bug for Boolean options with a 0 default because the `! get_option( id )` would always return true. Both entries in the boolean dropdown would get the "selected" attribute.
…ctually a string instead of array. This check is needed to determine if a checkbox in a set of values for multiple checkboxes is selected but only one or no values were set, resulting options_checked variable being a string instead of an array. Cast to array before doing the check
…cap option"

This reverts commit e858289. isset check doesn't really work in cheezcap_get_option
Fix a warning produced when second parameter for in_array check was actually a string instead of array. This check is needed to determine if a checkbox in a set of values for multiple checkboxes is selected but only one or no values were set, resulting options_checked variable being a string instead of an array. Cast to array before doing the check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants