Plugin Directory

Changeset 2984965


Ignore:
Timestamp:
10/27/2023 01:47:26 PM (2 years ago)
Author:
webdevstudios
Message:

release version 1.2.2

Location:
automatic-featured-images-from-videos
Files:
9 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • automatic-featured-images-from-videos/trunk/automatic-featured-images-from-videos.php

    r2957012 r2984965  
    44 * Plugin URI: https://webdevstudios.com
    55 * 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.1
     6 * Version: 1.2.2
    77 * Author: WebDevStudios
    88 * Author URI: https://webdevstudios.com
     
    117117    $vimeo_id            = wds_check_for_vimeo( $content );
    118118    $video_thumbnail_url = '';
     119    $video_url           = '';
     120    $video_embed_url     = '';
    119121    $youtube_details     = [];
    120122    $vimeo_details       = [];
     
    400402
    401403    // @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' );
    403405    if ( 200 === wp_remote_retrieve_response_code( $vimeo_data ) ) {
    404406        $response                     = json_decode( $vimeo_data['body'] );
  • automatic-featured-images-from-videos/trunk/includes/ajax.php

    r1834150 r2984965  
    6767 * Return actual processing for specific post.
    6868 *
    69  * @return string|void
     69 * @return string
    7070 */
    7171function wds_featured_images_from_video_processing_current_disposition() {
  • automatic-featured-images-from-videos/trunk/readme.txt

    r2957012 r2984965  
    11=== Automatic Featured Images from Videos ===
    22
    3 Contributors: bradparbs, coreymcollins, jtsternberg, webdevstudios, pluginize, binarygary
     3Contributors: webdevstudios, pluginize
    44Donate link: http://webdevstudios.com/
    55Tags: video, youtube, vimeo, featured image
    66Requires at least: 5.0
    7 Tested up to: 6.3
    8 Stable tag: 1.2.1
     7Tested up to: 6.4
     8Stable tag: 1.2.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4141== Changelog ==
    4242
     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
    4348= 1.2.1 =
    4449* Confirmed compatibility with WordPress 6.3
     
    6873* Fixed: Modified the way the vimeo embed URL is returned.
    6974* 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 titles
    92 * Fix bug where duplicate images would be uploaded and set as featured image when editing a post
    93 
    94 = 1.0 =
    95 * Initial release
Note: See TracChangeset for help on using the changeset viewer.