Changeset 2489710
- Timestamp:
- 03/08/2021 04:30:08 PM (5 years ago)
- Location:
- wp-udemy
- Files:
-
- 14 deleted
- 16 edited
- 1 copied
-
assets/banner-1544x500.png (modified) (1 prop) (previous)
-
assets/banner-772x250.png (modified) (1 prop) (previous)
-
assets/icon-128x128.png (modified) (1 prop) (previous)
-
assets/icon-256x256.png (modified) (1 prop) (previous)
-
assets/screenshot-1.png (modified) (1 prop) (previous)
-
assets/screenshot-2.png (modified) (1 prop) (previous)
-
assets/screenshot-3.png (modified) (1 prop) (previous)
-
assets/screenshot-4.png (modified) (1 prop) (previous)
-
assets/screenshot-5.png (modified) (1 prop) (previous)
-
assets/screenshot-6.png (modified) (1 prop) (previous)
-
tags/1.2.1 (copied) (copied from wp-udemy/trunk)
-
tags/1.2.1/assets/src (deleted)
-
tags/1.2.1/includes/functions.php (modified) (1 diff)
-
tags/1.2.1/package-lock.json (deleted)
-
tags/1.2.1/package.json (deleted)
-
tags/1.2.1/public (deleted)
-
tags/1.2.1/readme.txt (modified) (2 diffs)
-
tags/1.2.1/webpack.common.js (deleted)
-
tags/1.2.1/webpack.config.prod.js (deleted)
-
tags/1.2.1/wordpress-org (deleted)
-
tags/1.2.1/wp-udemy.php (modified) (2 diffs)
-
trunk/assets/src (deleted)
-
trunk/includes/functions.php (modified) (1 diff)
-
trunk/package-lock.json (deleted)
-
trunk/package.json (deleted)
-
trunk/public (deleted)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/webpack.common.js (deleted)
-
trunk/webpack.config.prod.js (deleted)
-
trunk/wordpress-org (deleted)
-
trunk/wp-udemy.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-udemy/assets/banner-1544x500.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
wp-udemy/assets/banner-772x250.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
wp-udemy/assets/icon-128x128.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
wp-udemy/assets/icon-256x256.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
wp-udemy/assets/screenshot-1.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
wp-udemy/assets/screenshot-2.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
wp-udemy/assets/screenshot-3.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
wp-udemy/assets/screenshot-4.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
wp-udemy/assets/screenshot-5.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
wp-udemy/assets/screenshot-6.png
-
Property
svn:mime-type
changed from
application/octet-streamtoimage/png
-
Property
svn:mime-type
changed from
-
wp-udemy/tags/1.2.1/includes/functions.php
r2449422 r2489710 695 695 return null; 696 696 697 // Upload image 698 $file_extension = substr( $file_url , strrpos( $file_url, '.' ) + 1 ); 697 // Omit file hash, if exists 698 list( $file_url_without_hash ) = explode( '?', $file_url ); 699 700 $haystack = ( $file_url_without_hash ) ? $file_url_without_hash : $file_url; 701 702 $file_extension = substr( $haystack , strrpos( $haystack, '.' ) + 1 ); 699 703 700 704 if ( ! in_array( $file_extension, array( 'jpg', 'jpeg', 'png' ) ) ) 701 705 return array( 'error' => __( 'Sorry, this file type is not permitted for security reasons.' ) ); 702 706 707 // Upload image 703 708 $file_upload_dir = ufwp_get_downloaded_course_images_path(); 704 709 -
wp-udemy/tags/1.2.1/readme.txt
r2449422 r2489710 5 5 Requires at least: 3.5.1 6 6 Requires PHP: 5.6.0 7 Tested up to: 5.6. 08 Stable tag: 1.2. 07 Tested up to: 5.6.2 8 Stable tag: 1.2.1 9 9 License: GPLv3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 122 122 == Changelog == 123 123 124 = Version 1.2.1 (8th March 2021) = 125 * Fix: Displaying downloaded course images didn't work 126 * WordPress v5.6.2 compatibility 127 124 128 = Version 1.2.0 (3rd January 2021) = 125 129 * Tweak: API credentials validation now shows an error in case the site/domain is being blocked by the Udemy firewall -
wp-udemy/tags/1.2.1/wp-udemy.php
r2449422 r2489710 4 4 * Plugin URI: https://wordpress.org/plugins/wp-udemy/ 5 5 * Description: Display Online Learning Courses from the Udemy™ platform inside your WordPress posts and pages. 6 * Version: 1.2. 06 * Version: 1.2.1 7 7 * Author: KryptoniteWP 8 8 * Author URI: https://kryptonitewp.com … … 65 65 66 66 // Plugin version 67 define( 'UFWP_VER', '1.2. 0' );67 define( 'UFWP_VER', '1.2.1' ); 68 68 69 69 // Plugin path -
wp-udemy/trunk/includes/functions.php
r2449422 r2489710 695 695 return null; 696 696 697 // Upload image 698 $file_extension = substr( $file_url , strrpos( $file_url, '.' ) + 1 ); 697 // Omit file hash, if exists 698 list( $file_url_without_hash ) = explode( '?', $file_url ); 699 700 $haystack = ( $file_url_without_hash ) ? $file_url_without_hash : $file_url; 701 702 $file_extension = substr( $haystack , strrpos( $haystack, '.' ) + 1 ); 699 703 700 704 if ( ! in_array( $file_extension, array( 'jpg', 'jpeg', 'png' ) ) ) 701 705 return array( 'error' => __( 'Sorry, this file type is not permitted for security reasons.' ) ); 702 706 707 // Upload image 703 708 $file_upload_dir = ufwp_get_downloaded_course_images_path(); 704 709 -
wp-udemy/trunk/readme.txt
r2449422 r2489710 5 5 Requires at least: 3.5.1 6 6 Requires PHP: 5.6.0 7 Tested up to: 5.6. 08 Stable tag: 1.2. 07 Tested up to: 5.6.2 8 Stable tag: 1.2.1 9 9 License: GPLv3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 122 122 == Changelog == 123 123 124 = Version 1.2.1 (8th March 2021) = 125 * Fix: Displaying downloaded course images didn't work 126 * WordPress v5.6.2 compatibility 127 124 128 = Version 1.2.0 (3rd January 2021) = 125 129 * Tweak: API credentials validation now shows an error in case the site/domain is being blocked by the Udemy firewall -
wp-udemy/trunk/wp-udemy.php
r2449422 r2489710 4 4 * Plugin URI: https://wordpress.org/plugins/wp-udemy/ 5 5 * Description: Display Online Learning Courses from the Udemy™ platform inside your WordPress posts and pages. 6 * Version: 1.2. 06 * Version: 1.2.1 7 7 * Author: KryptoniteWP 8 8 * Author URI: https://kryptonitewp.com … … 65 65 66 66 // Plugin version 67 define( 'UFWP_VER', '1.2. 0' );67 define( 'UFWP_VER', '1.2.1' ); 68 68 69 69 // Plugin path
Note: See TracChangeset
for help on using the changeset viewer.