Changeset 2704
- Timestamp:
- 12/06/2010 05:49:18 PM (15 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbp-includes/bbp-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-functions.php
r2688 r2704 598 598 599 599 if ( empty( $forum_id ) ) { 600 $stickies = get_option( ' bbp_sticky_topics' );600 $stickies = get_option( '_bbp_super_sticky_topics' ); 601 601 } else { 602 602 if ( $bbp->forum_id == get_post_type( $forum_id ) ) { 603 $stickies = get_post_meta( $forum_id );603 $stickies = get_post_meta( '_bbp_sticky_topics', $forum_id ); 604 604 } else { 605 605 $stickies = null; … … 619 619 */ 620 620 function bbp_get_super_stickies () { 621 $stickies = get_option( ' bbp_super_sticky_topics' );621 $stickies = get_option( '_bbp_super_sticky_topics' ); 622 622 623 623 return apply_filters( 'bbp_get_super_stickies', $stickies );
Note: See TracChangeset
for help on using the changeset viewer.