[wp-trac] [WordPress Trac] #34294: Session storage autosave notice displayed in the wrong place

WordPress Trac noreply at wordpress.org
Wed Oct 14 14:32:39 UTC 2015


#34294: Session storage autosave notice displayed in the wrong place
---------------------------------------+------------------------------
 Reporter:  afercia                    |       Owner:
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Administration             |     Version:  4.3
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch has-screenshots  |     Focuses:  ui, javascript
---------------------------------------+------------------------------

Comment (by afercia):

 Refreshed patch to use better jQuery, previous implementation:
 {{{
 $( '.wrap h1' ).first().after( $notice.addClass( 'notice-warning' ).show()
 );
 }}}
 new one:
 {{{
 $( '#post' ).before( $notice.addClass( 'notice-warning' ).show() );
 }}}
 Any thoughts and testing more than welcome :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34294#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list