Skip to:
Content

bbPress.org

Changeset 2387


Ignore:
Timestamp:
12/31/2009 01:10:17 AM (16 years ago)
Author:
matt
Message:

Use correct URL, also bump version to reflect alpha status.

Location:
trunk/bb-includes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bb-includes/functions.bb-meta.php

    r2336 r2387  
    298298            break;
    299299        case 'version':
    300             return '1.0.2'; // Don't filter
     300            return '1.1-alpha'; // Don't filter
    301301            break;
    302302        case 'bb_db_version' :
  • trunk/bb-includes/functions.bb-template.php

    r2385 r2387  
    33903390
    33913391function bb_user_subscribe_link() {
    3392     global $topic, $bb_current_user, $bbdb;
     3392    global $topic, $bb_current_user, $bbdb, $bb;
    33933393
    33943394    if ( !$bb_current_user )
     
    34043404
    34053405    if ( $there )
    3406         echo '<a href="'. bb_nonce_url( "/?doit=bb-subscribe&amp;topic_id=$topic->topic_id&amp;and=remove", 'toggle-subscribe_' . $topic->topic_id ) .'">' . __( 'Unsubscribe from Topic' ) . '</a>';
     3406        echo '<a href="'. bb_nonce_url( "$bb->uri?doit=bb-subscribe&amp;topic_id=$topic->topic_id&amp;and=remove", 'toggle-subscribe_' . $topic->topic_id ) .'">' . __( 'Unsubscribe from Topic' ) . '</a>';
    34073407    else
    3408         echo '<a href="'. bb_nonce_url( "/?doit=bb-subscribe&amp;topic_id=$topic->topic_id&amp;and=add", 'toggle-subscribe_' . $topic->topic_id ) .'">' . __( 'Subscribe to Topic' ) . '</a>';
     3408        echo '<a href="'. bb_nonce_url( "$bb->uri?doit=bb-subscribe&amp;topic_id=$topic->topic_id&amp;and=add", 'toggle-subscribe_' . $topic->topic_id ) .'">' . __( 'Subscribe to Topic' ) . '</a>';
    34093409
    34103410    }
Note: See TracChangeset for help on using the changeset viewer.