Changeset 4325
- Timestamp:
- 11/03/2012 10:42:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/common/template-tags.php
r4277 r4325 174 174 $retval = false; 175 175 176 // Edit is not a single forum 177 if ( bbp_is_forum_edit() ) 178 return false; 179 176 180 // Single and a match 177 181 if ( is_singular( bbp_get_forum_post_type() ) || bbp_is_query_name( 'bbp_single_forum' ) ) … … 244 248 // Assume false 245 249 $retval = false; 250 251 // Edit is not a single topic 252 if ( bbp_is_topic_edit() ) 253 return false; 246 254 247 255 // Single and a match … … 487 495 // Assume false 488 496 $retval = false; 497 498 // Edit is not a single reply 499 if ( bbp_is_reply_edit() ) 500 return false; 489 501 490 502 // Single and a match
Note: See TracChangeset
for help on using the changeset viewer.