mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Move _local_storage_notice() to admin/includes/template.php. props azaozz, see #24756.
git-svn-id: https://develop.svn.wordpress.org/trunk@24762 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -29,6 +29,9 @@ if ( post_type_supports($post_type, 'editor') || post_type_supports($post_type,
|
||||
wp_enqueue_media( array( 'post' => $post_ID ) );
|
||||
}
|
||||
|
||||
// Add the local autosave notice HTML
|
||||
add_action( 'admin_footer', '_local_storage_notice' );
|
||||
|
||||
$messages = array();
|
||||
$messages['post'] = array(
|
||||
0 => '', // Unused. Messages start at index 1.
|
||||
|
||||
Reference in New Issue
Block a user