Changeset 971730
- Timestamp:
- 08/24/2014 03:33:09 PM (12 years ago)
- Location:
- video-thumbnails
- Files:
-
- 7 deleted
- 3 edited
- 35 copied
-
tags/2.10.2 (copied) (copied from video-thumbnails/trunk)
-
tags/2.10.2/css/settings.css (copied) (copied from video-thumbnails/trunk/css/settings.css)
-
tags/2.10.2/js/settings.js (copied) (copied from video-thumbnails/trunk/js/settings.js)
-
tags/2.10.2/languages (copied) (copied from video-thumbnails/trunk/languages)
-
tags/2.10.2/languages/video-thumbnails-de_DE.mo (copied) (copied from video-thumbnails/trunk/languages/video-thumbnails-de_DE.mo)
-
tags/2.10.2/languages/video-thumbnails-de_DE.po (copied) (copied from video-thumbnails/trunk/languages/video-thumbnails-de_DE.po)
-
tags/2.10.2/php/class-video-thumbnails-settings.php (copied) (copied from video-thumbnails/trunk/php/class-video-thumbnails-settings.php) (1 diff)
-
tags/2.10.2/php/extensions/automatic-youtube-video-posts.php (copied) (copied from video-thumbnails/trunk/php/extensions/automatic-youtube-video-posts.php)
-
tags/2.10.2/php/extensions/class-ayvp-thumbnails.php (deleted)
-
tags/2.10.2/php/extensions/class-simple-video-embedder-thumbnails.php (deleted)
-
tags/2.10.2/php/extensions/class-video-thumbnails-extension.php (deleted)
-
tags/2.10.2/php/extensions/extensions.php (copied) (copied from video-thumbnails/trunk/php/extensions/extensions.php)
-
tags/2.10.2/php/extensions/simple-video-embedder.php (copied) (copied from video-thumbnails/trunk/php/extensions/simple-video-embedder.php)
-
tags/2.10.2/php/extensions/wp-robot.php (copied) (copied from video-thumbnails/trunk/php/extensions/wp-robot.php)
-
tags/2.10.2/php/providers/class-blip-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-blip-thumbnails.php)
-
tags/2.10.2/php/providers/class-collegehumor-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-collegehumor-thumbnails.php)
-
tags/2.10.2/php/providers/class-dailymotion-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-dailymotion-thumbnails.php)
-
tags/2.10.2/php/providers/class-facebook-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-facebook-thumbnails.php)
-
tags/2.10.2/php/providers/class-funnyordie-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-funnyordie-thumbnails.php)
-
tags/2.10.2/php/providers/class-googledrive-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-googledrive-thumbnails.php)
-
tags/2.10.2/php/providers/class-justintv-thumbnails.php (deleted)
-
tags/2.10.2/php/providers/class-kaltura-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-kaltura-thumbnails.php)
-
tags/2.10.2/php/providers/class-metacafe-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-metacafe-thumbnails.php)
-
tags/2.10.2/php/providers/class-mpora-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-mpora-thumbnails.php)
-
tags/2.10.2/php/providers/class-rutube-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-rutube-thumbnails.php)
-
tags/2.10.2/php/providers/class-sapo-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-sapo-thumbnails.php)
-
tags/2.10.2/php/providers/class-ted-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-ted-thumbnails.php)
-
tags/2.10.2/php/providers/class-tudou-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-tudou-thumbnails.php)
-
tags/2.10.2/php/providers/class-twitch-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-twitch-thumbnails.php)
-
tags/2.10.2/php/providers/class-video-thumbnails-provider.php (copied) (copied from video-thumbnails/trunk/php/providers/class-video-thumbnails-provider.php)
-
tags/2.10.2/php/providers/class-video-thumbnails-providers.php (deleted)
-
tags/2.10.2/php/providers/class-vimeo-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-vimeo-thumbnails.php)
-
tags/2.10.2/php/providers/class-vine-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-vine-thumbnails.php)
-
tags/2.10.2/php/providers/class-vk-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-vk-thumbnails.php)
-
tags/2.10.2/php/providers/class-wistia-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-wistia-thumbnails.php)
-
tags/2.10.2/php/providers/class-youku-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-youku-thumbnails.php)
-
tags/2.10.2/php/providers/class-youtube-thumbnails.php (copied) (copied from video-thumbnails/trunk/php/providers/class-youtube-thumbnails.php)
-
tags/2.10.2/php/providers/providers.php (copied) (copied from video-thumbnails/trunk/php/providers/providers.php)
-
tags/2.10.2/readme.txt (copied) (copied from video-thumbnails/trunk/readme.txt) (2 diffs)
-
tags/2.10.2/screenshot-1.gif (deleted)
-
tags/2.10.2/screenshot-2.gif (deleted)
-
tags/2.10.2/video-thumbnails.php (copied) (copied from video-thumbnails/trunk/video-thumbnails.php) (3 diffs)
-
trunk/php/class-video-thumbnails-settings.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/video-thumbnails.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
video-thumbnails/tags/2.10.2/php/class-video-thumbnails-settings.php
r950682 r971730 282 282 if ( !current_user_can( 'manage_options' ) ) die(); 283 283 284 // Try saving 'http://img.youtube.com/vi/ dMH0bHeiRNg/0.jpg' to media library285 $attachment_id = Video_Thumbnails::save_to_media_library( 'http://img.youtube.com/vi/ dMH0bHeiRNg/0.jpg', 1 );284 // Try saving 'http://img.youtube.com/vi/aKAGU2jkaNg/maxresdefault.jpg' to media library 285 $attachment_id = Video_Thumbnails::save_to_media_library( 'http://img.youtube.com/vi/aKAGU2jkaNg/maxresdefault.jpg', 1 ); 286 286 if ( is_wp_error( $attachment_id ) ) { 287 287 echo '<p><span style="color:red;">✖</span> ' . $attachment_id->get_error_message() . '</p>'; -
video-thumbnails/tags/2.10.2/readme.txt
r966981 r971730 5 5 Requires at least: 3.2 6 6 Tested up to: 3.9.2 7 Stable tag: 2.10. 17 Stable tag: 2.10.2 8 8 9 9 Video Thumbnails simplifies the process of automatically displaying video thumbnails in your WordPress template. … … 131 131 132 132 == Changelog == 133 134 = 2.10.2 = 135 * Added actions hooks before and after generating attachment metadata 133 136 134 137 = 2.10.1 = -
video-thumbnails/tags/2.10.2/video-thumbnails.php
r966981 r971730 6 6 Author: Sutherland Boswell 7 7 Author URI: http://sutherlandboswell.com 8 Version: 2.10. 18 Version: 2.10.2 9 9 License: GPL2 10 10 Text Domain: video-thumbnails … … 31 31 define( 'VIDEO_THUMBNAILS_PATH', dirname(__FILE__) ); 32 32 define( 'VIDEO_THUMBNAILS_FIELD', '_video_thumbnail' ); 33 define( 'VIDEO_THUMBNAILS_VERSION', '2.10. 1' );33 define( 'VIDEO_THUMBNAILS_VERSION', '2.10.2' ); 34 34 35 35 // Providers … … 405 405 // for the function wp_generate_attachment_metadata() to work 406 406 require_once( ABSPATH . 'wp-admin/includes/image.php' ); 407 do_action( 'video_thumbnails/pre_generate_attachment_metadata', $attach_id, $upload['file'] ); 407 408 $attach_data = wp_generate_attachment_metadata( $attach_id, $upload['file'] ); 409 do_action( 'video_thumbnails/after_generate_attachment_metadata', $attach_id, $upload['file'] ); 408 410 wp_update_attachment_metadata( $attach_id, $attach_data ); 409 411 -
video-thumbnails/trunk/php/class-video-thumbnails-settings.php
r950682 r971730 282 282 if ( !current_user_can( 'manage_options' ) ) die(); 283 283 284 // Try saving 'http://img.youtube.com/vi/ dMH0bHeiRNg/0.jpg' to media library285 $attachment_id = Video_Thumbnails::save_to_media_library( 'http://img.youtube.com/vi/ dMH0bHeiRNg/0.jpg', 1 );284 // Try saving 'http://img.youtube.com/vi/aKAGU2jkaNg/maxresdefault.jpg' to media library 285 $attachment_id = Video_Thumbnails::save_to_media_library( 'http://img.youtube.com/vi/aKAGU2jkaNg/maxresdefault.jpg', 1 ); 286 286 if ( is_wp_error( $attachment_id ) ) { 287 287 echo '<p><span style="color:red;">✖</span> ' . $attachment_id->get_error_message() . '</p>'; -
video-thumbnails/trunk/readme.txt
r966981 r971730 5 5 Requires at least: 3.2 6 6 Tested up to: 3.9.2 7 Stable tag: 2.10. 17 Stable tag: 2.10.2 8 8 9 9 Video Thumbnails simplifies the process of automatically displaying video thumbnails in your WordPress template. … … 131 131 132 132 == Changelog == 133 134 = 2.10.2 = 135 * Added actions hooks before and after generating attachment metadata 133 136 134 137 = 2.10.1 = -
video-thumbnails/trunk/video-thumbnails.php
r966981 r971730 6 6 Author: Sutherland Boswell 7 7 Author URI: http://sutherlandboswell.com 8 Version: 2.10. 18 Version: 2.10.2 9 9 License: GPL2 10 10 Text Domain: video-thumbnails … … 31 31 define( 'VIDEO_THUMBNAILS_PATH', dirname(__FILE__) ); 32 32 define( 'VIDEO_THUMBNAILS_FIELD', '_video_thumbnail' ); 33 define( 'VIDEO_THUMBNAILS_VERSION', '2.10. 1' );33 define( 'VIDEO_THUMBNAILS_VERSION', '2.10.2' ); 34 34 35 35 // Providers … … 405 405 // for the function wp_generate_attachment_metadata() to work 406 406 require_once( ABSPATH . 'wp-admin/includes/image.php' ); 407 do_action( 'video_thumbnails/pre_generate_attachment_metadata', $attach_id, $upload['file'] ); 407 408 $attach_data = wp_generate_attachment_metadata( $attach_id, $upload['file'] ); 409 do_action( 'video_thumbnails/after_generate_attachment_metadata', $attach_id, $upload['file'] ); 408 410 wp_update_attachment_metadata( $attach_id, $attach_data ); 409 411
Note: See TracChangeset
for help on using the changeset viewer.