PluginProbe
Vimeography: Vimeo Video Gallery WordPress Plugin / 2.2
Vimeography: Vimeo Video Gallery WordPress Plugin v2.2
2.4.9 2.4.8 trunk 0.5.1 0.5.2 0.5.3 0.5.4 0.5.5 0.5.6 0.5.7 0.6 0.6.1 0.6.2 0.6.3 0.6.4 0.6.5 0.6.6 0.6.7 0.6.8 0.6.8.1 0.6.9 0.6.9.1 0.6.9.2 0.7 0.8 All 103 releases
← All changes | lib/engine.php +2 -2 trunk2.2 View file →
@@ -145,9 +145,9 @@
145 145 $message .= '<br /><br />';
146 146 $message .= sprintf( __('If your Vimeography Pro license key is expired, you can gain access to <strong>another year of updates and support</strong> by <a href="%s">renewing your license key on this page.</a>', 'vimeography'), $link );
147 147 }
148 148
149 - throw new \Vimeography_Exception( wp_kses_post($message) );
149 + throw new \Vimeography_Exception( $message );
150 150 }
151 151
152 152 $this->core = new \Vimeography_Core_Pro( $this->gallery_settings );
153 153 $this->renderer = new \Vimeography_Pro_Renderer( $this->gallery_settings, $this->gallery_id ); // load deprecated 1.x pro renderer
@@ -197,9 +197,9 @@
197 197 $result = $this->core->get_videos( $this->gallery_settings['cache'], $this->gallery_id );
198 198 }
199 199
200 200 if ( empty( $result->video_set ) ) {
201 - throw new \Vimeography_Exception( wp_kses_post(__('the Vimeo source for this gallery does not have any videos.', 'vimeography')) );
201 + throw new \Vimeography_Exception( __('the Vimeo source for this gallery does not have any videos.', 'vimeography') );
202 202 }
203 203
204 204 $this->data = $result;
205 205 return $this;