Changeset 2928
- Timestamp:
- 02/21/2011 12:11:43 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-topic-template.php
r2915 r2928 101 101 // Don't pass post_parent if forum_id is empty or 0 102 102 if ( empty( $default['post_parent'] ) ) { 103 104 // Remove post_parent from possible assignments 103 105 unset( $default['post_parent'] ); 106 unset( $args['post_parent'] ); 107 108 // Reassign post_parent to current ID 104 109 if ( !bbp_is_user_profile_page() && !bbp_is_user_profile_edit() && !bbp_is_view() ) 105 110 $post_parent = get_the_ID(); … … 2400 2405 } 2401 2406 2402 2403 2407 ?>
Note: See TracChangeset
for help on using the changeset viewer.