Changeset 2431935
- Timestamp:
- 12/05/2020 12:24:32 AM (5 years ago)
- Location:
- remixd-voice
- Files:
-
- 101 added
- 3 edited
-
tags/1.0.4 (added)
-
tags/1.0.4/.git (added)
-
tags/1.0.4/.git/COMMIT_EDITMSG (added)
-
tags/1.0.4/.git/HEAD (added)
-
tags/1.0.4/.git/config (added)
-
tags/1.0.4/.git/description (added)
-
tags/1.0.4/.git/hooks (added)
-
tags/1.0.4/.git/hooks/applypatch-msg.sample (added)
-
tags/1.0.4/.git/hooks/commit-msg.sample (added)
-
tags/1.0.4/.git/hooks/fsmonitor-watchman.sample (added)
-
tags/1.0.4/.git/hooks/post-update.sample (added)
-
tags/1.0.4/.git/hooks/pre-applypatch.sample (added)
-
tags/1.0.4/.git/hooks/pre-commit.sample (added)
-
tags/1.0.4/.git/hooks/pre-merge-commit.sample (added)
-
tags/1.0.4/.git/hooks/pre-push.sample (added)
-
tags/1.0.4/.git/hooks/pre-rebase.sample (added)
-
tags/1.0.4/.git/hooks/pre-receive.sample (added)
-
tags/1.0.4/.git/hooks/prepare-commit-msg.sample (added)
-
tags/1.0.4/.git/hooks/update.sample (added)
-
tags/1.0.4/.git/index (added)
-
tags/1.0.4/.git/info (added)
-
tags/1.0.4/.git/info/exclude (added)
-
tags/1.0.4/.git/logs (added)
-
tags/1.0.4/.git/logs/HEAD (added)
-
tags/1.0.4/.git/logs/refs (added)
-
tags/1.0.4/.git/logs/refs/heads (added)
-
tags/1.0.4/.git/logs/refs/heads/master (added)
-
tags/1.0.4/.git/logs/refs/remotes (added)
-
tags/1.0.4/.git/logs/refs/remotes/origin (added)
-
tags/1.0.4/.git/logs/refs/remotes/origin/master (added)
-
tags/1.0.4/.git/objects (added)
-
tags/1.0.4/.git/objects/08 (added)
-
tags/1.0.4/.git/objects/08/4d360b208ac170ad0c9f7448160f046eea541f (added)
-
tags/1.0.4/.git/objects/15 (added)
-
tags/1.0.4/.git/objects/15/3adb039334dc0fd2e40e6c196650ecf1c0cce3 (added)
-
tags/1.0.4/.git/objects/15/7eb50e7b05f350b0379f3a8f0bdae266ca9887 (added)
-
tags/1.0.4/.git/objects/20 (added)
-
tags/1.0.4/.git/objects/20/f05730bdcfc587cd3ab4d55a515704c2c96261 (added)
-
tags/1.0.4/.git/objects/4a (added)
-
tags/1.0.4/.git/objects/4a/25d26e6d2354d127c95bc2a9e2c9cf133571ef (added)
-
tags/1.0.4/.git/objects/4d (added)
-
tags/1.0.4/.git/objects/4d/69748e63505c449bd7cf2081aaba38e2d91dfa (added)
-
tags/1.0.4/.git/objects/51 (added)
-
tags/1.0.4/.git/objects/51/4c7f62cfee5fe9de393463c2f2ac044b075ec8 (added)
-
tags/1.0.4/.git/objects/5b (added)
-
tags/1.0.4/.git/objects/5b/79fa6222781cc554716b78fd50496b1a54bdd5 (added)
-
tags/1.0.4/.git/objects/5d (added)
-
tags/1.0.4/.git/objects/5d/34a579c63ca6aa93ed5b465b2d1d5845a78427 (added)
-
tags/1.0.4/.git/objects/61 (added)
-
tags/1.0.4/.git/objects/61/64720dc9f0bcfcff56d033843970b136b60b4f (added)
-
tags/1.0.4/.git/objects/6e (added)
-
tags/1.0.4/.git/objects/6e/8b39be8549967296a960b154639fd45a91bcd5 (added)
-
tags/1.0.4/.git/objects/8d (added)
-
tags/1.0.4/.git/objects/8d/ed04595696f17b32a25c6df164145b845c58d9 (added)
-
tags/1.0.4/.git/objects/8f (added)
-
tags/1.0.4/.git/objects/8f/7d3a6363650b9ce0c6e6db495643f64d390d7a (added)
-
tags/1.0.4/.git/objects/90 (added)
-
tags/1.0.4/.git/objects/90/f298a3a21faee6770af2859eaa71dbf67e3b71 (added)
-
tags/1.0.4/.git/objects/9c (added)
-
tags/1.0.4/.git/objects/9c/53adc14bd26bdbff4b1b6ad21d9de82deae71b (added)
-
tags/1.0.4/.git/objects/a4 (added)
-
tags/1.0.4/.git/objects/a4/745f8cd450f4902bb634833fa052d2d05b5dbe (added)
-
tags/1.0.4/.git/objects/b1 (added)
-
tags/1.0.4/.git/objects/b1/0dbef59a49e305e57938610c66919e20745f1a (added)
-
tags/1.0.4/.git/objects/b1/7fb03d2399b7bf03cced0d2eb681cb5009a87e (added)
-
tags/1.0.4/.git/objects/b8 (added)
-
tags/1.0.4/.git/objects/b8/2bdd587e8233042b818f97664b4b22824ec719 (added)
-
tags/1.0.4/.git/objects/b9 (added)
-
tags/1.0.4/.git/objects/b9/633e507dbb6cba0b6f0e76fe3ea89a4a32109e (added)
-
tags/1.0.4/.git/objects/c2 (added)
-
tags/1.0.4/.git/objects/c2/20c89792d5e0a66685747a909a90777ecd9107 (added)
-
tags/1.0.4/.git/objects/d7 (added)
-
tags/1.0.4/.git/objects/d7/579fa5fe6107d6ea8bb27450e888d9a6352c85 (added)
-
tags/1.0.4/.git/objects/da (added)
-
tags/1.0.4/.git/objects/da/3a9484d8e787605d0b6648ef59322a596a97b1 (added)
-
tags/1.0.4/.git/objects/df (added)
-
tags/1.0.4/.git/objects/df/f19228b930045d003d8a7a1352034d29c4d488 (added)
-
tags/1.0.4/.git/objects/e6 (added)
-
tags/1.0.4/.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391 (added)
-
tags/1.0.4/.git/objects/f8 (added)
-
tags/1.0.4/.git/objects/f8/5d1fa68aa0069caec35e1d168bdc6faa85d9d0 (added)
-
tags/1.0.4/.git/objects/info (added)
-
tags/1.0.4/.git/objects/pack (added)
-
tags/1.0.4/.git/refs (added)
-
tags/1.0.4/.git/refs/heads (added)
-
tags/1.0.4/.git/refs/heads/master (added)
-
tags/1.0.4/.git/refs/remotes (added)
-
tags/1.0.4/.git/refs/remotes/origin (added)
-
tags/1.0.4/.git/refs/remotes/origin/master (added)
-
tags/1.0.4/.git/refs/tags (added)
-
tags/1.0.4/README.txt (added)
-
tags/1.0.4/assets (added)
-
tags/1.0.4/assets/css (added)
-
tags/1.0.4/assets/css/remixd-admin.css (added)
-
tags/1.0.4/assets/images (added)
-
tags/1.0.4/assets/images/remixd-icon.svg (added)
-
tags/1.0.4/index.php (added)
-
tags/1.0.4/lib (added)
-
tags/1.0.4/lib/remixd-player.php (added)
-
tags/1.0.4/lib/settings.php (added)
-
tags/1.0.4/remixd.php (added)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/lib/remixd-player.php (modified) (2 diffs)
-
trunk/remixd.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
remixd-voice/trunk/README.txt
r2431207 r2431935 6 6 Tested up to: 5.6 7 7 Requires PHP: 5.6 8 Stable tag: 1.0. 38 Stable tag: 1.0.4 9 9 License: GPLv2 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 56 56 == Changelog == 57 57 58 = 1.0.4 = 59 * Fixed plugin activation PHP notices 60 58 61 = 1.0.3 = 59 62 * Fixed PHP Notices -
remixd-voice/trunk/lib/remixd-player.php
r2431207 r2431935 88 88 public function add_remixd_meta_box() 89 89 { 90 if ($this->options['display'] == 2) { 91 add_meta_box( 92 'remixd_meta_box', 93 'Remixd Voice', 94 array($this, 'show_remixd_fields_meta_box'), 95 'post', 96 'side', 97 'high' 98 ); 90 if(!empty($this->options)) { 91 if ($this->options['display'] == 2) { 92 add_meta_box( 93 'remixd_meta_box', 94 'Remixd Voice', 95 array($this, 'show_remixd_fields_meta_box'), 96 'post', 97 'side', 98 'high' 99 ); 100 } 99 101 } 100 102 } … … 127 129 { 128 130 // verify nonce 129 if (!wp_verify_nonce($_POST['remixd_meta_box_nonce'], basename(__FILE__))) { 130 return $post_id; 131 } 132 // check autosave 133 if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) { 134 return $post_id; 135 } 136 // check permissions 137 if ('page' === $_POST['post_type']) { 138 if (!current_user_can('edit_page', $post_id)) { 139 return $post_id; 140 } elseif (!current_user_can('edit_post', $post_id)) { 131 if(isset($_POST['remixd_meta_box_nonce'])) { 132 if (!wp_verify_nonce($_POST['remixd_meta_box_nonce'], basename(__FILE__))) { 141 133 return $post_id; 142 134 } 143 } 144 // handle save/update 145 146 $remixd_meta_data = sanitize_text_field( $_POST['remixd_voice'] ); 147 148 if ( $remixd_meta_data == 'on') { 149 update_post_meta($post_id, 'remixd_voice', $remixd_meta_data); 150 } else { 151 delete_post_meta($post_id, 'remixd_voice'); 135 // check autosave 136 if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) { 137 return $post_id; 138 } 139 // check permissions 140 if ('page' === $_POST['post_type']) { 141 if (!current_user_can('edit_page', $post_id)) { 142 return $post_id; 143 } elseif (!current_user_can('edit_post', $post_id)) { 144 return $post_id; 145 } 146 } 147 // handle save/update 148 149 $remixd_meta_data = sanitize_text_field( $_POST['remixd_voice'] ); 150 151 if ( $remixd_meta_data == 'on') { 152 update_post_meta($post_id, 'remixd_voice', $remixd_meta_data); 153 } else { 154 delete_post_meta($post_id, 'remixd_voice'); 155 } 152 156 } 153 157 } -
remixd-voice/trunk/remixd.php
r2431207 r2431935 4 4 * Plugin URI: https://www.remixd.com/ 5 5 * Description: Remixd’s Audicles™ utilize publisher text and converts it into playable audio for easy and convenient on page consumption. 6 * Version: 1.0. 36 * Version: 1.0.4 7 7 * Author: Remixd Voice 8 8 **/
Note: See TracChangeset
for help on using the changeset viewer.