~canonical-sysadmins/wordpress/4.8.1

« back to all changes in this revision

Viewing changes to wp-admin/admin-header.php

  • Committer: Barry Price
  • Date: 2016-08-17 04:50:12 UTC
  • mfrom: (1.1.18 upstream)
  • Revision ID: barry.price@canonical.com-20160817045012-qfui81zhqnqv2ba9
Merge WP4.6 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        $admin_title = sprintf( __( '%1$s ‹ %2$s — WordPress' ), $title, $admin_title );
47
47
 
48
48
/**
49
 
 * Filter the title tag content for an admin page.
 
49
 * Filters the title tag content for an admin page.
50
50
 *
51
51
 * @since 3.1.0
52
52
 *
174
174
</head>
175
175
<?php
176
176
/**
177
 
 * Filter the CSS classes for the body tag in the admin.
 
177
 * Filters the CSS classes for the body tag in the admin.
178
178
 *
179
179
 * This filter differs from the {@see 'post_class'} and {@see 'body_class'} filters
180
180
 * in two important ways:
229
229
 
230
230
if ( is_network_admin() ) {
231
231
        /**
232
 
         * Print network admin screen notices.
 
232
         * Prints network admin screen notices.
233
233
         *
234
234
         * @since 3.1.0
235
235
         */
236
236
        do_action( 'network_admin_notices' );
237
237
} elseif ( is_user_admin() ) {
238
238
        /**
239
 
         * Print user admin screen notices.
 
239
         * Prints user admin screen notices.
240
240
         *
241
241
         * @since 3.1.0
242
242
         */
243
243
        do_action( 'user_admin_notices' );
244
244
} else {
245
245
        /**
246
 
         * Print admin screen notices.
 
246
         * Prints admin screen notices.
247
247
         *
248
248
         * @since 3.1.0
249
249
         */
251
251
}
252
252
 
253
253
/**
254
 
 * Print generic admin screen notices.
 
254
 * Prints generic admin screen notices.
255
255
 *
256
256
 * @since 3.1.0
257
257
 */