Commit Graph

105 Commits

Author SHA1 Message Date
Robin Cornett dec8e3bf59 Merge redundant strings for translation
Thanks to @christophherr for finding this.
2015-12-15 07:43:14 -05:00
Robin Cornett 0189701db7 update readme 2015-12-04 12:13:54 -05:00
Robin Cornett f3209da3e3 Fix term_meta notice to only display for 4.4 2015-11-23 14:29:35 -05:00
Robin Cornett 4f6334b1aa Change term_meta message to include affected terms
Also needed to change function to get the terms, to return objects,
not just IDs.
2015-11-23 11:47:22 -05:00
Robin Cornett 2a84c8e7e1 Only check update if term_meta is supported 2015-11-23 11:39:17 -05:00
Robin Cornett d4bc5e285d Document functions, update option name 2015-11-21 18:14:57 -05:00
Robin Cornett b1e1099834 Add buttons to update all term meta at one time 2015-11-21 18:00:39 -05:00
Robin Cornett 2c7f0105d1 Update copyright 2015-11-17 16:35:54 -05:00
Robin Cornett d8d43adaf1 Add helper class for settings pages 2015-11-17 14:03:41 -05:00
Robin Cornett 0fd159addc Fix help tab array 2015-11-12 18:43:59 -05:00
Robin Cornett 997039904b Fix image ID validation 2015-10-24 15:23:16 -04:00
Robin Cornett 8d732b5df2 Fix error if new post type registered 2015-10-24 12:30:20 -04:00
Robin Cornett 892c08d846 Move display setting to an earlier function
Images were not resetting to last valid value.
2015-09-01 08:12:34 -04:00
Robin Cornett 5a1f8a2ac7 Change settings page heading (backwards compat) 2015-08-15 15:22:57 -04:00
Robin Cornett fbac6c2ab3 Add backwards compatibility check helper function 2015-08-15 15:18:27 -04:00
Robin Cornett 5768f25fe6 Refactor for more generic description callbacks
Also switched to do_number for header
2015-08-08 15:58:12 -04:00
Robin Cornett cac157fcf2 Add function to check user permissions/nonce 2015-08-06 16:13:22 -04:00
Robin Cornett b18f501849 Update settings page heading for 4.3 2015-07-29 16:36:39 -04:00
Robin Cornett bd4e155d7d Refactor settings page
Set specific function to retrieve plugin settings. Extract section and
field creation into separate, one trick functions.
2015-07-26 14:57:22 -04:00
Robin Cornett e5e5a187d8 Fix settings page 2015-07-12 12:59:50 -04:00
Robin Cornett 61d7d56e5c Fix dependencies 2015-07-12 12:28:21 -04:00
Robin Cornett 41ac3732cd Provisional tag 2.3.0 2015-07-12 11:35:08 -04:00
Robin Cornett 20e4aa1cf0 Simplify checkbox validation 2015-06-07 12:05:14 -04:00
Robin Cornett f6d588bfc7 Add author profile featured image 2015-06-07 12:04:36 -04:00
Robin Cornett c58cc69648 Revert to static functions
(backwards compatible)
2015-06-06 21:30:42 -04:00
Robin Cornett 0f6430682d Fix $variables 2015-06-06 17:57:28 -04:00
Robin Cornett 93b7c5aa35 Clean up static methods
Needs lots more testing
2015-06-03 14:36:16 -04:00
Robin Cornett cab899a1f7 Refactor image validation
Now checking image validity/size for default and CPT images go through
one function instead of two.
2015-06-02 07:44:48 -04:00
Robin Cornett 812254fc20 Fix button output 2015-06-02 07:43:43 -04:00
Robin Cornett 7d440be436 Simplify checkbox setting function 2015-06-01 10:18:16 -04:00
Robin Cornett 73fd2dd6bd Refactor image preview/buttons
Move image preview and button renderer to separate functions instead of
building each three times.
2015-05-30 17:27:45 -04:00
Robin Cornett b103701b2e Refactor the refactor for settings fields 2015-05-30 13:38:41 -04:00
Robin Cornett 532ca19eb0 Refactor add_settings_field 2015-05-30 11:46:40 -04:00
Robin Cornett 12519a0878 Move more work into render function 2015-05-30 10:27:33 -04:00
Robin Cornett 62c8a41def Update help text 2015-05-30 09:54:32 -04:00
Robin Cornett 3b89ad5fb4 Update image ext check
pulled from latest CMB2
2015-05-30 09:54:19 -04:00
Robin Cornett 5d1e7ceb20 Change image preview dry 2015-05-30 09:53:22 -04:00
Robin Cornett 9b42e9b3ea Fix foreach for CPT image setting 2015-05-30 08:04:57 -04:00
Robin Cornett 4db2b430c7 Refactor CPT image setting output 2015-05-30 07:41:29 -04:00
Robin Cornett 9bdca7944f escape more things #WWGJD 2015-05-07 20:36:35 -04:00
Robin Cornett e527557810 escape all the things 2015-04-24 17:02:47 -04:00
Robin Cornett c9f049392b refactor section/page variables 2015-04-20 17:02:16 -04:00
Robin Cornett 9ae17447e0 change input names for accuracy 2015-04-14 17:48:15 -04:00
Robin Cornett 41c51f337e fix hidden field data
if the setting was a URL we had inconsistent behavior.
2015-04-10 09:32:57 -04:00
Robin Cornett a422bda814 add subsequent pages help 2015-04-10 08:38:43 -04:00
Robin Cornett 90febaaa10 remove unnecessary external warning 2015-04-10 08:38:28 -04:00
Robin Cornett a68e201116 add blog page 2+ setting
originally the featured image doesn't show on subsequent pages, but some
people might want it to. needs documentation.
2015-04-09 22:16:36 -04:00
Robin Cornett aa96b77f25 document is_numeric 2015-04-09 22:15:41 -04:00
Robin Cornett 1f8c832e40 update buttons 2015-03-24 10:09:32 -04:00
Robin Cornett f66f0395f8 add delete button for term/cpt/default images 2015-03-23 12:50:58 -04:00