Skip to:
Content

BuddyPress.org

Ticket #8374: bpCoreGetDirectoryPageIds.php.patch

File bpCoreGetDirectoryPageIds.php.patch, 854 bytes (added by ravipatel, 5 years ago)
  • tests/phpunit/testcases/core/functions/bpCoreGetDirectoryPageIds.php

     
    271271                        'import_id' => $dir_pages->activity->id
    272272                ) );
    273273
    274                 // delete the post that matches the BP activity page ID on this sub-site
     274                // Delete the post that matches the BP activity page ID on this sub-site.
    275275                wp_delete_post( $dir_pages->activity->id, true );
    276276
    277                 // restore blog
     277                // Restore blog
    278278                restore_current_blog();
    279279
    280                 // refetch BP directory pages
     280                // Refetch BP directory pages
    281281                $dir_pages = bp_core_get_directory_pages();
    282282
    283283                // Now verify that our BP activity page was not wiped out