[wp-trac] [WordPress Trac] #55692: Extra space at the time of initialization of value

WordPress Trac noreply at wordpress.org
Sat May 7 16:18:29 UTC 2022

#55692: Extra space at the time of initialization of value
 Reporter:  rajeshraval786  |       Owner:  (none)
     Type:  enhancement     |      Status:  reopened
 Priority:  normal          |   Milestone:  6.1
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  coding-standards
Changes (by SergeyBiryukov):

 * status:  closed => reopened
 * resolution:  invalid =>
 * milestone:   => 6.1


 Hi there, welcome to WordPress Trac! Thanks for the ticket.

 As noted above, [attachment:"55692.patch"] is not quite correct, as the
 assignment needs to be aligned with the previous one.

 However, we can both remove the extra space and avoid a WPCS warning by
 adding an empty line between the line in the patch and the assignment
 above, which should also make the block a bit more readable.

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

More information about the wp-trac mailing list