[wp-trac] [WordPress Trac] #45113: Integrate compatibility related functions for the new editor

WordPress Trac noreply at wordpress.org
Thu Nov 22 17:50:43 UTC 2018


#45113: Integrate compatibility related functions for the new editor
-------------------------------------+-----------------------
 Reporter:  desrosj                  |       Owner:  pento
     Type:  task (blessed)           |      Status:  assigned
 Priority:  normal                   |   Milestone:  5.0
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------

Comment (by adamsilverstein):

 @dd32 Looking more closely, I think keeping `_wpnonce` refreshed would be
 useful because use it for post locking in Gutenberg
 https://github.com/WordPress/gutenberg/blob/56b9553e67f99e2dd51cbb680a9c664397717c72/packages/editor/src/components
 /post-locked-modal/index.js#L109] (and autosaves in classic -
 https://github.com/WordPress/wordpress-
 develop/blob/6b366c6620fdd5960cedcdf80955966a715efa82/src/js/_enqueues/wp/autosave.js#L730).

 media uses nonces localized as `nonces` https://github.com/WordPress
 /wordpress-develop/blob/master/src/wp-includes/media.php#L3288-L3296 -
 checking to see if these are used in GB.

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


More information about the wp-trac mailing list