Ticket #26869: 26869-25252.diff
File 26869-25252.diff, 2.2 KB (added by , 11 years ago) |
---|
-
src/wp-admin/admin-footer.php
30 30 * Filter the "Thank you" text displayed in the admin footer. 31 31 * 32 32 * @since 2.8.0 33 * @param string The content that will be printed. 33 * 34 * @param string $text The content that will be printed. 34 35 */ 35 36 echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' ); 36 37 ?> … … 40 41 /** 41 42 * Filter the version/update text displayed in the admin footer. 42 43 * 43 * @see core_update_footer()WordPress prints the current version and update information,44 * 44 * WordPress prints the current version and update information, 45 * using core_update_footer() at priority 10. 45 46 * 46 47 * @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. 48 52 */ 49 53 echo apply_filters( 'update_footer', '' ); 50 54 ?> … … 56 60 * Print scripts or data before the default footer scripts. 57 61 * 58 62 * @since 1.2.0 59 * @param string The data to print.63 * @param string $data The data to print. 60 64 */ 61 do_action( 'admin_footer', '');65 do_action( 'admin_footer', '' ); 62 66 63 67 /** 64 68 * Prints any scripts and data queued for the footer. 65 69 * 66 70 * @since 2.8.0 67 71 */ 68 do_action( 'admin_print_footer_scripts');72 do_action( 'admin_print_footer_scripts' ); 69 73 70 74 /** 71 75 * Print scripts or data after the default footer scripts. 72 76 * 77 * The dynamic portion of the hook name, $GLOBALS['hook_suffix'], 78 * refers to the global hook suffix of the current page. 79 * 73 80 * @since 2.8.0 74 81 * 75 * @param string $ GLOBALS['hook_suffix']The current admin page.82 * @param string $hook_suffix The current admin page. 76 83 */ 77 do_action( "admin_footer-" . $GLOBALS['hook_suffix']);84 do_action( "admin_footer-" . $GLOBALS['hook_suffix'] ); 78 85 79 86 // get_site_option() won't exist when auto upgrading from <= 2.7 80 87 if ( function_exists('get_site_option') ) {