~canonical-sysadmins/wordpress/4.9.7

« back to all changes in this revision

Viewing changes to wp-admin/includes/class-bulk-upgrader-skin.php

  • Committer: Barry Price
  • Date: 2017-11-17 04:49:02 UTC
  • mfrom: (1.1.30 upstream)
  • Revision ID: barry.price@canonical.com-20171117044902-5frux4ycbq6g9fyf
Merge WP4.9 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        }
35
35
 
36
36
        /**
37
 
         * @access public
38
37
         */
39
38
        public function add_strings() {
40
39
                $this->upgrader->strings['skin_upgrade_start'] = __('The update process is starting. This process may take a while on some hosts, so please be patient.');
48
47
        }
49
48
 
50
49
        /**
 
50
         *
51
51
         * @param string $string
52
52
         */
53
53
        public function feedback($string) {
72
72
        }
73
73
 
74
74
        /**
75
 
         * @access public
76
75
         */
77
76
        public function header() {
78
77
                // Nothing, This will be displayed within a iframe.
79
78
        }
80
79
 
81
80
        /**
82
 
         * @access public
83
81
         */
84
82
        public function footer() {
85
83
                // Nothing, This will be displayed within a iframe.
107
105
        }
108
106
 
109
107
        /**
110
 
         * @access public
111
108
         */
112
109
        public function bulk_header() {
113
110
                $this->feedback('skin_upgrade_start');
114
111
        }
115
112
 
116
113
        /**
117
 
         * @access public
118
114
         */
119
115
        public function bulk_footer() {
120
116
                $this->feedback('skin_upgrade_end');
164
160
        }
165
161
 
166
162
        /**
167
 
         * @access public
168
163
         */
169
164
        public function reset() {
170
165
                $this->in_loop = false;
172
167
        }
173
168
 
174
169
        /**
175
 
         * @access public
176
170
         */
177
171
        public function flush_output() {
178
172
                wp_ob_end_flush_all();