Plugin Directory

Changeset 1556799

Timestamp:
12/17/2016 11:06:17 PM (8 years ago)
Author:
a.hoereth
Message:

Commit 2.3.3 changes.

Location:
featured-video-plus/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • featured-video-plus/trunk/CHANGELOG.md

    r1556378 r1556799  
    11# Changelog #
    22
    3 ## 2.3.2: 2016-12-16 ##
    4 * Quick fix for *illegal video* message when using oEmbed. ([*](https://wordpress.org/support/topic/illegal-warning-displays-on-youtube-videos-2/), [*](https://wordpress.org/support/topic/illegal-warning-displays-on-youtube-videos/))
     3## 2.3. ##
     4* /))
    55
    6 ## 2.3.1: 2016-12-16 ##
    7 * Quick fix for *are you sure* error on post creation. ([*](https://wordpress.org/support/topic/latest-update-causing-error/), [*](https://wordpress.org/support/topic/error-are-you-sure-you-want-to-do-this-3/))
     6## 2.3.1 & 2.3.2: 2016-12-16 ##
     7* Fix for *illegal video* message when using oEmbed. ([*](https://wordpress.org/support/topic/illegal-warning-displays-on-youtube-videos-2/), [*](https://wordpress.org/support/topic/illegal-warning-displays-on-youtube-videos/))
     8* Fix for *are you sure* error on post creation. ([*](https://wordpress.org/support/topic/latest-update-causing-error/), [*](https://wordpress.org/support/topic/error-are-you-sure-you-want-to-do-this-3/))
    89
    910## 2.3.0: 2016-12-15 ##
  • featured-video-plus/trunk/featured-video-plus.php

    r1556378 r1556799  
    44Plugin URI: http://yrnxt.com/wordpress/featured-video-plus/
    55Description: Add Featured Videos to your posts and pages.
    6 Version: 2.3.2
     6Version: 2.3.
    77Author: Alexander Höreth
    88Author URI: http://yrnxt.com
     
    3333// CONSTANTS
    3434if ( ! defined( 'FVP_VERSION' ) ) {
    35     define( 'FVP_VERSION', '2.3.2' );
     35    define( 'FVP_VERSION', '2.3.' );
    3636}
    3737
  • featured-video-plus/trunk/php/class-backend.php

    r1556378 r1556799  
    270270        if (
    271271            $post_id === -1 ||
    272             ! self::verify_nonce( $post_id, true ) ||
     272            ! self::verify_nonce( $post_id ) ||
    273273            ! current_user_can( 'edit_post', $post_id )
    274274        ) {
     
    556556        if (
    557557            $post_id === -1 ||
    558             ! self::verify_nonce( $post_id, true )
     558            ! self::verify_nonce( )
    559559        ) {
    560560            wp_send_json_error();
  • featured-video-plus/trunk/php/class-main.php

    r1555602 r1556799  
    5959        $general['autoplay'] = self::parse_autoplay_options( $options, $ajax );
    6060
    61         // Responsive scaling option. Not used when viewing the admin screen.
    62         $responsive =
    63             ! empty($options['sizing']['responsive']) &&
    64             $options['sizing']['responsive'] &&
    65             ( ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || ! is_admin() );
     61        // Responsive scaling option.
     62        $responsive = ! empty( $options['sizing']['responsive'] ) &&
     63                      $options['sizing']['responsive'];
    6664
    6765        // Alignment option
     
    181179        $single_replace = is_singular() &&
    182180            ! empty( $options['single_replace'] ) && $options['single_replace'];
     181
     182
    183183
    184184        // Don't show a video.
     
    228228
    229229        // Replace the featured image with the video.
    230         return get_the_post_video( $post_id, $size ) . $onload;
     230        return get_the_post_video( $post_id, $ ) . $onload;
    231231    }
    232232
     
    311311        if ( empty( $width ) ) {
    312312            $width = ! empty( $options['sizing']['width'] ) ?
    313                 $options['sizing']['width'] : 1280;
     313                : 1280;
    314314        }
    315315
     
    318318            $height = ! empty( $original ) ?
    319319                round( $original['height'] * ($width / $original['width']) ) :
    320                 $height = $width / 16 * 9;
     320                ;
    321321        }
    322322
  • featured-video-plus/trunk/readme.txt

    r1556378 r1556799  
    1111Requires at least: 3.7
    1212Tested up to: 4.7
    13 Stable tag: 2.3.2
     13Stable tag: 2.3.
    1414
    1515Add Featured Videos to your posts and pages. Works like magic with most themes which use Featured Images. Local Media, YouTube, Vimeo and many more.
     
    113113== Changelog ==
    114114
    115 = 2.3.2: 2016-12-16 =
    116 * Quick fix for *illegal video* message when using oEmbed. ([*](https://wordpress.org/support/topic/illegal-warning-displays-on-youtube-videos-2/), [*](https://wordpress.org/support/topic/illegal-warning-displays-on-youtube-videos/))
    117 
    118 = 2.3.1: 2016-12-16 =
    119 * Quick fix for *are you sure* error on post creation. ([*](https://wordpress.org/support/topic/latest-update-causing-error/), [*](https://wordpress.org/support/topic/error-are-you-sure-you-want-to-do-this-3/))
     115= 2.3.3: 2016-12-17 =
     116* Fix frontend ajax requests. ([*](https://wordpress.org/support/topic/video-overlay-does-not-work/))
     117
     118= 2.3.1 & 2.3.2: 2016-12-16 =
     119* Fix for *illegal video* message when using oEmbed. ([*](https://wordpress.org/support/topic/illegal-warning-displays-on-youtube-videos-2/), [*](https://wordpress.org/support/topic/illegal-warning-displays-on-youtube-videos/))
     120* Fix for *are you sure* error on post creation. ([*](https://wordpress.org/support/topic/latest-update-causing-error/), [*](https://wordpress.org/support/topic/error-are-you-sure-you-want-to-do-this-3/))
    120121
    121122= 2.3.0: 2016-12-15 =
Note: See TracChangeset for help on using the changeset viewer.