Version Description
- Fix: Error when you click the "Add More Quality Levels" in the video form but submitting the form without selecting any quality level.
Download this release
Release Info
Developer | plugins360 |
Plugin | All-in-One Video Gallery |
Version | 2.4.7 |
Comparing to | |
See all releases |
Code changes from version 2.4.6 to 2.4.7
- README.txt +5 -5
- admin/videos.php +2 -2
- all-in-one-video-gallery.php +2 -2
README.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: video player, video gallery, youtube gallery, vimeo gallery, livestream
|
|
6 |
Requires at least: 4.7.0
|
7 |
Tested up to: 5.7
|
8 |
Requires PHP: 5.6.20
|
9 |
-
Stable tag: 2.4.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -134,6 +134,10 @@ Yes, it is. However, do not "network-activate" the plugin. Activate it only on t
|
|
134 |
|
135 |
== Changelog ==
|
136 |
|
|
|
|
|
|
|
|
|
137 |
= 2.4.6 =
|
138 |
|
139 |
* Fix: SVG Icon sizes are HUGE in some WordPress environments.
|
@@ -220,7 +224,3 @@ Yes, it is. However, do not "network-activate" the plugin. Activate it only on t
|
|
220 |
For the changelog of earlier versions, please refer to the [changelog on plugins360.com](https://plugins360.com/all-in-one-video-gallery/changelog/).
|
221 |
|
222 |
== Upgrade Notice ==
|
223 |
-
|
224 |
-
= 2.4.6 =
|
225 |
-
|
226 |
-
Fix: SVG Icon sizes are HUGE in some WordPress environments.
|
6 |
Requires at least: 4.7.0
|
7 |
Tested up to: 5.7
|
8 |
Requires PHP: 5.6.20
|
9 |
+
Stable tag: 2.4.7
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
134 |
|
135 |
== Changelog ==
|
136 |
|
137 |
+
= 2.4.7 =
|
138 |
+
|
139 |
+
* Fix: Error when you click the "Add More Quality Levels" in the video form but submitting the form without selecting any quality level.
|
140 |
+
|
141 |
= 2.4.6 =
|
142 |
|
143 |
* Fix: SVG Icon sizes are HUGE in some WordPress environments.
|
224 |
For the changelog of earlier versions, please refer to the [changelog on plugins360.com](https://plugins360.com/all-in-one-video-gallery/changelog/).
|
225 |
|
226 |
== Upgrade Notice ==
|
|
|
|
|
|
|
|
admin/videos.php
CHANGED
@@ -300,14 +300,14 @@ class AIOVG_Admin_Videos {
|
|
300 |
$quality_level = isset( $_POST['quality_level'] ) ? sanitize_text_field( $_POST['quality_level'] ) : '';
|
301 |
update_post_meta( $post_id, 'quality_level', $quality_level );
|
302 |
|
303 |
-
if ( ! empty( $_POST['sources'] ) ) {
|
304 |
$values = array();
|
305 |
|
306 |
$quality_levels = array_map( 'sanitize_text_field', $_POST['quality_levels'] );
|
307 |
$sources = array_map( 'aiovg_sanitize_url', $_POST['sources'] );
|
308 |
|
309 |
foreach ( $sources as $index => $source ) {
|
310 |
-
if ( ! empty( $source ) ) {
|
311 |
$values[] = array(
|
312 |
'quality' => $quality_levels[ $index ],
|
313 |
'src' => $source
|
300 |
$quality_level = isset( $_POST['quality_level'] ) ? sanitize_text_field( $_POST['quality_level'] ) : '';
|
301 |
update_post_meta( $post_id, 'quality_level', $quality_level );
|
302 |
|
303 |
+
if ( ! empty( $_POST['sources'] ) && ! empty( $_POST['quality_levels'] ) ) {
|
304 |
$values = array();
|
305 |
|
306 |
$quality_levels = array_map( 'sanitize_text_field', $_POST['quality_levels'] );
|
307 |
$sources = array_map( 'aiovg_sanitize_url', $_POST['sources'] );
|
308 |
|
309 |
foreach ( $sources as $index => $source ) {
|
310 |
+
if ( ! empty( $source ) && ! empty( $quality_levels[ $index ] ) ) {
|
311 |
$values[] = array(
|
312 |
'quality' => $quality_levels[ $index ],
|
313 |
'src' => $source
|
all-in-one-video-gallery.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* Plugin Name: All-in-One Video Gallery
|
12 |
* Plugin URI: https://plugins360.com/all-in-one-video-gallery/
|
13 |
* Description: No coding required. A Responsive & Lightweight video gallery plugin. HTML5 Player, Categories, Visual Builder (Gutenberg), Search Form, Comments, Social Sharing and everything you will need to build a YouTube/Vimeo like video sharing website.
|
14 |
-
* Version: 2.4.
|
15 |
* Author: Team Plugins360
|
16 |
* Author URI: https://plugins360.com
|
17 |
* License: GPL-2.0+
|
@@ -76,7 +76,7 @@ if ( !function_exists( 'aiovg_fs' ) ) {
|
|
76 |
|
77 |
// The current version of the plugin
|
78 |
if ( !defined( 'AIOVG_PLUGIN_VERSION' ) ) {
|
79 |
-
define( 'AIOVG_PLUGIN_VERSION', '2.4.
|
80 |
}
|
81 |
// The unique identifier of the plugin
|
82 |
if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
|
11 |
* Plugin Name: All-in-One Video Gallery
|
12 |
* Plugin URI: https://plugins360.com/all-in-one-video-gallery/
|
13 |
* Description: No coding required. A Responsive & Lightweight video gallery plugin. HTML5 Player, Categories, Visual Builder (Gutenberg), Search Form, Comments, Social Sharing and everything you will need to build a YouTube/Vimeo like video sharing website.
|
14 |
+
* Version: 2.4.7
|
15 |
* Author: Team Plugins360
|
16 |
* Author URI: https://plugins360.com
|
17 |
* License: GPL-2.0+
|
76 |
|
77 |
// The current version of the plugin
|
78 |
if ( !defined( 'AIOVG_PLUGIN_VERSION' ) ) {
|
79 |
+
define( 'AIOVG_PLUGIN_VERSION', '2.4.7' );
|
80 |
}
|
81 |
// The unique identifier of the plugin
|
82 |
if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
|