Changeset 5165
- Timestamp:
- 11/23/2013 10:09:47 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/forums/template.php
r5164 r5165 819 819 $retval = false; 820 820 821 // Parse the arguments 822 $r = bbp_parse_args( $args, array( 823 'forum_id' => 0, 824 'user_id' => 0, 825 'before' => '', 826 'after' => '', 827 'subscribe' => __( 'Subscribe', 'bbpress' ), 828 'unsubscribe' => __( 'Unsubscribe', 'bbpress' ) 829 ), 'get_forum_subscribe_link' ); 830 821 831 // No link for categories until we support subscription hierarchy 822 832 // @see http://bbpress.trac.wordpress.org/ticket/2475 823 833 if ( ! bbp_is_forum_category() ) { 824 825 // Parse the arguments826 $r = bbp_parse_args( $args, array(827 'forum_id' => 0,828 'user_id' => 0,829 'before' => '',830 'after' => '',831 'subscribe' => __( 'Subscribe', 'bbpress' ),832 'unsubscribe' => __( 'Unsubscribe', 'bbpress' )833 ), 'get_forum_subscribe_link' );834 835 // Get the link836 834 $retval = bbp_get_user_subscribe_link( $r ); 837 835 }
Note: See TracChangeset
for help on using the changeset viewer.