Changeset 2772867
- Timestamp:
- 08/20/2022 11:25:15 AM (3 years ago)
- Location:
- yotuwp-easy-youtube-embed/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
yotuwp-easy-youtube-embed/trunk/readme.txt
r2571421 r2772867 114 114 115 115 == Changelog == 116 = 1.3.5 - Aug 20th, 2022 = 117 * Fix issue admin with delete cache 118 119 New version going to release soon! 116 120 117 121 = 1.3.4.5 - Aug 22th, 2020 = -
yotuwp-easy-youtube-embed/trunk/yotuwp.php
r2368193 r2772867 4 4 * Plugin URI: https://www.yotuwp.com/ 5 5 * Description: Easy embed YouTube playlist, channel, videos and user videos to posts/pages/widgets 6 * Version: 1.3. 4.56 * Version: 1.3.5 7 7 * Text Domain: yotuwp-easy-youtube-embed 8 8 * Domain Path: /languages … … 18 18 19 19 if( !defined( 'YOTUWP_VERSION' ) ) 20 define( 'YOTUWP_VERSION', '1.3. 4.5' );20 define( 'YOTUWP_VERSION', '1.3.5' ); 21 21 22 22 global $yotuwp, $yotuwp_inline_script; … … 1308 1308 1309 1309 public function deletecache() { 1310 $status = 0; 1311 $msg = __('There is a error on clear cache files. Please ensure you have permission on folder /wp-content/yotuwp_cache/', 'yotuwp-easy-youtube-embed'); 1312 if ($this->clear_cache()) { 1313 $status = 1; 1314 $msg = __('All cache files were deleted!', 'yotuwp-easy-youtube-embed'); 1315 } 1316 wp_send_json(array( 'status' => $status, 'msg' => $msg) ); 1310 if ( is_admin()) { 1311 $status = 0; 1312 $msg = __('There is a error on clear cache files. Please ensure you have permission on folder /wp-content/yotuwp_cache/', 'yotuwp-easy-youtube-embed'); 1313 if ($this->clear_cache()) { 1314 $status = 1; 1315 $msg = __('All cache files were deleted!', 'yotuwp-easy-youtube-embed'); 1316 } 1317 wp_send_json(array( 'status' => $status, 'msg' => $msg) ); 1318 } else { 1319 header('HTTP/1.0 403 Forbidden'); 1320 die('You are not allowed to access this file.'); 1321 } 1322 1317 1323 } 1318 1324
Note: See TracChangeset
for help on using the changeset viewer.