Ticket #8374: bpCoreGetDirectoryPageIds.php.patch
File bpCoreGetDirectoryPageIds.php.patch, 854 bytes (added by , 5 years ago) |
---|
-
tests/phpunit/testcases/core/functions/bpCoreGetDirectoryPageIds.php
271 271 'import_id' => $dir_pages->activity->id 272 272 ) ); 273 273 274 // delete the post that matches the BP activity page ID on this sub-site274 // Delete the post that matches the BP activity page ID on this sub-site. 275 275 wp_delete_post( $dir_pages->activity->id, true ); 276 276 277 // restore blog277 // Restore blog 278 278 restore_current_blog(); 279 279 280 // refetch BP directory pages280 // Refetch BP directory pages 281 281 $dir_pages = bp_core_get_directory_pages(); 282 282 283 283 // Now verify that our BP activity page was not wiped out