Ticket #25229: index.diff
File index.diff, 836 bytes (added by , 11 years ago) |
---|
-
wp-admin/index.php
120 120 <div id="welcome-panel" class="<?php echo esc_attr( $classes ); ?>"> 121 121 <?php wp_nonce_field( 'welcome-panel-nonce', 'welcomepanelnonce', false ); ?> 122 122 <a class="welcome-panel-close" href="<?php echo esc_url( admin_url( '?welcome=0' ) ); ?>"><?php _e( 'Dismiss' ); ?></a> 123 <?php do_action( 'welcome_panel' ); ?> 123 <?php 124 /** 125 * Add content to the welcome panel on the admin dashboard 126 * 127 * To remove the default welcome panel provided by WordPress use remove_action. remove_action( 'welcome_panel', 'wp_welcome_panel' );. 128 * 129 * @since 3.5.0 130 */ 131 do_action( 'welcome_panel' ); 132 ?> 124 133 </div> 125 134 <?php endif; ?> 126 135