Make WordPress Core

Ticket #26869: 26869-25252.diff

File 26869-25252.diff, 2.2 KB (added by DrewAPicture, 11 years ago)

wp-admin/admin-footer.php [25252]

  • src/wp-admin/admin-footer.php

     
    3030                 * Filter the "Thank you" text displayed in the admin footer.
    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>' );
    3637                ?>
     
    4041                /**
    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', '' );
    5054                ?>
     
    5660 * Print scripts or data before the default footer scripts.
    5761 *
    5862 * @since 1.2.0
    59  * @param string The data to print.
     63 * @param string $data The data to print.
    6064 */
    61 do_action('admin_footer', '');
     65do_action( 'admin_footer', '' );
    6266
    6367/**
    6468 * Prints any scripts and data queued for the footer.
    6569 *
    6670 * @since 2.8.0
    6771 */
    68 do_action('admin_print_footer_scripts');
     72do_action( 'admin_print_footer_scripts' );
    6973
    7074/**
    7175 * Print scripts or data after the default footer scripts.
    7276 *
     77 * The dynamic portion of the hook name, $GLOBALS['hook_suffix'],
     78 * refers to the global hook suffix of the current page.
     79 *
    7380 * @since 2.8.0
    7481 *
    75  * @param string $GLOBALS['hook_suffix'] The current admin page.
     82 * @param string $hook_suffix The current admin page.
    7683 */
    77 do_action("admin_footer-" . $GLOBALS['hook_suffix']);
     84do_action( "admin_footer-" . $GLOBALS['hook_suffix'] );
    7885
    7986// get_site_option() won't exist when auto upgrading from <= 2.7
    8087if ( function_exists('get_site_option') ) {