Changeset 5951 for trunk/src/includes/common/functions.php
- Timestamp:
- 10/28/2015 04:07:50 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/functions.php (modified) (34 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/functions.php
r5908 r5951 19 19 * A bbPress specific method of formatting numeric values 20 20 * 21 * @since bbPress (r2486)21 * @since 2.0.0 bbPress (r2486) 22 22 * 23 23 * @param string $number Number to format … … 40 40 * A bbPress specific method of formatting numeric values 41 41 * 42 * @since bbPress (r3857)42 * @since 2.1.0 bbPress (r3857) 43 43 * 44 44 * @param string $number Number to format … … 61 61 * Convert time supplied from database query into specified date format. 62 62 * 63 * @since bbPress (r2455)63 * @since 2.0.0 bbPress (r2544) 64 64 * 65 65 * @param string $time Time to convert … … 82 82 * Output formatted time to display human readable time difference. 83 83 * 84 * @since bbPress (r2544)84 * @since 2.0.0 bbPress (r2544) 85 85 * 86 86 * @param string $older_date Unix timestamp from which the difference begins. … … 96 96 * Return formatted time to display human readable time difference. 97 97 * 98 * @since bbPress (r2544)98 * @since 2.0.0 bbPress (r2544) 99 99 * 100 100 * @param string $older_date Unix timestamp from which the difference begins. … … 205 205 * - Trimming again 206 206 * 207 * @since bbPress (r2782)207 * @since 2.0.0 bbPress (r2782) 208 208 * 209 209 * @param string $reason Optional. User submitted reason for editing. … … 250 250 * Append 'view=all' to query string if it's already there from referer 251 251 * 252 * @since bbPress (r3325)252 * @since 2.0.0 bbPress (r3325) 253 253 * 254 254 * @param string $original_link Original Link to be modified … … 274 274 * Remove 'view=all' from query string 275 275 * 276 * @since bbPress (r3325)276 * @since 2.0.0 bbPress (r3325) 277 277 * 278 278 * @param string $original_link Original Link to be modified … … 289 289 * If current user can and is vewing all topics/replies 290 290 * 291 * @since bbPress (r3325)291 * @since 2.0.0 bbPress (r3325) 292 292 * 293 293 * @uses current_user_can() To check if the current user can moderate … … 303 303 * Assist pagination by returning correct page number 304 304 * 305 * @since bbPress (r2628)305 * @since 2.0.0 bbPress (r2628) 306 306 * 307 307 * @uses get_query_var() To get the 'paged' value … … 336 336 * function fixes that. 337 337 * 338 * @since bbPress (r2734)338 * @since 2.0.0 bbPress (r2734) 339 339 * 340 340 * @param array $data Post data … … 374 374 * Check the date against the _bbp_edit_lock setting. 375 375 * 376 * @since bbPress (r3133)376 * @since 2.0.0 bbPress (r3133) 377 377 * 378 378 * @param string $post_date_gmt … … 416 416 * Get the forum statistics 417 417 * 418 * @since bbPress (r2769)418 * @since 2.0.0 bbPress (r2769) 419 419 * 420 420 * @param array $args Optional. The function supports these arguments (all … … 605 605 * If there are any errors, those are directly added to {@link bbPress:errors} 606 606 * 607 * @since bbPress (r2734)607 * @since 2.0.0 bbPress (r2734) 608 608 * 609 609 * @param array $args Optional. If no args are there, then $_POST values are … … 652 652 * Check to make sure that a user is not making a duplicate post 653 653 * 654 * @since bbPress (r2763)654 * @since 2.0.0 bbPress (r2763) 655 655 * 656 656 * @param array $post_data Contains information about the comment … … 724 724 * of time. 725 725 * 726 * @since bbPress (r2734)726 * @since 2.0.0 bbPress (r2734) 727 727 * 728 728 * @param false|array $anonymous_data Optional - if it's an anonymous post. Do … … 774 774 * Checks topics and replies against the discussion moderation of blocked keys 775 775 * 776 * @since bbPress (r3581)776 * @since 2.1.0 bbPress (r3581) 777 777 * 778 778 * @param array $anonymous_data Anonymous user data … … 898 898 * Checks topics and replies against the discussion blacklist of blocked keys 899 899 * 900 * @since bbPress (r3446)900 * @since 2.0.0 bbPress (r3446) 901 901 * 902 902 * @param array $anonymous_data Anonymous user data … … 1012 1012 * user input, but it was causing issues in some installations. 1013 1013 * 1014 * @since bbPress (r5409)1014 * @since 2.6.0 bbPress (r5409) 1015 1015 * 1016 1016 * @see wp_mail … … 1040 1040 * custom emailer script. 1041 1041 * 1042 * @since bbPress (r5413)1042 * @since 2.6.0 bbPress (r5413) 1043 1043 * 1044 1044 * @param int $reply_id ID of the newly made reply … … 1204 1204 * custom emailer script. 1205 1205 * 1206 * @since bbPress (r5156)1206 * @since 2.5.0 bbPress (r5156) 1207 1207 * 1208 1208 * @param int $topic_id ID of the newly made reply … … 1354 1354 * This function is deprecated. Please use: bbp_notify_topic_subscribers() 1355 1355 * 1356 * @since bbPress (r2668) 1357 * @deprecated bbPress (r5412) 1356 * @since 2.0.0 bbPress (r2668) 1357 * 1358 * @deprecated 2.6.0 bbPress (r5412) 1358 1359 * 1359 1360 * @param int $reply_id ID of the newly made reply … … 1411 1412 * optional $filter_key parameter. 1412 1413 * 1413 * @since bbPress (r3839)1414 * @since 2.1.0 bbPress (r3839) 1414 1415 * 1415 1416 * @param string|array $args Value to merge with $defaults … … 1451 1452 * Adds ability to include or exclude specific post_parent ID's 1452 1453 * 1453 * @since bbPress (r2996) 1454 * @deprecated bbPress (r5814) 1454 * @since 2.0.0 bbPress (r2996) 1455 * 1456 * @deprecated 2.5.8 bbPress (r5814) 1455 1457 * 1456 1458 * @global WP $wp … … 1547 1549 * Query the DB and get a count of public children 1548 1550 * 1549 * @since bbPress (r2868)1551 * @since 2.0.0 bbPress (r2868) 1550 1552 * 1551 1553 * @param int $parent_id Parent id … … 1598 1600 * Query the DB and get a the child id's of public children 1599 1601 * 1600 * @since bbPress (r2868)1602 * @since 2.0.0 bbPress (r2868) 1601 1603 * 1602 1604 * @param int $parent_id Parent id … … 1651 1653 * Query the DB and get a the child id's of all children 1652 1654 * 1653 * @since bbPress (r3325)1655 * @since 2.0.0 bbPress (r3325) 1654 1656 * 1655 1657 * @param int $ parent_id Parent id … … 1735 1737 * Used most frequently when editing a forum/topic/reply 1736 1738 * 1737 * @since bbPress (r3694)1739 * @since 2.1.0 bbPress (r3694) 1738 1740 * 1739 1741 * @global WP_Query $post … … 1758 1760 * To avoid security exploits within the theme. 1759 1761 * 1760 * @since bbPress (r4022)1762 * @since 2.1.0 bbPress (r4022) 1761 1763 * 1762 1764 * @uses do_action() Calls 'bbp_check_referer' on $action. … … 1802 1804 * Useful for configurations like reverse proxying. 1803 1805 * 1804 * @since bbPress (2.5.0)1806 * @since 2.2.0 bbPress (r4361) 1805 1807 * 1806 1808 * @param string $requested_url The requested URL. … … 1819 1821 * Fires at the end of the nonce verification check. 1820 1822 * 1821 * @since bbPress (2.2.0)1823 * @since 2.1.0 bbPress (r4023) 1822 1824 * 1823 1825 * @param string $action Action nonce. … … 1836 1838 * the stars align and the user has requested a feed of any bbPress type. 1837 1839 * 1838 * @since bbPress (r3171)1840 * @since 2.0.0 bbPress (r3171) 1839 1841 * 1840 1842 * @param array $query_vars … … 2059 2061 * Used to guess if page exists at requested path 2060 2062 * 2061 * @since bbPress (r3304)2063 * @since 2.0.0 bbPress (r3304) 2062 2064 * 2063 2065 * @uses get_option() To see if pretty permalinks are enabled … … 2089 2091 * Used primarily with topics/replies inside hidden forums. 2090 2092 * 2091 * @since bbPress (r3051)2093 * @since 2.0.0 bbPress (r3051) 2092 2094 * 2093 2095 * @global WP_Query $wp_query
Note: See TracChangeset
for help on using the changeset viewer.