Version 1.0.3
leemason edited this page Apr 16, 2012
·
1 revision
- Define
NHP_OPTIONS_URL
andNHP_OPTIONS_DIR
before calling class, allows sections array to use framework links for built-in icons much easier. - Changed import/export code to just a serialized array (prevents security scanner plugins flagging theme as possible risk).
- Export options is now a feed url, with secret key validation for security.
- Import option no allows import through pasting text, or providing a url to the settings.
- Javascript errors now adds class to input fields instead of inline styles.
- Options panel now loads the last tab viewed whenever accessing the options page.
- Added support for validation warnings (used by
no_html
andno_special_chars
validation classes, but extendable the same as errors). - Fixed error where using the
upload
field type and thewp_editor
field type upload functionality by storing the original sentoeditor function. - Removed php4 construtor to save bytes as wp is now php5.2.4 and above.
- Moved default option adding to the
init
hook instead of ``` admin_init `` for an earlier assignment of options. - Fixed an
isset
error when setting default values, and reassigned the options array after setting defaults on first activation (function was adding the values, but the options array wasn't updated till after the page loads, so default options existed but were not displayed) - Fixed CSS issue with farbtastic popup color picker were it was displaying under the radio button set.
- Fixed typo on tags select field in
theme-options.php