[wp-trac] [WordPress Trac] #44111: Setting data to variable early.

WordPress Trac noreply at wordpress.org
Thu May 17 02:36:57 UTC 2018


#44111: Setting data to variable early.
-------------------------------------------------+-------------------------
 Reporter:  rnaby                                |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Administration                       |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing reporter-    |     Focuses:
  feedback close                                 |  administration
-------------------------------------------------+-------------------------

Comment (by rnaby):

 @SergeyBiryukov Thanks for giving feedback. Actually, it's not solving
 problem, I proposed it for a cleaner approach. Like we are setting some
 data to a variable and if some condition has met only then we're changing
 it. Otherwise it's being what it was. I think it makes the code simple and
 a little less lengthy to read or understand.

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


More information about the wp-trac mailing list