Make WordPress Core

Changeset 27145


Ignore:
Timestamp:
02/09/2014 08:28:01 PM (11 years ago)
Author:
DrewAPicture
Message:

Fixes for hooks documentation in wp-admin/admin-footer.php.

Adds some new lines, some hook-line spacing, docs-specific variables, and other language tweaks.

See #26869, #25229, [25252].

File:
1 edited

Legend:

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

    r25880 r27145  
    3131         *
    3232         * @since 2.8.0
    33          * @param string The content that will be printed.
     33         *
     34         * @param string $text The content that will be printed.
    3435         */
    3536        echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' );
     
    4142         * Filter the version/update text displayed in the admin footer.
    4243         *
    43          * @see core_update_footer() WordPress prints the current version and update information,
    44          *  using core_update_footer() at priority 10.
     44         * WordPress prints the current version and update information,
     45         * using core_update_footer() at priority 10.
    4546         *
    4647         * @since 2.3.0
    47          * @param string The content that will be printed.
     48         *
     49         * @see core_update_footer()
     50         *
     51         * @param string $content The content that will be printed.
    4852         */
    4953        echo apply_filters( 'update_footer', '' );
     
    5761 *
    5862 * @since 1.2.0
    59  * @param string The data to print.
     63 *
     64 * @param string $data The data to print.
    6065 */
    61 do_action('admin_footer', '');
     66do_action( 'admin_footer', '' );
    6267
    6368/**
     
    6671 * @since 2.8.0
    6772 */
    68 do_action('admin_print_footer_scripts');
     73do_action( 'admin_print_footer_scripts' );
    6974
    7075/**
    7176 * Print scripts or data after the default footer scripts.
    7277 *
     78 * The dynamic portion of the hook name, $GLOBALS['hook_suffix'],
     79 * refers to the global hook suffix of the current page.
     80 *
    7381 * @since 2.8.0
    7482 *
    75  * @param string $GLOBALS['hook_suffix'] The current admin page.
     83 * @param string $hook_suffix The current admin page.
    7684 */
    77 do_action("admin_footer-" . $GLOBALS['hook_suffix']);
     85do_action( "admin_footer-" . $GLOBALS['hook_suffix'] );
    7886
    7987// get_site_option() won't exist when auto upgrading from <= 2.7
Note: See TracChangeset for help on using the changeset viewer.