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 | includes/youtube-api.php +0 -8 2.3.52.3.2 View file →
@@ -100,12 +100,8 @@
100 100
101 101 // Get playlist id from the channel
102 102 $playlist_id = $this->get_playlist_id( $params );
103 103
104 - if ( is_object( $playlist_id ) && isset( $playlist_id->error ) ) {
105 - return $playlist_id;
106 - }
107 -
108 104 if ( empty( $playlist_id ) ) {
109 105 return $this->get_error( __( 'No videos found matching your query.', 'automatic-youtube-gallery' ) );
110 106 }
111 107
@@ -121,12 +117,8 @@
121 117
122 118 // Get playlist id from the channel
123 119 $params['forUsername'] = $this->parse_youtube_id_from_url( $params['src'], 'username' );
124 120 $playlist_id = $this->get_playlist_id( $params );
125 -
126 - if ( is_object( $playlist_id ) && isset( $playlist_id->error ) ) {
127 - return $playlist_id;
128 - }
129 121
130 122 if ( empty( $playlist_id ) ) {
131 123 return $this->get_error( __( 'No videos found matching your query.', 'automatic-youtube-gallery' ) );
132 124 }