Skip to content

Commit

Permalink
Fixes : Short code generator.
Browse files Browse the repository at this point in the history
Updated Tested WordPress tag.
  • Loading branch information
milindmore22 committed Jul 30, 2021
1 parent e95f890 commit 1fba327
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ https://wordpress.org/plugins/youtubefancybox/screenshots/

## Upgrade notice

Tested upto 5.4.2
Tested upto 5.8
12 changes: 8 additions & 4 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -62,6 +62,10 @@ Yes, you can add `&#91;youtube url="<youtube video URL here>"&#93;`

== 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.

Expand Down Expand Up @@ -124,4 +128,4 @@ First release. Compatible with IE9,IE10, Chrome, Firefox

== Upgrade notice ==

Renamed plugin and updated logo to avoid copyright violations.
Fix: short code Generator.
6 changes: 3 additions & 3 deletions youtubefancybox.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 1fba327

Please sign in to comment.