PluginProbe
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels / 2.3.2
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels v2.3.2
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 | freemius/start.php +1 -29 2.3.92.3.2 View file →
@@ -14,9 +14,9 @@
14 14 * Freemius SDK Version.
15 15 *
16 16 * @var string
17 17 */
18 - $this_sdk_version = '2.7.0';
18 + $this_sdk_version = '2.5.7';
19 19
20 20 #region SDK Selection Logic --------------------------------------------------------------------
21 21
22 22 /**
@@ -45,36 +45,8 @@
45 45 * @since 1.2.2.6
46 46 */
47 47 $file_path = fs_normalize_path( __FILE__ );
48 48 $fs_root_path = dirname( $file_path );
49 -
50 - // @todo: Remove this code after a few months when WP 6.3 usage is low enough.
51 - global $wp_version;
52 -
53 - if (
54 - ! function_exists( 'wp_get_current_user' ) &&
55 - /**
56 - * `get_stylesheet()` will rely on `wp_get_current_user()` when it is being filtered by `theme-previews.php`. That happens only when the site editor is loaded or when the site editor is sending REST requests.
57 - * @see theme-previews.php:wp_get_theme_preview_path()
58 - *
59 - * @todo This behavior is already fixed in the core (WP 6.3.2+), and this code can be removed after a few months when WP 6.3 usage is low enough.
60 - * @since WP 6.3.0
61 - */
62 - version_compare( $wp_version, '6.3', '>=' ) &&
63 - version_compare( $wp_version, '6.3.1', '<=' ) &&
64 - (
65 - 'site-editor.php' === basename( $_SERVER['SCRIPT_FILENAME'] ) ||
66 - (
67 - function_exists( 'wp_is_json_request' ) &&
68 - wp_is_json_request() &&
69 - ! empty( $_GET['wp_theme_preview'] )
70 - )
71 - )
72 - ) {
73 - // Requiring this file since the call to get_stylesheet() below can trigger a call to wp_get_current_user() when previewing a theme.
74 - require_once ABSPATH . 'wp-includes/pluggable.php';
75 - }
76 -
77 49 /**
78 50 * Get the themes directory where the active theme is located (not passing the stylesheet will make WordPress
79 51 * assume that the themes directory is inside `wp-content`.
80 52 *