Plugin Directory

Changeset 3337714


Ignore:
Timestamp:
08/01/2025 10:17:01 AM (8 months ago)
Author:
constantin.boiangiu
Message:

Version 2.3.5.1

Location:
codeflavors-vimeo-video-post-lite/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • codeflavors-vimeo-video-post-lite/trunk/CHANGELOG.md

    r3301523 r3337714  
    11*** Vimeotheque Lite Changelog ***
     2
     32025-08-01 - Version 2.3.5.1
     4- Load plugin add-ons information only when needed;
     5- Changed timeout for the add-ons information to 3s;
     6- Manage errors returned from Vimeo API queries in a more granular way.
    27
    382025-05-27 - Version 2.3.4.4
  • codeflavors-vimeo-video-post-lite/trunk/includes/libs/admin/admin.class.php

    r3305670 r3337714  
    6464        // store object reference
    6565        $this->post_type = $post_type;
    66         $this->extensions = new Extensions();
    67 
    68         add_action( 'wp_loaded', [ $this, 'init' ], -20 );
     66
     67        add_action( 'wp_loaded', [ $this, 'init' ], -20 );
    6968
    7069        // add admin capabilities
     
    453452     */
    454453    public function get_extensions() {
    455         return $this->extensions;
     454        if( !is_null($this->extensions) ){
     455            return $this->extensions;
     456        }
     457
     458        $this->extensions = new Extensions();
     459        return $this->extensions;
    456460    }
    457461
  • codeflavors-vimeo-video-post-lite/trunk/includes/libs/extensions/remote-loader.class.php

    r3305670 r3337714  
    5555                $this->get_rest_api_endpoint(),
    5656                [
    57                     'timeout'   => 30,
     57                    'timeout'   => 3,
    5858                    'sslverify' => false,
    5959                ]
  • codeflavors-vimeo-video-post-lite/trunk/includes/libs/vimeo-api/vimeo-api-query.class.php

    r3075417 r3337714  
    181181            );
    182182
    183             $data['response'] = $request['response'];
     183            if( is_wp_error($request) ){
     184                $data['response'] = $request->get_error_message();
     185            }else if( isset( $request['response'] ) ){
     186                $data['response'] = $request['response'];
     187            }else{
     188                $data['response'] = esc_html__( 'Unknown Vimeo API query error', 'codeflavors-vimeo-video-post-lite' );
     189            }
    184190
    185191            return parent::api_error( $data );
  • codeflavors-vimeo-video-post-lite/trunk/main.php

    r3305670 r3337714  
    55 * Description: Vimeotheque imports public Vimeo videos as WordPress posts. It is a perfect fit for membership, portfolio, online courses or any type of video collection.
    66 * Author: CodeFlavors
    7  * Version: 2.3.5
     7 * Version: 2.3.5.1
    88 * Author URI: https://codeflavors.com
    99 * Text Domain: codeflavors-vimeo-video-post-lite
     
    1717define( 'VIMEOTHEQUE_PATH', plugin_dir_path( __FILE__ ) );
    1818define( 'VIMEOTHEQUE_URL', plugin_dir_url( __FILE__ ) );
    19 define( 'VIMEOTHEQUE_VERSION', '2.3.5' );
     19define( 'VIMEOTHEQUE_VERSION', '2.3.5.1' );
    2020define( 'VIMEOTHEQUE_TEMPLATE_DEBUG_MODE', false );
    2121/**
  • codeflavors-vimeo-video-post-lite/trunk/readme.txt

    r3305670 r3337714  
    55Tested up to: 6.8.1
    66Requires PHP: 7.4
    7 Stable tag: 2.3.5
     7Stable tag: 2.3.5.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    136136
    137137== Changelog ==
     138= 2.3.5.1 =
     139- Load plugin add-ons information only when needed;
     140- Changed timeout for the add-ons information to 3s;
     141- Manage errors returned from Vimeo API queries in a more granular way.
     142
    138143= 2.3.5 =
    139144- Updated code formatting according to WP standards.
Note: See TracChangeset for help on using the changeset viewer.