PluginProbe
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels / 2.3.8
Automatic YouTube Gallery – Embed Auto-Updating YouTube Video Galleries, Feeds, Playlists & Channels v2.3.8
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 | block/block.php +4 -12 trunk2.3.8 View file →
@@ -61,9 +61,10 @@
61 61 'ayg_block',
62 62 array(
63 63 'options' => $fields,
64 64 'i18n' => array(
65 - 'selected_color' => __( 'Selected Color', 'automatic-youtube-gallery' )
65 + 'selected_color' => __( 'Selected Color', 'automatic-youtube-gallery' ),
66 + 'is_loading' => __( 'Loading...', 'automatic-youtube-gallery' )
66 67 )
67 68 )
68 69 );
69 70 }
@@ -122,19 +123,10 @@
122 123 if ( ! empty( $atts['is_admin'] ) ) {
123 124 $atts['autoplay'] = false;
124 125 }
125 126
126 - // Deprecated since v2.5.8. Retained for backward compatibility.
127 - if ( ! empty( $atts['uid'] ) ) {
128 - $atts['deprecated_uid'] = md5( $atts['uid'] );
129 - unset( $atts['uid'] );
130 - }
131 -
132 - // If popup is enabled and type is video, force theme to popup
133 - if ( isset( $atts['popup'] ) && ! empty( $atts['popup'] ) ) {
134 - if ( isset( $atts['type'] ) && 'video' == $atts['type'] ) {
135 - $atts['theme'] = 'popup';
136 - }
127 + if ( ! empty( $atts['uid'] ) ) {
128 + $atts['uid'] = md5( $atts['uid'] );
137 129 }
138 130
139 131 // Output
140 132 $output = '<div ' . get_block_wrapper_attributes() . '>';