[wp-trac] [WordPress Trac] #46122: Code cleanup on $role_links to follow precedent from 46112

WordPress Trac noreply at wordpress.org
Mon Jan 28 10:04:15 UTC 2019


#46122: Code cleanup on $role_links to follow precedent from 46112
------------------------------+-----------------------------
 Reporter:  garrett-eclipse   |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Users             |    Version:
 Severity:  normal            |   Keywords:
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 Hello,

 Following from #46112 I applied the same convention to the $role_links and
 cleaned up the two files;
 class-wp-users-list-table.php -
 https://github.com/WordPress/WordPress/blob/master/wp-admin/includes
 /class-wp-users-list-table.php#L197
 class-wp-ms-users-list-table.php -
 https://github.com/WordPress/WordPress/blob/master/wp-admin/includes
 /class-wp-ms-users-list-table.php#L142

 This continues to standardize the approach and cleans up the code for
 readability.

 Cheers

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46122>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list