PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
← All changes | libraries/system/rssfeeds.php +12 -7 1.6.4 → 1.8.16 View file →
@@ -156,9 +156,9 @@
156 156 {
157 157 // opt-in missing, ask the user to agree to our terms
158 158 echo JLayoutHelper::render('html.rss.optin');
159 159 }
160 - catch (Exception $e)
160 + catch (Throwable $e)
161 161 {
162 162 // service declined, go ahead silently
163 163 }
164 164 }
@@ -350,9 +350,9 @@
350 350 // make sure we are filtering a POST context
351 351 if ($context == 'post')
352 352 {
353 353 // add support for input field
354 - $tags['input'] = array(
354 + $tags['input'] = [
355 355 'type' => true,
356 356 'name' => true,
357 357 'id' => true,
358 358 'class' => true,
@@ -359,12 +359,12 @@
359 359 'value' => true,
360 360 'style' => true,
361 361 'disabled' => true,
362 362 'readonly' => true,
363 - );
363 + ];
364 364
365 365 // add support for textarea field
366 - $tags['textarea'] = array(
366 + $tags['textarea'] = [
367 367 'name' => true,
368 368 'id' => true,
369 369 'class' => true,
370 370 'style' => true,
@@ -371,9 +371,9 @@
371 371 'rows' => true,
372 372 'cols' => true,
373 373 'disabled' => true,
374 374 'readonly' => true,
375 - );
375 + ];
376 376
377 377 // add support for button
378 378 if (isset($tags['button']))
379 379 {
@@ -382,9 +382,9 @@
382 382 }
383 383 else
384 384 {
385 385 // define all supported attributes
386 - $tags['button'] = array(
386 + $tags['button'] = [
387 387 'type' => true,
388 388 'id' => true,
389 389 'class' => true,
390 390 'style' => true,
@@ -389,10 +389,15 @@
389 389 'class' => true,
390 390 'style' => true,
391 391 'onclick' => true,
392 392 'disabled' => true,
393 - );
393 + ];
394 394 }
395 +
396 + // add support for source under a <video> tag
397 + $tags['source'] = [
398 + 'src' => true,
399 + ];
395 400 }
396 401
397 402 return $tags;
398 403 }, 10, 2);