Ticket #25229: admin-footer.diff
File admin-footer.diff, 2.2 KB (added by , 11 years ago) |
---|
-
wp-admin/admin-footer.php
16 16 <div class="clear"></div></div><!-- wpcontent --> 17 17 18 18 <div id="wpfooter"> 19 <?php do_action( 'in_admin_footer' ); ?> 20 <p id="footer-left" class="alignleft"><?php 19 <?php 20 /** 21 * Fires immediatly after the opening div for the admin footer 22 * 23 * @since 2.5.0 24 */ 25 do_action( 'in_admin_footer' ); 26 ?> 27 <p id="footer-left" class="alignleft"> 28 <?php 29 /** 30 * Replace the text displayed in the left side of the admin footer 31 * 32 * @since unknown 33 * 34 * @param string The content that will be printed in the left footer of the admin pages. 35 */ 21 36 echo apply_filters( 'admin_footer_text', '<span id="footer-thankyou">' . __( 'Thank you for creating with <a href="http://wordpress.org/">WordPress</a>.' ) . '</span>' ); 22 ?></p> 23 <p id="footer-upgrade" class="alignright"><?php echo apply_filters( 'update_footer', '' ); ?></p> 37 ?> 38 </p> 39 <p id="footer-upgrade" class="alignright"> 40 <?php 41 /** 42 * Replace the text displayed in the right side of the admin footer 43 * 44 * Need to use a priority higher than 10 in order to overwite the string passed in the function core_update_footer in wp-admin/includes/update.php. 45 * 46 * @since unknown 47 * 48 * @param string The content that will be printed in the right footer of the admin pages. 49 */ 50 echo apply_filters( 'update_footer', '' ); 51 ?> 52 </p> 24 53 <div class="clear"></div> 25 54 </div> 26 55 <?php 56 /** 57 * Prints scripts before the default footer scripts 58 * 59 * @since unknown 60 * 61 * @param string The script to print. 62 */ 27 63 do_action('admin_footer', ''); 64 65 /** 66 * Prints the default scripts followed by any external scripts that were queued for the footer 67 * 68 * @since unknown 69 */ 28 70 do_action('admin_print_footer_scripts'); 71 72 /** 73 * Prints scripts that should appear on a specific admin page only 74 * 75 * @since unknown 76 * 77 * @param type $GLOBALS['hook_suffix'] The specific admin page the script should appear on. 78 */ 29 79 do_action("admin_footer-" . $GLOBALS['hook_suffix']); 30 80 31 81 // get_site_option() won't exist when auto upgrading from <= 2.7