PluginProbe
Poll Maker by AYS – Versus Polls, Anonymous Polls, Image Polls / 6.3.3
Poll Maker by AYS – Versus Polls, Anonymous Polls, Image Polls v6.3.3
6.4.9 6.4.8 6.4.7 6.4.6 6.4.5 6.4.4 6.4.3 6.4.2 6.4.1 6.4.0 6.3.9 6.3.8 6.3.7 6.3.6 6.3.5 6.3.4 6.3.3 5.6.0 5.6.1 5.6.2 5.6.3 5.6.4 5.6.5 5.6.6 5.6.7 All 152 releases
poll-maker / includes / admin / class-poll-maker-install-skin.php

class-poll-maker-install-skin.php in Poll Maker by AYS – Versus Polls, Anonymous Polls, Image Polls 6.3.3, at includes/admin/class-poll-maker-install-skin.php

51 lines 1006 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace PollMaker\Helpers;
4
5 /** \WP_Upgrader_Skin class */
6 require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader-skin.php';
7
8 class Poll_Maker_Plugin_Silent_Upgrader_Skin extends \WP_Upgrader_Skin {
9
10 /**
11 * Empty out the header of its HTML content and only check to see if it has
12 * been performed or not.
13 *
14 * @since 1.3.9
15 */
16 public function header() {
17 }
18
19 /**
20 * Empty out the footer of its HTML contents.
21 *
22 * @since 1.3.9
23 */
24 public function footer() {
25 }
26
27 /**
28 * Instead of outputting HTML for errors, just return them.
29 * Ajax request will just ignore it.
30 *
31 * @since 1.3.9
32 *
33 * @param array $errors Array of errors with the install process.
34 *
35 * @return array
36 */
37 public function error( $errors ) {
38 return $errors;
39 }
40
41 /**
42 * Empty out JavaScript output that calls function to decrement the update counts.
43 *
44 * @since 1.3.9
45 *
46 * @param string $type Type of update count to decrement.
47 */
48 public function decrement_update_count( $type ) {
49 }
50 }
51