Plugin Directory

Changeset 1555973

Timestamp:
12/16/2016 08:53:58 AM (8 years ago)
Author:
a.hoereth
Message:

Version 2.3.1

Location:
featured-video-plus
Files:
54 added
4 edited

Legend:

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

    r1555602 r1555973  
    11# Changelog #
     2
     3
     4
    25
    36## 2.3.0: 2016-12-15 ##
  • featured-video-plus/trunk/featured-video-plus.php

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

    r1555602 r1555973  
    240240     */
    241241    public function metabox_save( $post_id ) {
    242         self::verify_nonce( $post_id );
    243 
    244242        if ( ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) ||
    245              ( defined( 'DOING_AJAX' )     && DOING_AJAX )     ||
    246              ( ! current_user_can( 'edit_post', $post_id ) )   ||
    247              ( false !== wp_is_post_revision( $post_id ) )
     243             ( defined( 'DOING_AJAX' )     && DOING_AJAX ) ||
     244             ( ! current_user_can( 'edit_post', $post_id ) ) ||
     245             ( false !== wp_is_post_revision( $post_id ) ) ||
     246             ( ! self::verify_nonce( $post_id ) )
    248247        ) {
    249248            return;
     
    762761     * @return bool/none  Return bool if $bool is set to true
    763762     */
    764     private static function verify_nonce( $identifier, $bool = false ) {
     763    private static function verify_nonce( $identifier ) {
    765764        $action = self::get_nonce_action( $identifier );
    766765
     
    769768            ! wp_verify_nonce( $_REQUEST[ 'fvp_nonce' ], $action )
    770769        ) {
    771             if ( ! $bool ) {
    772                 wp_nonce_ays( $action );
    773                 exit;
    774             }
    775 
    776770            return false;
    777771        }
  • featured-video-plus/trunk/readme.txt

    r1555602 r1555973  
    1111Requires at least: 3.7
    1212Tested up to: 4.7
    13 Stable tag: 2.3.0
     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.
     
    112112
    113113== Changelog ==
     114
     115
     116
    114117
    115118= 2.3.0: 2016-12-15 =
Note: See TracChangeset for help on using the changeset viewer.