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/helpers.php +5 -5 trunk2.2 View file →
@@ -52,9 +52,9 @@
52 52
53 53 $item = $this->format_video_thumbnails($item);
54 54
55 55 // Linkify any URLs in the description
56 - if ($should_linkify_descriptions && $item->description) {
56 + if ($should_linkify_descriptions) {
57 57 $item->description = $this->link_urls(nl2br($item->description));
58 58 }
59 59
60 60 /**
@@ -183,12 +183,12 @@
183 183 $oembed = wp_remote_get('https://vimeo.com/api/oembed.json?' . $query);
184 184
185 185 if (is_wp_error($oembed)) {
186 186 throw new Vimeography_Exception(
187 - wp_kses_post(__(
187 + __(
188 188 'Vimeography could not retrieve the featured video: ',
189 189 'vimeography'
190 - ) . $oembed->get_error_message())
190 + ) . $oembed->get_error_message()
191 191 );
192 192 } else {
193 193 switch ($oembed['response']['code']) {
194 194 case 200:
@@ -200,12 +200,12 @@
200 200 );
201 201 return $oembed->html;
202 202 case 403:
203 203 throw new Vimeography_Exception(
204 - wp_kses_post(__(
204 + __(
205 205 'Your video privacy settings for must be adjusted to allow displaying this video on your site.',
206 206 'vimeography'
207 - ))
207 + )
208 208 );
209 209 default:
210 210 break;
211 211 }