Make WordPress Core

Ticket #35047: 35047.diff

File 35047.diff, 712 bytes (added by DvanKooten, 8 years ago)
  • src/wp-admin/js/common.js

     
    397397         * The `.below-h2` class is here just for backwards compatibility with plugins
    398398         * that are (incorrectly) using it. Do not use. Use `.inline` instead. See #34570.
    399399         */
    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' ).find( ':header').first() );
    401401
    402402        // Make notices dismissible
    403403        function makeNoticesDismissible() {