| @@ -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; |