[wp-trac] [WordPress Trac] #42948: Backbone client sending empty string in X-WP-Nonce header by default in some cases

WordPress Trac noreply at wordpress.org
Tue Feb 27 16:55:50 UTC 2018


#42948: Backbone client sending empty string in X-WP-Nonce header by default in
some cases
--------------------------+------------------------------
 Reporter:  FPCSJames     |       Owner:  adamsilverstein
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  4.9.5
Component:  REST API      |     Version:  4.9.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by FPCSJames):

 Replying to [comment:7 ocean90]:
 > Related: #43265, #43265
 >
 > #43265 uses isEmpty() and should cover this I think.
 It appears both patches attached to #43265 use isNull() and isUndefined(),
 not isEmpty(), unless I'm missing something.

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


More information about the wp-trac mailing list