From 1fba32778cfe9a36a20b3bc44d036198026bf5b5 Mon Sep 17 00:00:00 2001 From: milindmore22 Date: Fri, 30 Jul 2021 20:06:25 +0530 Subject: [PATCH] Fixes : Short code generator. Updated Tested WordPress tag. --- readme.md | 2 +- readme.txt | 12 ++++++++---- youtubefancybox.php | 6 +++--- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/readme.md b/readme.md index ff937d1..ccf3214 100644 --- a/readme.md +++ b/readme.md @@ -32,4 +32,4 @@ https://wordpress.org/plugins/youtubefancybox/screenshots/ ## Upgrade notice -Tested upto 5.4.2 \ No newline at end of file +Tested upto 5.8 \ No newline at end of file diff --git a/readme.txt b/readme.txt index 59156b5..1765e33 100644 --- a/readme.txt +++ b/readme.txt @@ -1,10 +1,10 @@ === Video Lightbox for YouTube/Vimeo === Contributors: milindmore22 Tags: youtubefancybox, youtube, fancy box, popup video, lightbox, lightbox youtube, amp -Requires at least: 3.6 +Requires at least: 5.6 Requires PHP: 5.6 -Tested up to: 5.6 -Stable tag: 2.6.1 +Tested up to: 5.8 +Stable tag: 2.6.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html @@ -62,6 +62,10 @@ Yes, you can add `[youtube url=""]` == Changelog == += 2.6.2 = +Fix: short code Generator. +Updated Tested Tag to 5.8 + = 2.6.1 = Renamed plugin and updated logo to avoid copyright violations. @@ -124,4 +128,4 @@ First release. Compatible with IE9,IE10, Chrome, Firefox == Upgrade notice == -Renamed plugin and updated logo to avoid copyright violations. \ No newline at end of file +Fix: short code Generator. \ No newline at end of file diff --git a/youtubefancybox.php b/youtubefancybox.php index 27e01aa..99b582e 100644 --- a/youtubefancybox.php +++ b/youtubefancybox.php @@ -5,7 +5,7 @@ * Description: Display thumbnail of Youtube and Vimeo videos and on clicking on thumbnail it will open in popupbox and play video. * Author: Milind More * Author URI: https://milindmore.wordpress.com/ - * Version: 2.6.1 + * Version: 2.6.2 * Text Domain: ytubebox * Domain Path: /languages/ * Requires PHP: 5.6 @@ -33,7 +33,7 @@ class Youtubefanybox { */ public function __construct() { - $this->version = '2.6.1'; + $this->version = '2.6.2'; /** * If You are admin you will get admin settings @@ -77,7 +77,7 @@ public function load_plugin_textdomain() { */ public function youtubefancybox_adminjs_file( $hook ) { - $youtubefancybox_admin_screens = array( 'youtube-fancybox_page_vimeo', 'youtube-fancybox_page_ytube', 'toplevel_page_ytubefancybox' ); + $youtubefancybox_admin_screens = array( 'video-lightbox_page_vimeo', 'video-lightbox_page_ytube', 'toplevel_page_ytubefancybox' ); if ( ! in_array( $hook, $youtubefancybox_admin_screens, true ) ) { return;