Changeset 4557
- Timestamp:
- 12/07/2012 10:13:30 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/common/template-tags.php
r4533 r4557 2052 2052 2053 2053 // Get post ancestors 2054 if ( is_ page() || is_single() || bbp_is_forum_edit() || bbp_is_topic_edit() || bbp_is_reply_edit() ) {2054 if ( is_singular() || bbp_is_forum_edit() || bbp_is_topic_edit() || bbp_is_reply_edit() ) { 2055 2055 $ancestors = array_reverse( (array) get_post_ancestors( get_the_ID() ) ); 2056 2056 }
Note: See TracChangeset
for help on using the changeset viewer.