[wp-trac] [WordPress Trac] #46595: Allow more than one valid recovery mode link

WordPress Trac noreply at wordpress.org
Tue Apr 16 05:00:08 UTC 2019


#46595: Allow more than one valid recovery mode link
-------------------------------------------------+-------------------------
 Reporter:  flixos90                             |       Owner:
                                                 |  timothyblynjacobs
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  5.2
Component:  Bootstrap/Load                       |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  servehappy has-patch has-unit-tests  |     Focuses:
  commit                                         |
-------------------------------------------------+-------------------------
Changes (by flixos90):

 * keywords:  servehappy has-patch has-unit-tests => servehappy has-patch
     has-unit-tests commit


Comment:

 [attachment:"46595.3.diff"] performs minor tweaks to code style and order
 of property declarations, to match related code parts. In addition it
 introduces private methods `get_keys()` and `update_keys()` to abstract
 the logic for reading and writing the option, which gets rid of the
 requirement to always remind ourselves to write the array typecasting bit.

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


More information about the wp-trac mailing list