[wp-trac] [WordPress Trac] #38071: Add status links to network/sites.php

WordPress Trac noreply at wordpress.org
Sat May 6 22:29:21 UTC 2017


#38071: Add status links to network/sites.php
-------------------------------------------------+-------------------------
 Reporter:  johnjamesjacoby                      |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Networks and Sites                   |  Release
 Severity:  normal                               |     Version:  3.0
 Keywords:  has-patch has-screenshots has-unit-  |  Resolution:
  tests                                          |     Focuses:  multisite
-------------------------------------------------+-------------------------

Comment (by pbiron):

 I found enough info about writing unit tests for the WP test-suite to take
 a stab at writing tests for this ticket.

 Since these are the 1st tests I've written against this test-suite I
 **highly** suggest that someone double-check them to make sure they are
 actually testing what I think they are testing) and the setup and teardown
 (to make sure they don't adversely affect other tests.

 I separated the tests for `wp_site_counts()` and those for `sites.php`
 into 2 separate files.  As noted in a comment in
 `wpMSSitesListTable-38071.php`, once this ticket is accepted, those tests
 should be integrated into `wpMSSitesListTable.php`...I figured it would be
 easier to verify that my tests were correct if they were isolated from the
 existing tests in `wpMSSitesListTable.php`.

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


More information about the wp-trac mailing list