Ticket #35047: 35047.3.diff
File 35047.3.diff, 1.1 KB (added by , 8 years ago) |
---|
-
src/wp-admin/js/common.js
397 397 * The `.below-h2` class is here just for backwards compatibility with plugins 398 398 * that are (incorrectly) using it. Do not use. Use `.inline` instead. See #34570. 399 399 */ 400 $( 'div.updated, div.error, div.notice' ).not( '.inline, .below-h2' ).insertAfter( $( '.wrap ' ).children( ':header' ).first() );400 $( 'div.updated, div.error, div.notice' ).not( '.inline, .below-h2' ).insertAfter( $( '.wrap h1, .wrap h2' ).first() ); 401 401 402 402 // Make notices dismissible 403 403 function makeNoticesDismissible() { -
src/wp-includes/js/autosave.js
346 346 }; 347 347 348 348 $notice = $( '#local-storage-notice' ) 349 .insertAfter( $( '.wrap ' ).children( ':header' ).first() )349 .insertAfter( $( '.wrap h1, .wrap h2' ).first() ) 350 350 .addClass( 'notice-warning' ) 351 351 .show(); 352 352