Commit Graph

917 Commits

Author SHA1 Message Date
Robin Cornett 256d9849fa Deprecate get_image_id
All images should be stored as integers, not URLs. This is only invoked
if an image ID is delivered as a URL instead of an integer, which was
fixed back in 2.2.0.
2019-06-07 10:36:00 -04:00
Robin Cornett 29fc1366cb phpcs 2019-06-07 10:32:55 -04:00
Robin Cornett 75d9b2504b Add static front page checker 2019-06-07 10:32:04 -04:00
Robin Cornett 12bc62bcc0 Change post content getter 2019-06-07 10:31:27 -04:00
Robin Cornett 01ce9facd2 Fix image id getter for script 2019-06-07 10:19:57 -04:00
Robin Cornett 60787de89b Fix jumping image/content 2019-06-07 10:19:41 -04:00
Robin Cornett 34a1a11452 Update image validator
Fixes broken validation in the customizer.
2019-05-23 07:49:08 -04:00
Robin Cornett 3c588ba4d1 Improve image uploader 2019-05-20 10:05:00 -04:00
Robin Cornett df1844b87d Update post meta nonce 2019-05-20 09:47:16 -04:00
Robin Cornett 0ae11d162c Update user meta validation/security 2019-05-19 14:40:53 -04:00
Robin Cornett bb68b494b8 Update register_meta 2019-05-19 14:34:38 -04:00
Robin Cornett 032e14893d Update new term meta field 2019-05-19 14:34:26 -04:00
Robin Cornett 49ccd73c5f Update term meta save method 2019-05-19 14:27:03 -04:00
Robin Cornett f44d1b91a1 Update nonce field 2019-05-19 14:26:25 -04:00
Robin Cornett 1072f9d29a Fix incorrect keying term meta as array 2019-05-19 14:06:55 -04:00
Robin Cornett a099d9ff83 Move user profile error to image validation class 2019-05-19 14:03:18 -04:00
Robin Cornett 601d7e53d1 Add missing nonce to term form 2019-05-19 14:02:41 -04:00
Robin Cornett 38fc34fdbf PHPCS 2019-05-19 07:07:23 -04:00
Robin Cornett 6b0bebe40b Fix post type description check 2019-05-19 07:07:06 -04:00
Robin Cornett bf4442c098 Add image validation class
Used on settings validation for multiple images; term/author for single.
2019-05-19 07:06:50 -04:00
Robin Cornett f2abb5d4ca Create an image settings class
I am sure that right now this breaks meta classes.
2019-05-18 15:45:38 -04:00
Robin Cornett ef875fae78 Remove unneeded settings variables 2019-05-18 15:44:20 -04:00
Robin Cornett 52712e1c74 Change field getter 2019-05-18 15:42:38 -04:00
Robin Cornett f211efeee9 phpcs, finish changing to types 2019-05-18 15:42:08 -04:00
Robin Cornett f80d4a65c7 Update settings fields to use types instead of callbacks 2019-05-18 15:31:50 -04:00
Robin Cornett 8ed9cdb9a1 Move description/intro related functions to description class 2019-05-17 18:01:50 -04:00
Robin Cornett 64a5885853 Improve intro text output 2019-05-17 18:00:05 -04:00
Robin Cornett 067ccd643a Initial readme update 2019-05-14 19:14:31 -04:00
Robin Cornett e452341bf2 Fix author/post meta sanitization 2019-05-14 18:46:41 -04:00
Robin Cornett 693c2051bd Update scriptless CSS 2019-05-14 18:30:47 -04:00
Robin Cornett 7fb40b18a4 Update banner image class 2019-05-14 14:29:06 -04:00
Robin Cornett 67ee568db2 Update settings page as backstretch section is no longer needed 2019-05-14 14:28:33 -04:00
Robin Cornett 670b841708 Add a common helper function/instance 2019-05-14 14:25:46 -04:00
Robin Cornett 16c5625e11 Update widget file loading 2019-05-14 13:45:45 -04:00
Robin Cornett 2a2193cd4b Update shortcode validation 2019-05-14 13:45:30 -04:00
Robin Cornett 2c8af3a62b Remove backstretch references
Since the scriptless behavior can take on the backstretch script
behavior, no longer a need to separate the two.
2019-05-14 13:45:14 -04:00
Robin Cornett 79f3b1e049 Update CSS 2019-05-14 13:44:18 -04:00
Robin Cornett e1784a02af Rearrange output/meta files 2019-05-14 13:42:34 -04:00
Robin Cornett 22accea1ec Update scriptless style to be more like backstretch banner 2019-05-14 09:30:57 -04:00
Robin Cornett 752abbfb84 Create new class to handle scripts/styles 2019-05-14 09:30:32 -04:00
Robin Cornett 5f066f783b Merge branch 'feature/scriptless-banner' into develop 2019-05-13 14:41:38 -04:00
Robin Cornett 8be6be52a8 Missed a file on the description class load 2019-05-13 14:40:33 -04:00
Robin Cornett f544a90974 Instantiate description class only as needed 2019-05-13 14:40:02 -04:00
Robin Cornett 97e7df22f7 Add object position to scriptless output 2019-05-13 14:26:02 -04:00
Robin Cornett ed3c2e4130 Add a settings getter to the output class 2019-05-13 14:25:41 -04:00
Robin Cornett 90446d9229 Update settings getter to include optional parameter 2019-05-13 14:05:15 -04:00
Robin Cornett bdbb6124b7 Update taxonomy/term meta image
Refactor to use helper functions for image preview and buttons. Use
page constant where possible. Deprecate options method, maybe remove.
2019-05-13 11:30:28 -04:00
Robin Cornett 702e1ba442 Fix term images 2019-05-13 10:54:07 -04:00
Robin Cornett 52f77c18fd Add minified scripts 2019-05-13 10:30:54 -04:00
Robin Cornett b5464d5d5d Update image uploader markup, script 2019-05-13 10:26:50 -04:00