~canonical-sysadmins/wordpress/4.2.4

« back to all changes in this revision

Viewing changes to wp-admin/includes/class-wp-ms-themes-list-table.php

  • Committer: Nick Moffitt
  • Date: 2015-01-15 11:05:37 UTC
  • mfrom: (1.1.1 wp4-upstream)
  • Revision ID: nick.moffitt@canonical.com-20150115110537-8bp1y42eyg0jsa7c
Tags: 4.1
MergeĀ upstreamĀ versionĀ 4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
                ) );
143
143
        }
144
144
 
 
145
        /**
 
146
         * @staticvar string $term
 
147
         * @param WP_Theme $theme
 
148
         * @return bool
 
149
         */
145
150
        public function _search_callback( $theme ) {
146
151
                static $term;
147
152
                if ( is_null( $term ) )
163
168
        }
164
169
 
165
170
        // Not used by any core columns.
 
171
        /**
 
172
         * @global string $orderby
 
173
         * @global string $order
 
174
         * @param array $theme_a
 
175
         * @param array $theme_b
 
176
         * @return int
 
177
         */
166
178
        public function _order_callback( $theme_a, $theme_b ) {
167
179
                global $orderby, $order;
168
180
 
266
278
                        $this->single_row( $theme );
267
279
        }
268
280
 
 
281
        /**
 
282
         * @global string $status
 
283
         * @global int $page
 
284
         * @global string $s
 
285
         * @global array $totals
 
286
         * @param WP_Theme $theme
 
287
         */
269
288
        public function single_row( $theme ) {
270
289
                global $status, $page, $s, $totals;
271
290
 
331
350
                 * Filter the action links of a specific theme in the Multisite themes
332
351
                 * list table.
333
352
                 *
334
 
                 * The dynamic portion of the hook name, $stylesheet, refers to the
 
353
                 * The dynamic portion of the hook name, `$stylesheet`, refers to the
335
354
                 * directory name of the theme, which in most cases is synonymous
336
355
                 * with the template name.
337
356
                 *
444
463
                /**
445
464
                 * Fires after each specific row in the Multisite themes list table.
446
465
                 *
447
 
                 * The dynamic portion of the hook name, $stylesheet, refers to the
 
466
                 * The dynamic portion of the hook name, `$stylesheet`, refers to the
448
467
                 * directory name of the theme, most often synonymous with the template
449
468
                 * name of the theme.
450
469
                 *