PluginProbe ʕ •ᴥ•ʔ
Reviews Feed – Add Testimonials and Customer Reviews From Google Reviews, Yelp, TripAdvisor, and More / 2.10.0
Reviews Feed – Add Testimonials and Customer Reviews From Google Reviews, Yelp, TripAdvisor, and More v2.10.0
2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.7 2.6.8 2.6.5 2.6.4 2.6.3 2.6.2 2.6.0 2.5.5 2.5.4 2.5.3 2.5.2 trunk 1.0 1.0.1 1.0.2 1.0.3 1.1 1.1.1 1.1.2 1.2.0 2.0 2.1.0 2.1.1 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.5.0 2.5.1
reviews-feed / class / Common / Helpers / PluginSilentUpgraderSkin.php
reviews-feed / class / Common / Helpers Last commit date
Data_Encryption.php 3 weeks ago PluginSilentUpgrader.php 3 weeks ago PluginSilentUpgraderSkin.php 3 weeks ago SBR_Error_Handler.php 3 weeks ago SBR_Install_Skin.php 3 weeks ago
PluginSilentUpgraderSkin.php
62 lines
1 <?php
2
3 /**
4 * Class PluginSilentUpgraderSkin.
5 *
6 * @internal Please do not use this class outside of core WPForms development. May be removed at any time.
7 *
8 * @since 1.5.6.1
9 */
10
11 namespace SmashBalloon\Reviews\Common\Helpers;
12
13 /** \WP_Upgrader_Skin class */
14 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader-skin.php';
15 class PluginSilentUpgraderSkin extends \WP_Upgrader_Skin
16 {
17 /**
18 * Empty out the header of its HTML content and only check to see if it has
19 * been performed or not.
20 *
21 * @since 1.5.6.1
22 */
23 public function header()
24 {
25 }
26
27 /**
28 * Empty out the footer of its HTML contents.
29 *
30 * @since 1.5.6.1
31 */
32 public function footer()
33 {
34 }
35
36 /**
37 * Instead of outputting HTML for errors, just return them.
38 * Ajax request will just ignore it.
39 *
40 * @since 1.5.6.1
41 *
42 * @param array $errors Array of errors with the install process.
43 *
44 * @return array
45 */
46 public function error($errors)
47 {
48 return $errors;
49 }
50
51 /**
52 * Empty out JavaScript output that calls function to decrement the update counts.
53 *
54 * @since 1.5.6.1
55 *
56 * @param string $type Type of update count to decrement.
57 */
58 public function decrement_update_count($type)
59 {
60 }
61 }
62