[wp-trac] [WordPress Trac] #10852: improve get_page_children

WordPress Trac noreply at wordpress.org
Sun Feb 22 14:15:44 UTC 2015

#10852: improve get_page_children
 Reporter:  hailin                               |       Owner:  westi
     Type:  enhancement                          |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Future
Component:  Posts, Post Types                    |  Release
 Severity:  normal                               |     Version:  2.9
 Keywords:  has-patch dev-feedback needs-unit-   |  Resolution:
  tests                                          |     Focuses:
                                                 |  performance

Comment (by boonebgorges):

 santagada - Thanks for the patch. This looks like it'll be a great

 > Any ideas how should I test this code? I'm thinking of adding tests to
 tests/post/getPageChildren.php, does that seem ok?

 I was coming to this ticket to suggest that very thing :) I'd suggest
 writing tests against the existing implementation, and posting them here
 as a separate patch, so that we can do side-by-side regression tests.

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

More information about the wp-trac mailing list