Changeset 10825 for trunk/src/bp-core/bp-core-functions.php
- Timestamp:
- 05/29/2016 06:12:08 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-core/bp-core-functions.php
r10763 r10825 18 18 * @since 1.6.0 19 19 * 20 * @uses bp_get_version() To get the BuddyPress version.21 20 */ 22 21 function bp_version() { … … 39 38 * @since 1.6.0 40 39 * 41 * @uses bp_get_db_version() To get the BuddyPress database version.42 40 */ 43 41 function bp_db_version() { … … 60 58 * @since 1.6.0 61 59 * 62 * @uses bp_get_db_version_raw() To get the current database BuddyPress version.63 60 */ 64 61 function bp_db_version_raw() { … … 359 356 * @since 1.5.0 360 357 * 361 * @uses apply_filters() Filter 'bp_is_username_compatibility_mode' to alter.362 358 * @todo Move to members component? 363 359 * … … 384 380 * 385 381 * @since 1.5.0 386 *387 * @uses apply_filters() Filter 'bp_use_wp_admin_bar' to alter.388 382 * 389 383 * @return bool Default: true. False when WP Toolbar support is disabled. … … 924 918 * @since 1.0.0 925 919 * 926 * @uses get_blog_option() WordPress function to fetch blog meta.927 *928 920 * @return string The domain URL for the blog. 929 921 */ … … 946 938 * 947 939 * @since 1.0.0 948 *949 * @uses wp_safe_redirect()950 940 * 951 941 * @param string $location The redirect URL. … … 1077 1067 * 1078 1068 * @since 1.0.0 1079 *1080 * @uses apply_filters() Filter 'bp_core_time_since_pre' to bypass BP's calculations.1081 * @uses apply_filters() Filter 'bp_core_time_since' to modify BP's calculations.1082 1069 * 1083 1070 * @param int|string $older_date The earlier time from which you're calculating … … 1317 1304 * @since 1.1.0 1318 1305 * 1319 * @uses setcookie() Sets a cookie value for the user.1320 1306 */ 1321 1307 function bp_core_setup_message() { … … 1401 1387 * @since 1.0.0 1402 1388 * 1403 * @uses bp_update_user_meta() BP function to update user metadata in the1404 1389 * usermeta table. 1405 1390 * … … 1459 1444 * @since 1.0.0 1460 1445 * 1461 * @uses bp_core_time_since() This function will return an English1462 1446 * representation of the time elapsed. 1463 1447 * … … 1510 1494 * @since 1.5.0 1511 1495 * 1512 * @uses apply_filters() Filter 'bp_get_user_meta_key' to modify keys individually.1513 *1514 1496 * @param string|bool $key The usermeta meta_key. 1515 1497 * @return string $key The usermeta meta_key. … … 1537 1519 * 1538 1520 * @see get_user_meta() For complete details about parameters and return values. 1539 * @uses bp_get_user_meta_key() For a filterable version of the meta key.1540 1521 * 1541 1522 * @param int $user_id The ID of the user whose meta you're fetching. … … 1559 1540 * 1560 1541 * @see update_user_meta() For complete details about parameters and return values. 1561 * @uses bp_get_user_meta_key() For a filterable version of the meta key.1562 1542 * 1563 1543 * @param int $user_id The ID of the user whose meta you're setting. … … 1581 1561 * 1582 1562 * @see delete_user_meta() For complete details about parameters and return values. 1583 * @uses bp_get_user_meta_key() For a filterable version of the meta key.1584 1563 * 1585 1564 * @param int $user_id The ID of the user whose meta you're deleting. … … 1710 1689 * @since 1.5.0 1711 1690 * 1712 * @uses bp_core_do_network_admin()1713 * @uses network_admin_url()1714 * @uses admin_url()1715 1691 * 1716 1692 * @param string $path Optional. The sub-path under /wp-admin to be … … 1744 1720 * @since 1.5.0 1745 1721 * 1746 * @uses bp_is_network_activated()1747 * @uses bp_is_multiblog_mode()1748 *1749 1722 * @return bool True if the BP admin screen should appear in the Network Admin, 1750 1723 * otherwise false. … … 1879 1852 * @since 1.5.0 1880 1853 * 1881 * @uses apply_filters() Filter 'bp_is_multiblog_mode' to alter.1882 *1883 1854 * @return bool False when multiblog mode is disabled; true when enabled. 1884 1855 * Default: false. … … 2067 2038 * 2068 2039 * @since 1.6.0 2069 *2070 * @uses do_action() Calls 'bp_verify_nonce_request' on $action.2071 2040 * 2072 2041 * @param string $action Action nonce. … … 2691 2660 * @since 2.3.0 2692 2661 * 2693 * @uses is_multisite()2694 * @uses bp_is_root_blog()2695 * @uses switch_to_blog()2696 * @uses wp_upload_dir()2697 * @uses restore_current_blog()2698 *2699 2662 * @return string 2700 2663 */
Note: See TracChangeset
for help on using the changeset viewer.