diff -r 346c88efed21 -r 5e2f62d02dcd wp/wp-admin/admin-footer.php --- a/wp/wp-admin/admin-footer.php Mon Jun 08 16:11:51 2015 +0000 +++ b/wp/wp-admin/admin-footer.php Tue Jun 09 03:35:32 2015 +0200 @@ -15,7 +15,7 @@
-WordPress.' ), __( 'https://wordpress.org/' ) ); /** * Filter the "Thank you" text displayed in the admin footer. * * @since 2.8.0 - * @param string The content that will be printed. + * + * @param string $text The content that will be printed. */ - echo apply_filters( 'admin_footer_text', '' . __( 'Thank you for creating with WordPress.' ) . '' ); + echo apply_filters( 'admin_footer_text', '' . $text . '' ); ?>
@@ -40,11 +42,14 @@ /** * Filter the version/update text displayed in the admin footer. * - * @see core_update_footer() WordPress prints the current version and update information, - * using core_update_footer() at priority 10. + * WordPress prints the current version and update information, + * using core_update_footer() at priority 10. * * @since 2.3.0 - * @param string The content that will be printed. + * + * @see core_update_footer() + * + * @param string $content The content that will be printed. */ echo apply_filters( 'update_footer', '' ); ?> @@ -56,25 +61,29 @@ * Print scripts or data before the default footer scripts. * * @since 1.2.0 - * @param string The data to print. + * + * @param string $data The data to print. */ -do_action('admin_footer', ''); +do_action( 'admin_footer', '' ); /** * Prints any scripts and data queued for the footer. * * @since 2.8.0 */ -do_action('admin_print_footer_scripts'); +do_action( 'admin_print_footer_scripts' ); /** * Print scripts or data after the default footer scripts. * + * The dynamic portion of the hook name, `$GLOBALS['hook_suffix']`, + * refers to the global hook suffix of the current page. + * * @since 2.8.0 * - * @param string $GLOBALS['hook_suffix'] The current admin page. + * @param string $hook_suffix The current admin page. */ -do_action("admin_footer-" . $GLOBALS['hook_suffix']); +do_action( "admin_footer-" . $GLOBALS['hook_suffix'] ); // get_site_option() won't exist when auto upgrading from <= 2.7 if ( function_exists('get_site_option') ) {