Skip to:
Content

bbPress.org

Changeset 2704


Ignore:
Timestamp:
12/06/2010 05:49:18 PM (15 years ago)
Author:
johnjamesjacoby
Message:

Rename sticky option keys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-functions.php

    r2688 r2704  
    598598
    599599    if ( empty( $forum_id ) ) {
    600         $stickies = get_option( 'bbp_sticky_topics' );
     600        $stickies = get_option( '_bbp_super_sticky_topics' );
    601601    } else {
    602602        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 );
    604604        } else {
    605605            $stickies = null;
     
    619619 */
    620620function bbp_get_super_stickies () {
    621     $stickies = get_option( 'bbp_super_sticky_topics' );
     621    $stickies = get_option( '_bbp_super_sticky_topics' );
    622622
    623623    return apply_filters( 'bbp_get_super_stickies', $stickies );
Note: See TracChangeset for help on using the changeset viewer.