Changeset 3118332
- Timestamp:
- 07/15/2024 12:50:22 PM (21 months ago)
- Location:
- meks-video-importer
- Files:
-
- 33 added
- 1 deleted
- 18 edited
-
tags/1.0.11 (added)
-
tags/1.0.11/assets (added)
-
tags/1.0.11/assets/css (added)
-
tags/1.0.11/assets/css/meks-video-importer.css (added)
-
tags/1.0.11/assets/js (added)
-
tags/1.0.11/assets/js/admin.js (added)
-
tags/1.0.11/assets/js/meks-video-importer.js (added)
-
tags/1.0.11/includes (added)
-
tags/1.0.11/includes/class.meks-video-importer-easy-transition.php (added)
-
tags/1.0.11/includes/class.meks-video-importer-import.php (added)
-
tags/1.0.11/includes/class.meks-video-importer-list-table.php (added)
-
tags/1.0.11/includes/class.meks-video-importer-options-page.php (added)
-
tags/1.0.11/includes/class.meks-video-importer-saved-templates.php (added)
-
tags/1.0.11/includes/class.meks-video-importer-vimeo.php (added)
-
tags/1.0.11/includes/class.meks-video-importer-youtube.php (added)
-
tags/1.0.11/includes/class.meks-video-importer.php (added)
-
tags/1.0.11/includes/meks-video-importer-helpers.php (added)
-
tags/1.0.11/languages (added)
-
tags/1.0.11/languages/meks-video-importer-en_US.po (added)
-
tags/1.0.11/meks-video-importer.php (added)
-
tags/1.0.11/partials (added)
-
tags/1.0.11/partials/fetch.php (added)
-
tags/1.0.11/partials/import.php (added)
-
tags/1.0.11/partials/list-table.php (added)
-
tags/1.0.11/partials/settings.php (added)
-
tags/1.0.11/partials/tabs.php (added)
-
tags/1.0.11/partials/templates.php (added)
-
tags/1.0.11/partials/title.php (added)
-
tags/1.0.11/partials/vimeo-settings.php (added)
-
tags/1.0.11/partials/vimeo.php (added)
-
tags/1.0.11/partials/youtube-settings.php (added)
-
tags/1.0.11/partials/youtube.php (added)
-
tags/1.0.11/readme.txt (added)
-
trunk/assets/js/admin.js (deleted)
-
trunk/assets/js/meks-video-importer.js (modified) (8 diffs)
-
trunk/includes/class.meks-video-importer-import.php (modified) (2 diffs)
-
trunk/includes/class.meks-video-importer-list-table.php (modified) (1 diff)
-
trunk/includes/class.meks-video-importer-options-page.php (modified) (1 diff)
-
trunk/includes/class.meks-video-importer-saved-templates.php (modified) (2 diffs)
-
trunk/includes/class.meks-video-importer-vimeo.php (modified) (2 diffs)
-
trunk/includes/class.meks-video-importer-youtube.php (modified) (3 diffs)
-
trunk/includes/meks-video-importer-helpers.php (modified) (2 diffs)
-
trunk/meks-video-importer.php (modified) (2 diffs)
-
trunk/partials/fetch.php (modified) (1 diff)
-
trunk/partials/import.php (modified) (5 diffs)
-
trunk/partials/list-table.php (modified) (2 diffs)
-
trunk/partials/templates.php (modified) (1 diff)
-
trunk/partials/vimeo-settings.php (modified) (1 diff)
-
trunk/partials/vimeo.php (modified) (3 diffs)
-
trunk/partials/youtube-settings.php (modified) (1 diff)
-
trunk/partials/youtube.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
meks-video-importer/trunk/assets/js/meks-video-importer.js
r2117130 r3118332 149 149 }); 150 150 151 data['nonce'] = meks_video_importer_script.nonce; 152 151 153 $.post( 152 154 meks_video_importer_script.ajax_url, … … 175 177 cache: false, 176 178 async: false, 177 security: $("#_wpnonce").val()179 nonce: meks_video_importer_script.nonce 178 180 }; 179 181 … … 202 204 meks_video_importer_script.ajax_url, { 203 205 action: 'mvi_save_template', 204 data: data 206 data: data, 207 nonce: meks_video_importer_script.nonce 205 208 }, 206 209 function(response) { … … 315 318 meks_video_importer_script.ajax_url, { 316 319 'action': 'mvi_delete_template', 317 'id': id 320 'id': id, 321 'nonce': meks_video_importer_script.nonce 318 322 }, 319 323 function(response) { … … 390 394 meks_video_importer_script.ajax_url, { 391 395 action: 'mvi_save_youtube_settings', 392 key: val 396 key: val, 397 nonce: meks_video_importer_script.nonce 393 398 }, 394 399 function(response) { … … 458 463 action: 'mvi_fetch_from_youtube', 459 464 type: type, 460 id: id 465 id: id, 466 nonce: meks_video_importer_script.nonce 461 467 }; 462 468 … … 554 560 action: 'mvi_save_vimeo_settings', 555 561 id: id, 556 secret: secret 562 secret: secret, 563 nonce: meks_video_importer_script.nonce 557 564 }, 558 565 function(response) { … … 623 630 id: id, 624 631 from: !mvi_empty(from) ? from : null, 625 to: !mvi_empty(to) ? to : null 632 to: !mvi_empty(to) ? to : null, 633 nonce: meks_video_importer_script.nonce 626 634 }; 627 635 -
meks-video-importer/trunk/includes/class.meks-video-importer-import.php
r2117130 r3118332 56 56 */ 57 57 public function ajax_insert_post() { 58 59 if ( !wp_verify_nonce( $_POST['nonce'], 'ajax-nonce' ) ) { 60 $this->notices[] = array( 61 'type' => 'error', 62 'msg' => __('Nonce missing', 'meks-video-importer'), 63 ); 64 65 wp_send_json_error($this->notices); 66 } 67 58 68 if ($this->is_valid()){ 59 69 $this->import(); … … 74 84 */ 75 85 private function is_valid() { 76 check_ajax_referer('mvi-import', 'security'); 77 86 78 87 if (!isset($_POST['mvi-video-id']) || empty($_POST['mvi-video-id'])) { 79 88 $this->notices[] = array( -
meks-video-importer/trunk/includes/class.meks-video-importer-list-table.php
r1871307 r3118332 83 83 $message = !(empty($item['message'])) ? $item['message'] : ''; 84 84 $class = !(empty($message)) ? 'mvi-error' : ''; 85 echo '<span class="mvi-status-messages ' . $class . '">' . $message. '</span>';85 echo '<span class="mvi-status-messages ' . esc_attr($class) . '">' . wp_kses_post($message) . '</span>'; 86 86 $hidden_fields = meks_video_importer_get_hidden_fields(); 87 87 foreach ($hidden_fields as $hidden_field) { -
meks-video-importer/trunk/includes/class.meks-video-importer-options-page.php
r1849909 r3118332 174 174 'are_you_sure' => esc_html__( 'Are you sure?', 'meks-video-importer' ), 175 175 'total' => esc_html__( 'Total', 'meks-video-importer' ), 176 'nonce' => wp_create_nonce( 'ajax-nonce' ) 176 177 ) 177 178 ); -
meks-video-importer/trunk/includes/class.meks-video-importer-saved-templates.php
r1804642 r3118332 38 38 */ 39 39 public function save_template() { 40 41 if ( !wp_verify_nonce( $_POST['nonce'], 'ajax-nonce' ) ) { 42 wp_send_json_error(array('type' => 'error', 'msg' => __('Missing nonce.', 'meks-video-importer'))); 43 } 44 40 45 $data = $_POST['data']; 41 46 … … 68 73 */ 69 74 public function delete_template(){ 75 76 if ( !wp_verify_nonce( $_POST['nonce'], 'ajax-nonce' ) ) { 77 wp_send_json_error(array('type' => 'error', 'msg' => __('Missing nonce.', 'meks-video-importer'))); 78 } 79 80 70 81 $id = $_POST['id']; 82 71 83 if(empty($id)){ 72 84 wp_send_json_error(array('type' => 'error', 'msg' => __("Id can't be empty.", 'meks-video-importer'))); -
meks-video-importer/trunk/includes/class.meks-video-importer-vimeo.php
r1948107 r3118332 73 73 */ 74 74 public function ajax_save_settings() { 75 76 if ( !wp_verify_nonce( $_POST['nonce'], 'ajax-nonce' ) ) { 77 wp_send_json_error(array('message' => '<span class="dashicons dashicons-no"></span>' . __('Missing nonce.. Please try adding it again', 'meks-video-importer'))); 78 } 79 75 80 if (!isset($_POST['id']) || !isset($_POST['secret'])) 76 81 wp_send_json_error(array('message' => '<span class="dashicons dashicons-no"></span>' . __('Credentials not verified. Please try adding it again', 'meks-video-importer'))); … … 189 194 */ 190 195 public function ajax_fetch_from_vimeo() { 196 197 if ( !wp_verify_nonce( $_POST['nonce'], 'ajax-nonce' ) ) { 198 wp_send_json_error(array('message' => __('Missing nonce.', 'meks-video-importer'))); 199 } 191 200 192 201 if (!isset($_POST['type']) || empty($_POST['type']) || !isset($_POST['id']) || empty($_POST['id'])){ -
meks-video-importer/trunk/includes/class.meks-video-importer-youtube.php
r2117130 r3118332 97 97 */ 98 98 public function ajax_save_settings() { 99 100 if ( !wp_verify_nonce( $_POST['nonce'], 'ajax-nonce' ) ) { 101 wp_send_json_error(array('message' => '<span class="dashicons dashicons-no"></span>' . __('Missing nonce.', 'meks-video-importer'))); 102 } 99 103 100 104 if (isset($_POST['key'])) { … … 179 183 */ 180 184 public function ajax_fetch_from_youtube() { 185 186 if ( !wp_verify_nonce( $_POST['nonce'], 'ajax-nonce' ) ) { 187 wp_send_json_error(array('message' => __('Missing nonce.', 'meks-video-importer'))); 188 } 189 181 190 if (!isset($_POST['type']) || empty($_POST['type']) || !isset($_POST['id']) || empty($_POST['id'])) { 182 191 wp_send_json_error(array('message' => __('Invalid request', 'meks-video-importer'))); … … 327 336 $url = $this->build_url(array( 328 337 'channelId' => $args['id'], 338 'order' => 'date', 329 339 ), $append_query); 330 340 break; -
meks-video-importer/trunk/includes/meks-video-importer-helpers.php
r2965325 r3118332 69 69 $tax['hierarchical'] = $taxonomy->hierarchical; 70 70 if ($tax['hierarchical']) { 71 $tax['terms'] = get_terms( $taxonomy->name, array('hide_empty' => false));71 $tax['terms'] = get_terms( array('taxonomy' => $taxonomy->name, 'hide_empty' => false) ); 72 72 } 73 73 … … 351 351 function meks_video_importer_selected($a, $b, $output = 'selected') { 352 352 353 return (string)$a === (string)$b ? $output: '';353 return (string)$a === (string)$b ? esc_attr($output) : ''; 354 354 } 355 355 endif; -
meks-video-importer/trunk/meks-video-importer.php
r2965325 r3118332 3 3 Plugin Name: Meks Video Importer 4 4 Description: Easily import YouTube and Vimeo videos in bulk to your posts, pages or any custom post type. 5 Version: 1.0.1 15 Version: 1.0.12 6 6 Author: Meks 7 7 Author URI: http://mekshq.com … … 19 19 * Define useful constants here 20 20 */ 21 define( 'MEKS_VIDEO_IMPORTER_VERSION', '1.0.1 1' );21 define( 'MEKS_VIDEO_IMPORTER_VERSION', '1.0.12' ); 22 22 define( 'MEKS_VIDEO_IMPORTER_BASENAME', plugin_basename(__FILE__) ); 23 23 define( 'MEKS_VIDEO_IMPORTER_DIR', plugin_dir_path( __FILE__ ) ); -
meks-video-importer/trunk/partials/fetch.php
r1804642 r3118332 15 15 foreach (meks_video_importer_get_providers() as $id => $provider) : ?> 16 16 <label><input type="radio" class="mvi-provider" name="provider" data-type="provider" value="<?php echo esc_attr($id); ?>" <?php echo esc_attr(meks_video_importer_get_provider_status($id, $i, $valid_providers)); ?>> 17 <?php echo $provider; ?>17 <?php echo esc_html($provider); ?> 18 18 </label><br> 19 19 <?php $i++; ?> -
meks-video-importer/trunk/partials/import.php
r2879760 r3118332 38 38 <?php foreach ($post_types as $post_type) : ?> 39 39 <option value="<?php echo esc_attr($post_type->name); ?>" <?php echo meks_video_importer_selected( $import_options['mvi-post-type'], $post_type->name); ?>> 40 <?php echo $post_type->label; ?>40 <?php echo esc_html($post_type->label); ?> 41 41 </option> 42 42 <?php endforeach; ?> … … 55 55 <?php foreach ($post_formats as $post_format) : ?> 56 56 <option value="<?php echo esc_attr($post_format); ?>" <?php echo meks_video_importer_selected( $import_options['mvi-post-format'], $post_format); ?>> 57 <?php echo ucfirst($post_format); ?>57 <?php echo esc_html(ucfirst($post_format)); ?> 58 58 </option> 59 59 <?php endforeach; ?> … … 72 72 <select name="mvi-post-status" id="mvi-post-status"> 73 73 <?php foreach ($post_statuses as $post_status_key => $post_status) : ?> 74 <option value="<?php echo $post_status_key; ?>" <?php echo meks_video_importer_selected( $import_options['mvi-post-status'], $post_status_key); ?>>75 <?php echo $post_status; ?>74 <option value="<?php echo esc_attr($post_status_key); ?>" <?php echo meks_video_importer_selected( $import_options['mvi-post-status'], $post_status_key); ?>> 75 <?php echo esc_html($post_status); ?> 76 76 </option> 77 77 <?php endforeach; ?> … … 115 115 ?> 116 116 <tr class="form-field mvi-<?php echo esc_attr($taxonomy['id']); ?> <?php echo esc_attr($post_type->name)?> type-change post-type <?php echo esc_attr(meks_video_importer_taxonomy_classes($post_type)); ?>"> 117 <th class="row"><?php echo $taxonomy['name']; ?></th>117 <th class="row"><?php echo esc_html($taxonomy['name']); ?></th> 118 118 <td> 119 119 <?php … … 128 128 <label for="<?php echo esc_attr($taxonomy_id); ?>"> 129 129 <input id="<?php echo esc_attr($taxonomy_id); ?>" type="checkbox" name="mvi-taxonomies[<?php echo esc_attr($taxonomy['id']); ?>]" value="<?php echo esc_attr($term->term_id); ?>" <?php echo esc_attr($is_checked); ?>> 130 <?php echo $term->name; ?>130 <?php echo esc_html($term->name); ?> 131 131 </label> <br> 132 132 -
meks-video-importer/trunk/partials/list-table.php
r1804642 r3118332 1 <table class="wp-list-table <?php echo implode(' ', $this->get_table_classes()); ?>">1 <table class="wp-list-table <?php echo esc_attr(implode(' ', $this->get_table_classes())); ?>"> 2 2 <thead> 3 3 <tr> … … 6 6 </thead> 7 7 8 <tbody id="the-list"<?php echo $singular ? " data-wp-lists='list:$singular'" : ''; ?>> 8 <?php $list_type = $singular ? 'list:'. $singular : ''; ?> 9 10 <tbody id="the-list" data-wp-lists="<?php echo esc_attr( $list_type ); ?>"> 9 11 <?php $this->display_rows_or_placeholder(); ?> 10 12 </tbody> -
meks-video-importer/trunk/partials/templates.php
r1804642 r3118332 5 5 <?php foreach ($templates as $key => $template) : ?> 6 6 <li> 7 <a href="<?php echo esc_url(admin_url('tools.php?page=' . MEKS_VIDEO_IMPORTER_PAGE_SLUG . '&template=') . $key ); ?>"><?php echo $template['name']; ?> (<?php echo $template['provider']; ?>) </a>7 <a href="<?php echo esc_url(admin_url('tools.php?page=' . MEKS_VIDEO_IMPORTER_PAGE_SLUG . '&template=') . $key ); ?>"><?php echo esc_html($template['name']); ?> (<?php echo esc_html($template['provider']); ?>) </a> 8 8 <a class="mvi-delete-template" href="javascript:void(0)" data-id="<?php echo esc_attr($key); ?>"> 9 9 <span class="mvi-error"><span class="dashicons dashicons-no"></span></span><span class="meks-video-importer-delete-template-message"></span> -
meks-video-importer/trunk/partials/vimeo-settings.php
r1804642 r3118332 35 35 <?php endif; ?> 36 36 </div> 37 <p class="description"><?php _e( 'Where can I <a href="https://mekshq.com/faq/vimeo-client-id-secret-video-importer-wordpress-plugin/" target="_blank">get Vimeo Client ID & Secret</a>?', 'meks-video-importer'); ?></p>37 <p class="description"><?php echo wp_kses_post( __( 'Where can I <a href="https://mekshq.com/faq/vimeo-client-id-secret-video-importer-wordpress-plugin/" target="_blank">get Vimeo Client ID & Secret</a>?', 'meks-video-importer')); ?></p> 38 38 </td> 39 39 </tr> -
meks-video-importer/trunk/partials/vimeo.php
r1804642 r3118332 11 11 <select name="mvi-vimeo-type" id="mvi-vimeo-type" data-type="vimeo-type"> 12 12 <?php foreach ($fetch_from_options as $key => $option) :?> 13 <option value="<?php echo esc_attr($key); ?>" <?php echo meks_video_importer_selected($vimeo_options['mvi-vimeo-type'], $key); ?>><?php echo $option; ?></option>13 <option value="<?php echo esc_attr($key); ?>" <?php echo meks_video_importer_selected($vimeo_options['mvi-vimeo-type'], $key); ?>><?php echo esc_html($option); ?></option> 14 14 <?php endforeach; ?> 15 15 </select> … … 25 25 <br> 26 26 <p class="description type-change vimeo-type user <?php echo meks_video_importer_selected($vimeo_options['mvi-vimeo-type'], 'user', 'active'); ?>"> 27 <small><?php _e('Example: https://vimeo.com/<strong>SomeUser</strong>', 'meks-video-importer'); ?></small>27 <small><?php echo wp_kses_post(__('Example: https://vimeo.com/<strong>SomeUser</strong>', 'meks-video-importer')); ?></small> 28 28 <br> 29 <small><?php _e('User ID: <strong>SomeUser</strong>' , 'meks-video-importer'); ?></small>29 <small><?php echo wp_kses_post(__('User ID: <strong>SomeUser</strong>' , 'meks-video-importer')); ?></small> 30 30 </p> 31 31 32 32 <p class="description type-change vimeo-type group <?php echo meks_video_importer_selected($vimeo_options['mvi-vimeo-type'], 'group', 'active'); ?>"> 33 <small><?php _e('Example: https://vimeo.com/groups/<strong>SomeGroup</strong>', 'meks-video-importer'); ?></small>33 <small><?php echo wp_kses_post(__('Example: https://vimeo.com/groups/<strong>SomeGroup</strong>', 'meks-video-importer')); ?></small> 34 34 <br> 35 <small><?php _e('Group ID: <strong>SomeGroup</strong>' , 'meks-video-importer'); ?></small>35 <small><?php echo wp_kses_post(__('Group ID: <strong>SomeGroup</strong>' , 'meks-video-importer')); ?></small> 36 36 </p> 37 37 <p class="description type-change vimeo-type channel <?php echo meks_video_importer_selected($vimeo_options['mvi-vimeo-type'], 'channel', 'active'); ?>"> 38 <small><?php _e('Example: https://vimeo.com/channels/<strong>SomeChannel</strong>', 'meks-video-importer'); ?></small>38 <small><?php echo wp_kses_post(__('Example: https://vimeo.com/channels/<strong>SomeChannel</strong>', 'meks-video-importer')); ?></small> 39 39 <br> 40 <small><?php _e('Channel ID: <strong>SomeChannel</strong>' , 'meks-video-importer'); ?></small>40 <small><?php echo wp_kses_post(__('Channel ID: <strong>SomeChannel</strong>' , 'meks-video-importer')); ?></small> 41 41 </p> 42 42 </td> … … 48 48 </th> 49 49 <td> 50 <input class="smaller" id="mvi-vimeo-from-page" name="mvi-vimeo-from-page" type="number" value="<?php echo $vimeo_options['mvi-vimeo-from-page']; ?>"> -51 <input class="smaller" id="mvi-vimeo-to-page" name="mvi-vimeo-to-page" type="number" value="<?php echo $vimeo_options['mvi-vimeo-to-page']; ?>">50 <input class="smaller" id="mvi-vimeo-from-page" name="mvi-vimeo-from-page" type="number" value="<?php echo esc_attr($vimeo_options['mvi-vimeo-from-page']); ?>"> - 51 <input class="smaller" id="mvi-vimeo-to-page" name="mvi-vimeo-to-page" type="number" value="<?php echo esc_attr($vimeo_options['mvi-vimeo-to-page']); ?>"> 52 52 <button class="button button-default" id="mvi-fetch-vimeo"><?php echo esc_html__("Fetch videos", 'meks-video-importer'); ?></button> 53 53 <div id="mvi-vimeo-loader" class="spinner"></div> -
meks-video-importer/trunk/partials/youtube-settings.php
r1804642 r3118332 27 27 </div> 28 28 29 <p class="description"><?php _e( 'Where can I <a href="https://mekshq.com/faq/youtube-api-key-video-importer-wordpress-plugin/" target="_blank">get YouTube API key</a>?', 'meks-video-importer'); ?></p>29 <p class="description"><?php echo wp_kses_post( __( 'Where can I <a href="https://mekshq.com/faq/youtube-api-key-video-importer-wordpress-plugin/" target="_blank">get YouTube API key</a>?', 'meks-video-importer')); ?></p> 30 30 </td> 31 31 </tr> -
meks-video-importer/trunk/partials/youtube.php
r1804642 r3118332 11 11 <select name="mvi-youtube-type" id="mvi-youtube-type" data-type="youtube-type"> 12 12 <?php foreach ($options as $key => $option) : ?> 13 <option value="<?php echo esc_attr($key); ?>" <?php echo meks_video_importer_selected($youtube_options['mvi-youtube-type'], $key); ?>><?php echo $option; ?></option>13 <option value="<?php echo esc_attr($key); ?>" <?php echo meks_video_importer_selected($youtube_options['mvi-youtube-type'], $key); ?>><?php echo esc_html($option); ?></option> 14 14 <?php endforeach; ?> 15 15 </select> … … 27 27 <br> 28 28 <p class="description type-change youtube-type playlist <?php echo meks_video_importer_selected($youtube_options['mvi-youtube-type'], 'playlist', 'active'); ?>" > 29 <small><?php _e('Example: https://www.youtube.com/watch?v=g72rFb6P13w&list=<strong>PL2acA3M-2dSTuk6tSUblX_P7A0Yxj_Xca</strong>' , 'meks-video-importer'); ?></small>29 <small><?php echo wp_kses_post( __('Example: https://www.youtube.com/watch?v=g72rFb6P13w&list=<strong>PL2acA3M-2dSTuk6tSUblX_P7A0Yxj_Xca</strong>' , 'meks-video-importer')); ?></small> 30 30 <br> 31 <small><?php _e('Playlist ID: <strong>PL2acA3M-2dSTuk6tSUblX_P7A0Yxj_Xca</strong>' , 'meks-video-importer'); ?></small>31 <small><?php echo wp_kses_post( __('Playlist ID: <strong>PL2acA3M-2dSTuk6tSUblX_P7A0Yxj_Xca</strong>' , 'meks-video-importer')); ?></small> 32 32 </p> 33 33 34 34 <p class="description type-change youtube-type channelId <?php echo meks_video_importer_selected($youtube_options['mvi-youtube-type'], 'channelId', 'active'); ?>"> 35 <small class=""><?php _e('Example: https://www.youtube.com/channel/<strong>UCzs2Skg6P_9gdQGZo65YQTg</strong>', 'meks-video-importer'); ?></small>35 <small class=""><?php echo wp_kses_post( __('Example: https://www.youtube.com/channel/<strong>UCzs2Skg6P_9gdQGZo65YQTg</strong>', 'meks-video-importer')); ?></small> 36 36 <br> 37 <small><?php _e('Channel ID: <strong>UCzs2Skg6P_9gdQGZo65YQTg</strong>' , 'meks-video-importer'); ?></small>37 <small><?php echo wp_kses_post( __('Channel ID: <strong>UCzs2Skg6P_9gdQGZo65YQTg</strong>' , 'meks-video-importer')); ?></small> 38 38 </p> 39 39 40 40 <p class="description type-change youtube-type search <?php echo meks_video_importer_selected($youtube_options['mvi-youtube-type'], 'search', 'active'); ?>"> 41 <small><?php _e('Example: <strong>Meks WordPress Themes</strong>' , 'meks-video-importer'); ?></small>41 <small><?php echo wp_kses_post( __('Example: <strong>Meks WordPress Themes</strong>' , 'meks-video-importer')); ?></small> 42 42 </p> 43 43 <p class="description type-change youtube-type userId <?php echo meks_video_importer_selected($youtube_options['mvi-youtube-type'], 'userId', 'active'); ?>"> 44 <small><?php _e('Example: https://www.youtube.com/user/<strong>SomeUser</strong>', 'meks-video-importer'); ?></small>44 <small><?php echo wp_kses_post( __('Example: https://www.youtube.com/user/<strong>SomeUser</strong>', 'meks-video-importer')); ?></small> 45 45 <br> 46 <small><?php _e('User ID: <strong>SomeUser</strong>' , 'meks-video-importer'); ?></small>46 <small><?php echo wp_kses_post( __('User ID: <strong>SomeUser</strong>' , 'meks-video-importer')); ?></small> 47 47 </p> 48 48 -
meks-video-importer/trunk/readme.txt
r2965325 r3118332 2 2 Contributors: mekshq, aleksandargubecka 3 3 Donate link: https://mekshq.com 4 Tags: youtube, vimeo, video, import, bulk, videos, importer, channel, playlist, user4 Tags: youtube, vimeo, video, channel, playlist 5 5 Requires at least: 3.7 6 Tested up to: 6. 37 Stable tag: 1.0.1 16 Tested up to: 6.5 7 Stable tag: 1.0.12 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl.html … … 46 46 47 47 == Changelog == 48 49 = 1.0.12 = 50 * WP 6.5 compatibility tested 51 * Patched a minor security issue 48 52 49 53 = 1.0.11 =
Note: See TracChangeset
for help on using the changeset viewer.