~canonical-sysadmins/wordpress/4.7.5

« back to all changes in this revision

Viewing changes to wp-admin/admin.php

  • Committer: Haw Loeung
  • Date: 2016-12-13 06:56:21 UTC
  • mfrom: (1.1.20 upstream)
  • Revision ID: haw.loeung@canonical.com-20161213065621-8tcu7u7vlxgs2s81
Merge WP4.7 from upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
209
209
                 *
210
210
                 * @since 2.1.0
211
211
                 */
212
 
                do_action( 'load-' . $page_hook );
 
212
                do_action( "load-{$page_hook}" );
213
213
                if (! isset($_GET['noheader']))
214
214
                        require_once(ABSPATH . 'wp-admin/admin-header.php');
215
215
 
239
239
                 *
240
240
                 * @since 1.5.0
241
241
                 */
242
 
                do_action( 'load-' . $plugin_page );
 
242
                do_action( "load-{$plugin_page}" );
243
243
 
244
244
                if ( !isset($_GET['noheader']))
245
245
                        require_once(ABSPATH . 'wp-admin/admin-header.php');
278
278
         *
279
279
         * @since 3.5.0
280
280
         */
281
 
        do_action( 'load-importer-' . $importer );
 
281
        do_action( "load-importer-{$importer}" );
282
282
 
283
283
        $parent_file = 'tools.php';
284
284
        $submenu_file = 'import.php';
326
326
         *
327
327
         * @since 2.1.0
328
328
         */
329
 
        do_action( 'load-' . $pagenow );
 
329
        do_action( "load-{$pagenow}" );
330
330
 
331
331
        /*
332
332
         * The following hooks are fired to ensure backward compatibility.