Changeset 6734 for trunk/src/includes/users/capabilities.php
- Timestamp:
- 11/16/2017 11:08:24 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/users/capabilities.php
r6708 r6734 492 492 foreach ( (array) array_keys( $blogs ) as $blog_id ) { 493 493 494 // Switch to the blogID495 switch_to_blog( $blog_id );494 // Switch to the site ID 495 bbp_switch_to_site( $blog_id ); 496 496 497 497 // Get topics and replies … … 518 518 } 519 519 520 // Switch back to current blog521 restore_current_blog();520 // Switch back to current site 521 bbp_restore_current_site(); 522 522 } 523 523 … … 570 570 foreach ( (array) array_keys( $blogs ) as $blog_id ) { 571 571 572 // Switch to the blogID573 switch_to_blog( $blog_id );572 // Switch to the site ID 573 bbp_switch_to_site( $blog_id ); 574 574 575 575 // Get topics and replies … … 596 596 } 597 597 598 // Switch back to current blog599 restore_current_blog();598 // Switch back to current site 599 bbp_restore_current_site(); 600 600 } 601 601
Note: See TracChangeset
for help on using the changeset viewer.