PluginProbe
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels / 2.6.3
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels v2.6.3
2.9.1 2.9.0 trunk 1.0.0 1.1.0 1.2.0 1.3.0 1.4.0 1.5.0 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 2.0.0 2.1.0 2.2.0 2.3.2 2.3.3 2.3.5 2.3.6 2.3.8 2.3.9 2.4.3 All 37 releases
← All changes | automatic-youtube-gallery.php +16 -18 2.9.12.6.3 View file →
@@ -9,10 +9,10 @@
9 9 *
10 10 * @wordpress-plugin
11 11 * Plugin Name: Automatic YouTube Gallery
12 12 * Plugin URI: https://plugins360.com/automatic-youtube-gallery/
13 - * Description: Embed YouTube videos, playlists, channels, live streams & Shorts in a responsive video gallery that stays up to date automatically.
14 - * Version: 2.9.1
13 + * Description: Create responsive, modern & dynamic video galleries by simply adding a YouTube USERNAME, CHANNEL, PLAYLIST, SEARCH KEYWORDS, or a custom list of YouTube URLs.
14 + * Version: 2.6.3
15 15 * Author: Team Plugins360
16 16 * Author URI: https://plugins360.com
17 17 * License: GPL-2.0+
18 18 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
@@ -29,9 +29,9 @@
29 29 return;
30 30 }
31 31 // Current version of the plugin
32 32 if ( !defined( 'AYG_VERSION' ) ) {
33 - define( 'AYG_VERSION', '2.9.1' );
33 + define( 'AYG_VERSION', '2.6.3' );
34 34 }
35 35 // Unique identifier of the plugin
36 36 if ( !defined( 'AYG_SLUG' ) ) {
37 37 define( 'AYG_SLUG', 'automatic-youtube-gallery' );
@@ -59,26 +59,25 @@
59 59 }
60 60 // Include Freemius SDK
61 61 require_once dirname( __FILE__ ) . '/vendor/freemius/start.php';
62 62 $ayg_fs = fs_dynamic_init( array(
63 - 'id' => '2922',
64 - 'slug' => 'automatic-youtube-gallery',
65 - 'type' => 'plugin',
66 - 'public_key' => 'pk_7734619fa98d4e2b76a390a890739',
67 - 'is_premium' => false,
68 - 'premium_suffix' => 'Premium',
69 - 'has_addons' => false,
70 - 'has_paid_plans' => true,
71 - 'trial' => array(
63 + 'id' => '2922',
64 + 'slug' => 'automatic-youtube-gallery',
65 + 'type' => 'plugin',
66 + 'public_key' => 'pk_7734619fa98d4e2b76a390a890739',
67 + 'is_premium' => false,
68 + 'premium_suffix' => 'Premium',
69 + 'has_addons' => false,
70 + 'has_paid_plans' => true,
71 + 'trial' => array(
72 72 'days' => 7,
73 73 'is_require_payment' => false,
74 74 ),
75 - 'menu' => array(
75 + 'menu' => array(
76 76 'slug' => 'automatic-youtube-gallery',
77 77 'first-path' => 'admin.php?page=automatic-youtube-gallery',
78 78 ),
79 - 'is_live' => true,
80 - 'is_org_compliant' => true,
79 + 'is_live' => true,
81 80 ) );
82 81 }
83 82 return $ayg_fs;
84 83 }
@@ -144,11 +143,11 @@
144 143 */
145 144 function ayg_fs_uninstall_cleanup() {
146 145 global $wpdb;
147 146 // Delete all the plugin transients
148 - $transient_keys = array_filter( (array) get_option( 'ayg_transient_keys' ) );
147 + $transient_keys = get_option( 'ayg_transient_keys', array() );
149 148 foreach ( $transient_keys as $key ) {
150 - delete_transient( sanitize_key( $key ) );
149 + delete_transient( $key );
151 150 }
152 151 // Delete all the plugin options
153 152 delete_option( 'ayg_general_settings' );
154 153 delete_option( 'ayg_strings_settings' );
@@ -164,9 +163,8 @@
164 163 delete_option( 'ayg_version' );
165 164 // Delete our custom database tables
166 165 $wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}ayg_videos" );
167 166 $wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}ayg_galleries" );
168 - $wpdb->query( "DROP TABLE IF EXISTS {$wpdb->prefix}ayg_gallery_relationships" );
169 167 }
170 168
171 169 ayg_fs()->add_action( 'after_uninstall', 'ayg_fs_uninstall_cleanup' );
172 170 }