WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #38071, comment 15


Ignore:
Timestamp:
05/05/2017 02:51:55 AM (5 years ago)
Author:
pbiron
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38071, comment 15

    initial v1  
    11The patch I just attached is against the current core code, which has changed a bit since @johnjamesjacoby posted his patch.
    22
    3 I also borrowed @PieWP's idea for the implementation of `wp_count_sites()` and slightly modified the implementation of `is_base_request()` I commented on above.
     3I also borrowed @PieWP's idea for the implementation of `wp_count_sites()` and slightly modified the implementation of `WP_MS_Sites_List_Table::is_base_request()` I commented on above.
    44
    5 Again, if someone can point me to the rules for writing unit tests for WP, I'll take a stab at that over the next few days...and maybe we can get this 4.8.
     5Again, if someone can point me to the rules for writing unit tests for WP, I'll take a stab at that over the next few days...and maybe we can get this in 4.8.