Make WordPress Core


Ignore:
Timestamp:
03/25/2014 08:04:44 AM (11 years ago)
Author:
DrewAPicture
Message:

Correct misleading verbiage in 'print' hook docs.

Standardizes 'print' hook docs on the concept that hooks are fired when scripts and styles are printed.

Props ericlewis for the initial patch.
Fixes #26924.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/press-this.php

    r27262 r27695  
    309309    /** This action is documented in wp-admin/admin-header.php */
    310310    do_action( 'admin_enqueue_scripts', 'press-this.php' );
     311
    311312    /**
    312      * Print styles for the Press This admin page.
     313     * Firest when styles are printed for the Press This admin page.
    313314     *
    314315     * @since 3.7.0
    315316     */
    316317    do_action( 'admin_print_styles-press-this.php' );
     318
    317319    /** This action is documented in wp-admin/admin-header.php */
    318320    do_action( 'admin_print_styles' );
     321
    319322    /**
    320      * Print scripts for the Press This admin page.
     323     * Fires when scripts are printed for the Press This admin page.
    321324     *
    322325     * @since 3.7.0
    323326     */
    324327    do_action( 'admin_print_scripts-press-this.php' );
     328
    325329    /** This action is documented in wp-admin/admin-header.php */
    326330    do_action( 'admin_print_scripts' );
     331
    327332    /**
    328333     * Fires in the head tag on the Press This admin page.
     
    331336     */
    332337    do_action( 'admin_head-press-this.php' );
     338
    333339    /** This action is documented in wp-admin/admin-header.php */
    334340    do_action( 'admin_head' );
Note: See TracChangeset for help on using the changeset viewer.