Changeset 5951 for trunk/src/includes/topics/functions.php
- Timestamp:
- 10/28/2015 04:07:50 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/topics/functions.php (modified) (48 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/topics/functions.php
r5917 r5951 17 17 * for the topic to function properly. 18 18 * 19 * @since bbPress (r3349)19 * @since 2.0.0 bbPress (r3349) 20 20 * 21 21 * @uses bbp_parse_args() … … 936 936 * function can be costly to run but is necessary to keep everything accurate. 937 937 * 938 * @since bbPress (r2800) 938 * @since 2.0.0 bbPress (r2800) 939 * 939 940 * @param int $topic_id Topic id 940 941 * @param string $last_active_time Optional. Last active time … … 1140 1141 * Handles the front end merge topic submission 1141 1142 * 1142 * @since bbPress (r2756)1143 * @since 2.0.0 bbPress (r2756) 1143 1144 * 1144 1145 * @param string $action The requested action to compare this function to … … 1394 1395 * and their forums. 1395 1396 * 1396 * @since bbPress (r2756)1397 * @since 2.0.0 bbPress (r2756) 1397 1398 * 1398 1399 * @param int $destination_topic_id Destination topic id … … 1437 1438 * Handles the front end split topic submission 1438 1439 * 1439 * @since bbPress (r2756)1440 * @since 2.0.0 bbPress (r2756) 1440 1441 * 1441 1442 * @param string $action The requested action to compare this function to … … 1774 1775 * and their forums. 1775 1776 * 1776 * @since bbPress (r2756)1777 * @since 2.0.0 bbPress (r2756) 1777 1778 * 1778 1779 * @param int $from_reply_id From reply id … … 1814 1815 * Handles the front end tag management (renaming, merging, destroying) 1815 1816 * 1816 * @since bbPress (r2768)1817 * @since 2.0.0 bbPress (r2768) 1817 1818 * 1818 1819 * @param string $action The requested action to compare this function to … … 2005 2006 * Return an associative array of available topic statuses 2006 2007 * 2007 * @since bbPress (r5059)2008 * @since 2.4.0 bbPress (r5059) 2008 2009 * 2009 2010 * @return array … … 2022 2023 * Return an associative array of topic sticky types 2023 2024 * 2024 * @since bbPress (r5059)2025 * @since 2.4.0 bbPress (r5059) 2025 2026 * 2026 2027 * @return array … … 2039 2040 * Return sticky topics of a forum 2040 2041 * 2041 * @since bbPress (r2592)2042 * @since 2.0.0 bbPress (r2592) 2042 2043 * 2043 2044 * @param int $forum_id Optional. If not passed, super stickies are returned. … … 2057 2058 * Return topics stuck to front page of the forums 2058 2059 * 2059 * @since bbPress (r2592)2060 * @since 2.0.0 bbPress (r2592) 2060 2061 * 2061 2062 * @uses get_option() To get super sticky topics … … 2076 2077 * sticking/unsticking and trashing/untrashing/deleting of topics 2077 2078 * 2078 * @since bbPress (r2727)2079 * @since 2.0.0 bbPress (r2727) 2079 2080 * 2080 2081 * @param string $action The requested action to compare this function to … … 2258 2259 * Remove a deleted topic from all users' favorites 2259 2260 * 2260 * @since bbPress (r2652)2261 * @since 2.0.0 bbPress (r2652) 2261 2262 * 2262 2263 * @param int $topic_id Get the topic id to remove … … 2291 2292 * Remove a deleted topic from all users' subscriptions 2292 2293 * 2293 * @since bbPress (r2652)2294 * @since 2.0.0 bbPress (r2652) 2294 2295 * 2295 2296 * @param int $topic_id Get the topic id to remove … … 2333 2334 * Bump the total reply count of a topic 2334 2335 * 2335 * @since bbPress (r3825)2336 * @since 2.1.0 bbPress (r3825) 2336 2337 * 2337 2338 * @param int $topic_id Optional. Topic id. … … 2366 2367 * Bump the total hidden reply count of a topic 2367 2368 * 2368 * @since bbPress (r3825)2369 * @since 2.1.0 bbPress (r3825) 2369 2370 * 2370 2371 * @param int $topic_id Optional. Topic id. … … 2401 2402 * Update the topic's forum id 2402 2403 * 2403 * @since bbPress (r2855)2404 * @since 2.0.0 bbPress (r2855) 2404 2405 * 2405 2406 * @param int $topic_id Optional. Topic id to update … … 2438 2439 * Update the topic's topic id 2439 2440 * 2440 * @since bbPress (r2954)2441 * @since 2.0.0 bbPress (r2954) 2441 2442 * 2442 2443 * @param int $topic_id Optional. Topic id to update … … 2457 2458 * Adjust the total reply count of a topic 2458 2459 * 2459 * @since bbPress (r2467)2460 * @since 2.0.0 bbPress (r2467) 2460 2461 * 2461 2462 * @param int $topic_id Optional. Topic id to update … … 2496 2497 * spammed and pending replies) 2497 2498 * 2498 * @since bbPress (r2740)2499 * @since 2.0.0 bbPress (r2740) 2499 2500 * 2500 2501 * @param int $topic_id Optional. Topic id to update … … 2542 2543 * Update the topic with the last active post ID 2543 2544 * 2544 * @since bbPress (r2888)2545 * @since 2.0.0 bbPress (r2888) 2545 2546 * 2546 2547 * @param int $topic_id Optional. Topic id to update … … 2626 2627 * Update the topic with the most recent reply ID 2627 2628 * 2628 * @since bbPress (r2625)2629 * @since 2.0.0 bbPress (r2625) 2629 2630 * 2630 2631 * @param int $topic_id Optional. Topic id to update … … 2674 2675 * Adjust the total voice count of a topic 2675 2676 * 2676 * @since bbPress (r2567)2677 * @since 2.0.0 bbPress (r2567) 2677 2678 * 2678 2679 * @param int $topic_id Optional. Topic id to update … … 2715 2716 * Adjust the total anonymous reply count of a topic 2716 2717 * 2717 * @since bbPress (r2567)2718 * @since 2.0.0 bbPress (r2567) 2718 2719 * 2719 2720 * @param int $topic_id Optional. Topic id to update … … 2755 2756 * Update the revision log of the topic 2756 2757 * 2757 * @since bbPress (r2782)2758 * @since 2.0.0 bbPress (r2782) 2758 2759 * 2759 2760 * @param array $args Supports these args: … … 2797 2798 * Closes a topic 2798 2799 * 2799 * @since bbPress (r2740)2800 * @since 2.0.0 bbPress (r2740) 2800 2801 * 2801 2802 * @param int $topic_id Topic id … … 2867 2868 * Opens a topic 2868 2869 * 2869 * @since bbPress (r2740)2870 * @since 2.0.0 bbPress (r2740) 2870 2871 * 2871 2872 * @param int $topic_id Topic id … … 2937 2938 * Marks a topic as spam 2938 2939 * 2939 * @since bbPress (r2740)2940 * @since 2.0.0 bbPress (r2740) 2940 2941 * 2941 2942 * @param int $topic_id Topic id … … 2990 2991 * Usually you'll want to do this before the topic itself is marked as spam. 2991 2992 * 2992 * @since bbPress (r5405)2993 * @since 2.6.0 bbPress (r5405) 2993 2994 * 2994 2995 * @param int $topic_id … … 3037 3038 * Usually you'll want to do this before the topic itself is marked as spam. 3038 3039 * 3039 * @since bbPress (r5405)3040 * @since 2.6.0 bbPress (r5405) 3040 3041 * 3041 3042 * @param int $topic_id … … 3074 3075 * Unspams a topic 3075 3076 * 3076 * @since bbPress (r2740)3077 * @since 2.0.0 bbPress (r2740) 3077 3078 * 3078 3079 * @param int $topic_id Topic id … … 3134 3135 * Usually you'll want to do this after the topic is unspammed. 3135 3136 * 3136 * @since bbPress (r5405)3137 * @since 2.6.0 bbPress (r5405) 3137 3138 * 3138 3139 * @param int $topic_id … … 3169 3170 * Usually you'll want to do this before the topic itself is unmarked as spam. 3170 3171 * 3171 * @since bbPress (r5405)3172 * @since 2.6.0 bbPress (r5405) 3172 3173 * 3173 3174 * @param int $topic_id … … 3192 3193 * Sticks a topic to a forum or front 3193 3194 * 3194 * @since bbPress (r2754)3195 * @since 2.0.0 bbPress (r2754) 3195 3196 * 3196 3197 * @param int $topic_id Optional. Topic id … … 3254 3255 * Approves a pending topic 3255 3256 * 3256 * @since bbPress (r5503)3257 * @since 2.6.0 bbPress (r5503) 3257 3258 * 3258 3259 * @param int $topic_id Topic id … … 3301 3302 * Unapproves a topic 3302 3303 * 3303 * @since bbPress (r5503)3304 * @since 2.6.0 bbPress (r5503) 3304 3305 * 3305 3306 * @param int $topic_id Topic id … … 3347 3348 * Unsticks a topic both from front and it's forum 3348 3349 * 3349 * @since bbPress (r2754)3350 * @since 2.0.0 bbPress (r2754) 3350 3351 * 3351 3352 * @param int $topic_id Optional. Topic id … … 3426 3427 * Usually you'll want to do this before the topic itself is deleted. 3427 3428 * 3428 * @since bbPress (r5405)3429 * @since 2.6.0 bbPress (r5405) 3429 3430 * 3430 3431 * @param int $topic_id … … 3488 3489 * Usually you'll want to do this before the topic itself is marked as spam. 3489 3490 * 3490 * @since bbPress (r5405)3491 * @since 2.6.0 bbPress (r5405) 3491 3492 * 3492 3493 * @param int $topic_id … … 3554 3555 * Usually you'll want to do this after the topic is unspammed. 3555 3556 * 3556 * @since bbPress (r5405)3557 * @since 2.6.0 bbPress (r5405) 3557 3558 * 3558 3559 * @param int $topic_id … … 3642 3643 * Return the topics per page setting 3643 3644 * 3644 * @since bbPress (r3540)3645 * @since 2.0.0 bbPress (r3540) 3645 3646 * 3646 3647 * @param int $default Default replies per page (15) … … 3666 3667 * Return the topics per RSS page setting 3667 3668 * 3668 * @since bbPress (r3540)3669 * @since 2.0.0 bbPress (r3540) 3669 3670 * 3670 3671 * @param int $default Default replies per page (25) … … 3692 3693 * Get topic tags for a specific topic ID 3693 3694 * 3694 * @since bbPress (r5836)3695 * @since 2.6.0 bbPress (r5836) 3695 3696 * 3696 3697 * @param int $topic_id … … 3709 3710 * Get topic tags for a specific topic ID 3710 3711 * 3711 * @since bbPress (r4165)3712 * @since 2.2.0 bbPress (r4165) 3712 3713 * 3713 3714 * @param int $topic_id … … 3729 3730 * Check if autoembeds are enabled and hook them in if so 3730 3731 * 3731 * @since bbPress (r3752) 3732 * @since 2.1.0 bbPress (r3752) 3733 * 3732 3734 * @global WP_Embed $wp_embed 3733 3735 */ … … 3745 3747 * Output an RSS2 feed of topics, based on the query passed. 3746 3748 * 3747 * @since bbPress (r3171)3749 * @since 2.0.0 bbPress (r3171) 3748 3750 * 3749 3751 * @uses bbp_version() … … 3849 3851 * Redirect if unathorized user is attempting to edit a topic 3850 3852 * 3851 * @since bbPress (r3605)3853 * @since 2.1.0 bbPress (r3605) 3852 3854 * 3853 3855 * @uses bbp_is_topic_edit() … … 3873 3875 * Redirect if unathorized user is attempting to edit a topic tag 3874 3876 * 3875 * @since bbPress (r3605)3877 * @since 2.1.0 bbPress (r3605) 3876 3878 * 3877 3879 * @uses bbp_is_topic_tag_edit()
Note: See TracChangeset
for help on using the changeset viewer.