Changeset 7047
- Timestamp:
- 12/15/2019 10:44:10 AM (5 years ago)
- Location:
- branches/2.6/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.6/src/bbpress.php
r7027 r7047 114 114 // Only run these methods if they haven't been ran previously 115 115 if ( null === $instance ) { 116 $instance = new bbPress ;116 $instance = new bbPress(); 117 117 $instance->setup_environment(); 118 118 $instance->includes(); … … 823 823 824 824 // Setup the engagements interface 825 $this->engagements = new $class_name ;825 $this->engagements = new $class_name(); 826 826 } 827 827 -
branches/2.6/src/includes/admin/tools/converter.php
r6788 r7047 92 92 // Try to instantiate the converter object 93 93 if ( class_exists( $platform ) ) { 94 $converter = new $platform ;94 $converter = new $platform(); 95 95 } 96 96 } -
branches/2.6/src/includes/extend/buddypress/loader.php
r6807 r7047 147 147 148 148 // Always load the members component 149 bbpress()->extend->buddypress->members = new BBP_BuddyPress_Members ;149 bbpress()->extend->buddypress->members = new BBP_BuddyPress_Members(); 150 150 151 151 // Create new activity class 152 152 if ( bp_is_active( 'activity' ) ) { 153 bbpress()->extend->buddypress->activity = new BBP_BuddyPress_Activity ;153 bbpress()->extend->buddypress->activity = new BBP_BuddyPress_Activity(); 154 154 } 155 155 -
branches/2.6/src/includes/replies/functions.php
r7036 r7047 2387 2387 // Parse arguments 2388 2388 $r = bbp_parse_args( $args, array( 2389 'walker' => new BBP_Walker_Reply ,2389 'walker' => new BBP_Walker_Reply(), 2390 2390 'max_depth' => bbp_thread_replies_depth(), 2391 2391 'style' => 'ul', -
branches/2.6/src/includes/replies/template.php
r6966 r7047 236 236 // Figure out total pages 237 237 if ( true === $r['hierarchical'] ) { 238 $walker = new BBP_Walker_Reply ;238 $walker = new BBP_Walker_Reply(); 239 239 $total_pages = ceil( $walker->get_number_of_root_elements( $bbp->reply_query->posts ) / $bbp->reply_query->posts_per_page ); 240 240 } else { … … 2374 2374 // We are threading replies 2375 2375 if ( bbp_thread_replies() ) { 2376 $walker = new BBP_Walker_Reply ;2376 $walker = new BBP_Walker_Reply(); 2377 2377 $threads = absint( $walker->get_number_of_root_elements( $bbp->reply_query->posts ) - 1 ); 2378 2378 $retstr = sprintf( _n( 'Viewing %1$s reply thread', 'Viewing %1$s reply threads', $threads, 'bbpress' ), bbp_number_format( $threads ) );
Note: See TracChangeset
for help on using the changeset viewer.