Changeset 28399 for trunk/tests/phpunit/tests/post/getPages.php
- Timestamp:
- 05/15/2014 01:11:21 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/getPages.php
r27767 r28399 165 165 */ 166 166 function test_wp_dropdown_pages() { 167 $ posts = $this->factory->post->create_many( 5, array( 'post_type' => 'page' ) );167 $this->factory->post->create_many( 5, array( 'post_type' => 'page' ) ); 168 168 169 169 preg_match_all( '#<option#', wp_dropdown_pages( 'echo=0' ), $matches );
Note: See TracChangeset
for help on using the changeset viewer.