Changeset 6647 for branches/2.5/includes/common/functions.php
- Timestamp:
- 08/10/2017 02:48:42 PM (8 years ago)
- File:
-
- 1 edited
-
branches/2.5/includes/common/functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/includes/common/functions.php
r6512 r6647 497 497 if ( current_user_can( 'read_private_topics' ) || current_user_can( 'edit_others_topics' ) || current_user_can( 'view_trash' ) ) { 498 498 499 // Declare empty arrays 500 $topics = $topic_titles = array(); 501 499 502 // Private 500 503 $topics['private'] = ( !empty( $r['count_private_topics'] ) && current_user_can( 'read_private_topics' ) ) ? (int) $all_topics->{$private} : 0; … … 528 531 529 532 if ( current_user_can( 'read_private_replies' ) || current_user_can( 'edit_others_replies' ) || current_user_can( 'view_trash' ) ) { 533 534 // Declare empty arrays 535 $replies = $reply_titles = array(); 530 536 531 537 // Private
Note: See TracChangeset
for help on using the changeset viewer.