Commit Graph

53 Commits

Author SHA1 Message Date
Robin Cornett 648a6317a9 Update readme/copyright 2016-04-01 20:18:20 -04:00
Robin Cornett 9c46402b96 Fix ajax error on nonce check 2015-12-08 09:29:06 -05:00
Robin Cornett 2ef18bf587 Rename helper function for consistency 2015-12-07 12:50:00 -05:00
Robin Cornett 41a751496c Set get_option default and quotes on action 2015-11-24 10:11:55 -05:00
Robin Cornett 1389035cdb Move empty value to return early 2015-11-20 18:18:36 -05:00
Robin Cornett aef42e9139 Fix term meta validation
Make behavior consistent in 4.4 and earlier.
2015-11-19 14:36:22 -05:00
Robin Cornett 3b6062c87e Update term_meta/options functions
Deletes meta/option if empty, silently fails for invalid images. Need to
think/verify checks for existing setting so we don't update the DB if we
don't have to.
2015-11-19 09:58:16 -05:00
Robin Cornett b7439b2ed0 Return null to delete option/meta 2015-11-19 09:56:27 -05:00
Robin Cornett 52f899430f correctly delete empty term_meta 2015-11-17 17:46:38 -05:00
Robin Cornett 8e51f05058 Fix string/array for 4.3 meta 2015-11-17 17:22:52 -05:00
Robin Cornett 362a25a40d Fix term_meta
4.3 backwards compat things
2015-11-17 16:50:44 -05:00
Robin Cornett 37422ecc0b Add term_meta support
Includes new helper function to retrieve a term image_id
2015-11-17 16:37:22 -05:00
Robin Cornett d8d43adaf1 Add helper class for settings pages 2015-11-17 14:03:41 -05:00
Robin Cornett 31cd200309 Update language files/strings 2015-08-15 14:07:39 -04:00
Robin Cornett f5165b6f82 Simplify term meta fields 2015-08-11 08:36:24 -04:00
Robin Cornett 7381e518f8 Split shared terms 2015-08-08 07:28:13 -04:00
Robin Cornett 61d7d56e5c Fix dependencies 2015-07-12 12:28:21 -04:00
Robin Cornett 93b7c5aa35 Clean up static methods
Needs lots more testing
2015-06-03 14:36: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 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 5d1e7ceb20 Change image preview dry 2015-05-30 09:53:22 -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 bd10c340fb remove preview image after new term is added 2015-04-19 16:26:06 -04:00
Robin Cornett baa35dad1a Fix input id 2015-04-14 20:22:45 -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 96ca5e7ecb change new term description 2015-04-07 12:22:14 -04:00
Robin Cornett a3cb43a161 add class to form-field 2015-03-25 10:51:51 -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
Robin Cornett 691a1eb87e fix numeric check 2015-03-23 12:16:57 -04:00
Robin Cornett 9524139621 change term/cpt/default image to use ID 2015-03-23 11:51:45 -04:00
Robin Cornett 0511b4f27f tag as 2.0.0 2015-01-10 10:45:16 -05:00
Robin Cornett d3be09861b add help tab for taxonomy terms 2015-01-10 09:42:54 -05:00
Robin Cornett 45b04bafaf fix variable consistency 2015-01-08 12:39:23 -05:00
Robin Cornett 9b5da50918 updated term option for uniqueness 2015-01-07 19:08:49 -05:00
Robin Cornett 83e46c5e31 move tax save function to settings class
this cuts redundancy, since the image validation function is already in
this class. having the taxonomy save in its own class required
duplicating the validation functions.
2015-01-04 16:05:25 -05:00
Robin Cornett 86c4b6920a fix taxonomy buttons for js 2015-01-03 18:27:03 -05:00
Robin Cornett df532a6a20 add size to featured image description 2015-01-03 09:07:40 -05:00
Robin Cornett f400a7cc57 fixed returned value for taxonomy images
The taxonomy option is not updated if the image is invalid or too small.
If the image is deleted (the field is empty), that's OK.
2015-01-02 16:40:46 -05:00
Robin Cornett 4c1a9495db remove useless variables 2015-01-01 23:13:27 -05:00
Robin Cornett e828b948bc update validation
returns empty string if invalid value. would prefer for it to return
previous value instead.
2015-01-01 19:55:39 -05:00
Robin Cornett 7ff9accb71 add documentation 2015-01-01 19:17:41 -05:00
Robin Cornett adb2ab6d3e create admin class for custom featured image column 2015-01-01 18:38:59 -05:00
Robin Cornett 7160b7cdaa add featured image column to posts, pages, post types 2015-01-01 18:05:23 -05:00
Robin Cornett f8777553dc add featured image column to taxonomies
also changed how hooks were called to use "{$taxonomy->name}_etc
2015-01-01 17:28:19 -05:00
Robin Cornett 4dcd3896da add description class to <p> 2014-12-31 17:03:54 -05:00
Robin Cornett 42f98531a8 validate image in taxonomy upload
no way to add error message?
2014-12-31 08:32:55 -05:00