Ticket #2581: ticket2581.patch
File ticket2581.patch, 1.1 KB (added by , 11 years ago) |
---|
-
template.php
1839 1839 // No link 1840 1840 $retval = false; 1841 1841 1842 // Parse the arguments1843 $r = bbp_parse_args( $args, array(1844 'user_id' => 0,1845 'topic_id' => 0,1846 'before' => ' | ',1847 'after' => '',1848 'subscribe' => __( 'Subscribe', 'bbpress' ),1849 'unsubscribe' => __( 'Unsubscribe', 'bbpress' )1850 ), 'get_forum_subscribe_link' );1851 1852 1842 // Get the link 1853 $retval = bbp_get_user_subscribe_link( $r);1843 $retval = bbp_get_user_subscribe_link(); 1854 1844 1855 return apply_filters( 'bbp_get_topic_subscribe_link', $retval , $r);1845 return apply_filters( 'bbp_get_topic_subscribe_link', $retval ); 1856 1846 } 1857 1847 1858 1848 /** Topic Favorites ***********************************************************/ … … 1892 1882 'after' => '', 1893 1883 'favorite' => __( 'Favorite', 'bbpress' ), 1894 1884 'favorited' => __( 'Unfavorite', 'bbpress' ) 1895 ), 'get_ forum_favorite_link' );1885 ), 'get_topic_favorite_link' ); 1896 1886 1897 1887 // Get the link 1898 1888 $retval = bbp_get_user_favorites_link( $r );