[wp-trac] [WordPress Trac] #58150: Use is_main_site() in WP_MS_Sites_List_Table::handle_row_actions()

WordPress Trac noreply at wordpress.org
Fri Apr 21 09:48:55 UTC 2023


#58150: Use is_main_site() in WP_MS_Sites_List_Table::handle_row_actions()
-------------------------------------+-------------------------------------
 Reporter:  SergeyBiryukov           |       Owner:  SergeyBiryukov
     Type:  enhancement              |      Status:  closed
 Priority:  low                      |   Milestone:  6.3
Component:  Networks and Sites       |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  good-first-bug has-      |     Focuses:  multisite, coding-
  patch                              |  standards
-------------------------------------+-------------------------------------

Comment (by SergeyBiryukov):

 In [changeset:"55672" 55672]:
 {{{
 #!CommitTicketReference repository="" revision="55672"
 Networks and Sites: Use `is_main_site()` in a few more places.

 This updates some more instances of comparing site IDs on Sites and Users
 screens in network admin to use `is_main_site()` for clarity.

 Follow-up to [12603], [13918], [22064], [38814], [41131], [55666].

 See #58150.
 }}}

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


More information about the wp-trac mailing list