Changeset 2984965
- Timestamp:
- 10/27/2023 01:47:26 PM (2 years ago)
- Location:
- automatic-featured-images-from-videos
- Files:
-
- 9 added
- 1 deleted
- 3 edited
-
tags/1.2.2 (added)
-
tags/1.2.2/automatic-featured-images-from-videos.php (added)
-
tags/1.2.2/includes (added)
-
tags/1.2.2/includes/ajax.php (added)
-
tags/1.2.2/includes/bulk-operations.php (added)
-
tags/1.2.2/includes/cli.php (added)
-
tags/1.2.2/js (added)
-
tags/1.2.2/js/button.js (added)
-
tags/1.2.2/readme.txt (added)
-
trunk/README.md (deleted)
-
trunk/automatic-featured-images-from-videos.php (modified) (3 diffs)
-
trunk/includes/ajax.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
automatic-featured-images-from-videos/trunk/automatic-featured-images-from-videos.php
r2957012 r2984965 4 4 * Plugin URI: https://webdevstudios.com 5 5 * Description: If a YouTube or Vimeo video exists in the first few paragraphs of a post, automatically set the post's featured image to that video's thumbnail. 6 * Version: 1.2. 16 * Version: 1.2.2 7 7 * Author: WebDevStudios 8 8 * Author URI: https://webdevstudios.com … … 117 117 $vimeo_id = wds_check_for_vimeo( $content ); 118 118 $video_thumbnail_url = ''; 119 $video_url = ''; 120 $video_embed_url = ''; 119 121 $youtube_details = []; 120 122 $vimeo_details = []; … … 400 402 401 403 // @todo Get remote checking matching with wds_get_youtube_details. 402 $vimeo_data = wp_remote_get( 'https:// www.vimeo.com/api/v2/video/' . intval( $vimeo_id ) . '.json' );404 $vimeo_data = wp_remote_get( 'https://vimeo.com/api/v2/video/' . intval( $vimeo_id ) . '.json' ); 403 405 if ( 200 === wp_remote_retrieve_response_code( $vimeo_data ) ) { 404 406 $response = json_decode( $vimeo_data['body'] ); -
automatic-featured-images-from-videos/trunk/includes/ajax.php
r1834150 r2984965 67 67 * Return actual processing for specific post. 68 68 * 69 * @return string |void69 * @return string 70 70 */ 71 71 function wds_featured_images_from_video_processing_current_disposition() { -
automatic-featured-images-from-videos/trunk/readme.txt
r2957012 r2984965 1 1 === Automatic Featured Images from Videos === 2 2 3 Contributors: bradparbs, coreymcollins, jtsternberg, webdevstudios, pluginize, binarygary3 Contributors: webdevstudios, pluginize 4 4 Donate link: http://webdevstudios.com/ 5 5 Tags: video, youtube, vimeo, featured image 6 6 Requires at least: 5.0 7 Tested up to: 6. 38 Stable tag: 1.2. 17 Tested up to: 6.4 8 Stable tag: 1.2.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 == Changelog == 42 42 43 = 1.2.2 = 44 * Confirmed compatibility with WordPress 6.4 45 * Fixed: PHP notices around video url variables 46 * Updated: removed `www.` from Vimeo endpoints that showed permanent redirect messages. 47 43 48 = 1.2.1 = 44 49 * Confirmed compatibility with WordPress 6.3 … … 68 73 * Fixed: Modified the way the vimeo embed URL is returned. 69 74 * Fixed: Prevent multiple instances of same found image from being uploaded to media library. 70 71 = 1.0.5 =72 * Added function wds_get_video_url when passed a post_id returns a video URL.73 * Added function wds_get_embed_video_url when passed a post_id returns a video URL that is embeddable.74 * Added function wds_post_has_video to check if a post_id has video.75 * Deprecated wds_set_media_as_featured_image.76 * Refactored the default save_post entry function to handle logic better.77 78 = 1.0.4 =79 * Store the full video url in post meta _video_url.80 * Refactored checks for video ID.81 82 = 1.0.3 =83 * Switch to using WP HTTP API functions over get_headers(). Hopefully removes potential server config conflicts.84 * Reverse originally incorrect logic in YouTube thumbnail selection based on header results.85 * Return early if saving a revision.86 87 = 1.0.2 =88 * Add support for youtube short links, fixes [#3](https://github.com/WebDevStudios/Automatic-Featured-Images-from-Videos/issues/3)89 90 = 1.0.1 =91 * Fix bug with special characters in YouTube video titles92 * Fix bug where duplicate images would be uploaded and set as featured image when editing a post93 94 = 1.0 =95 * Initial release
Note: See TracChangeset
for help on using the changeset viewer.