[wp-trac] [WordPress Trac] #47480: Set expiration of the recovery mode cookie
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Jun  4 15:28:23 UTC 2019
    
    
  
#47480: Set expiration of the recovery mode cookie
------------------------------------+------------------------------
 Reporter:  david.binda             |       Owner:  (none)
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  General                 |     Version:  5.2
 Severity:  normal                  |  Resolution:
 Keywords:  needs-patch servehappy  |     Focuses:
------------------------------------+------------------------------
Comment (by TimothyBlynJacobs):
 This gets a +1 from me. But I think the `apply_filters` call and the
 `time() + ` expression should probably be separated into two different
 statements.
 `$length = apply_filters();`
 `$expire = time() + $length;`
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47480#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list