Version Description
- Fix: Disable access to the plugin backend to any user roles other than the "administrator" & "editor".
Download this release
Release Info
Developer | plugins360 |
Plugin | All-in-One Video Gallery |
Version | 2.6.0 |
Comparing to | |
See all releases |
Code changes from version 2.5.9 to 2.6.0
- README.txt +6 -10
- admin/videos.php +6 -4
- all-in-one-video-gallery.php +2 -2
README.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: video player, video gallery, youtube gallery, vimeo gallery, live stream
|
|
6 |
Requires at least: 4.7.0
|
7 |
Tested up to: 6.0
|
8 |
Requires PHP: 5.6.20
|
9 |
-
Stable tag: 2.
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -22,8 +22,6 @@ Add responsive video galleries anywhere on your website – no coding required.
|
|
22 |
|
23 |
No coding is required. Suitable for all kinds of websites that require a single video player to a large video-sharing website like YouTube/Vimeo.
|
24 |
|
25 |
-
**Try it out on your free dummy site: Click here => [https://tastewp.com/new/?pre-installed-plugin-slug=all-in-one-video-gallery](https://tastewp.com/new/?pre-installed-plugin-slug=all-in-one-video-gallery&pre-installed-theme-slug=twentytwelve&redirect=admin.php%3Fpage%3Dall-in-one-video-gallery&ni=true)**
|
26 |
-
|
27 |
### PLAYER FEATURES
|
28 |
|
29 |
* A Custom HTML5 Video Player that supports **MP4**, **WebM**, **OGV** and embeddable players like **YouTube**, **Vimeo**, **Dailymotion**, **Facebook** and more.
|
@@ -143,6 +141,10 @@ Also, the videos from third-party services like "YouTube", "Vimeo", or "Dailymot
|
|
143 |
|
144 |
== Changelog ==
|
145 |
|
|
|
|
|
|
|
|
|
146 |
= 2.5.9 =
|
147 |
|
148 |
* Fix: Dailymotion videos not working when using the "JavaScript" player type.
|
@@ -295,10 +297,4 @@ Fix: Updates to the latest Vimeo Image URLs.
|
|
295 |
|
296 |
= EARLIER VERSIONS =
|
297 |
|
298 |
-
For the changelog of earlier versions, please refer to the [changelog on plugins360.com](https://plugins360.com/all-in-one-video-gallery/changelog/).
|
299 |
-
|
300 |
-
== Upgrade Notice ==
|
301 |
-
|
302 |
-
= 2.5.9 =
|
303 |
-
|
304 |
-
Fix: Dailymotion videos not working when using the "JavaScript" player type.
|
6 |
Requires at least: 4.7.0
|
7 |
Tested up to: 6.0
|
8 |
Requires PHP: 5.6.20
|
9 |
+
Stable tag: 2.6.0
|
10 |
License: GPLv2 or later
|
11 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
22 |
|
23 |
No coding is required. Suitable for all kinds of websites that require a single video player to a large video-sharing website like YouTube/Vimeo.
|
24 |
|
|
|
|
|
25 |
### PLAYER FEATURES
|
26 |
|
27 |
* A Custom HTML5 Video Player that supports **MP4**, **WebM**, **OGV** and embeddable players like **YouTube**, **Vimeo**, **Dailymotion**, **Facebook** and more.
|
141 |
|
142 |
== Changelog ==
|
143 |
|
144 |
+
= 2.6.0 =
|
145 |
+
|
146 |
+
* Fix: Disable access to the plugin backend to any user roles other than the "administrator" & "editor".
|
147 |
+
|
148 |
= 2.5.9 =
|
149 |
|
150 |
* Fix: Dailymotion videos not working when using the "JavaScript" player type.
|
297 |
|
298 |
= EARLIER VERSIONS =
|
299 |
|
300 |
+
For the changelog of earlier versions, please refer to the [changelog on plugins360.com](https://plugins360.com/all-in-one-video-gallery/changelog/).
|
|
|
|
|
|
|
|
|
|
|
|
admin/videos.php
CHANGED
@@ -121,10 +121,12 @@ class AIOVG_Admin_Videos {
|
|
121 |
'map_meta_cap' => true,
|
122 |
);
|
123 |
|
124 |
-
if ( ! current_user_can( 'manage_aiovg_options' ) ) {
|
125 |
-
|
126 |
-
|
127 |
-
|
|
|
|
|
128 |
}
|
129 |
|
130 |
if ( ! empty( $permalink_settings['video'] ) ) {
|
121 |
'map_meta_cap' => true,
|
122 |
);
|
123 |
|
124 |
+
if ( ! current_user_can( 'manage_aiovg_options' ) ) { // Not an admin
|
125 |
+
if ( current_user_can( 'editor' ) ) {
|
126 |
+
$args['show_in_menu'] = true;
|
127 |
+
$args['menu_position'] = 5;
|
128 |
+
$args['menu_icon'] = 'dashicons-playlist-video';
|
129 |
+
}
|
130 |
}
|
131 |
|
132 |
if ( ! empty( $permalink_settings['video'] ) ) {
|
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.
|
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.
|
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.6.0
|
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.6.0' );
|
80 |
}
|
81 |
// The unique identifier of the plugin
|
82 |
if ( !defined( 'AIOVG_PLUGIN_SLUG' ) ) {
|