Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/10/2012 08:47:07 AM (12 years ago)
Author:
johnjamesjacoby
Message:

Delete empty update file, deprecate bp_db_update_stuff(), and clean up deprecated phpdoc blocks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/deprecated/1.5.php

    r6474 r6583  
    1313/** Loader ********************************************************************/
    1414
     15/**
     16 * @deprecated BuddyPress (1.5)
     17 */
    1518function bp_setup_root_components() {
    1619    do_action( 'bp_setup_root_components' );
     
    2629 * Use is_multisite() instead.
    2730 *
    28  * @deprecated 1.5
     31 * @deprecated BuddyPress (1.5)
    2932 * @deprecated Use is_multisite()
    3033 */
     
    3942 * Checks if current blog is root blog of site. Deprecated in 1.5.
    4043 *
    41  * @deprecated 1.5
     44 * @deprecated BuddyPress (1.5)
    4245 * @deprecated Use is_main_site()
    4346 * @package BuddyPress
     
    5457 * WPMU version of is_super_admin()
    5558 *
    56  * @deprecated 1.5
     59 * @deprecated BuddyPress (1.5)
    5760 * @deprecated Use is_super_admin()
    5861 * @param int $user_id Optional. Defaults to logged-in user
     
    7275 * that allowed positioning of menus. Deprecated in 1.5 in favour of a WP core function.
    7376 *
    74  * @deprecated 1.5
     77 * @deprecated BuddyPress (1.5)
    7578 * @deprecated Use add_menu_page().
    7679 * @since BuddyPress (1.1)
     
    118121/** Activity ******************************************************************/
    119122
     123/**
     124 * @deprecated BuddyPress (1.5)
     125 */
    120126function bp_is_activity_permalink() {
    121127    _deprecated_function( __FUNCTION__, '1.5', 'bp_is_single_activity' );
     
    125131/** Core **********************************************************************/
    126132
     133/**
     134 * @deprecated BuddyPress (1.5)
     135 */
    127136function bp_core_get_wp_profile() {
    128137    _deprecated_function( __FUNCTION__, '1.5' );
    129 
    130     global $bp;
    131138
    132139    $ud = get_userdata( bp_displayed_user_id() ); ?>
     
    197204}
    198205
     206/**
     207 * @deprecated BuddyPress (1.5)
     208 * @deprecated Use bp_is_my_profile()
     209 */
    199210function bp_is_home() {
    200211    _deprecated_function( __FUNCTION__, '1.5', 'bp_is_my_profile' );
     
    205216 * Is the user on the front page of the site?
    206217 *
    207  * @deprecated 1.5
     218 * @deprecated BuddyPress (1.5)
    208219 * @deprecated Use is_front_page()
    209220 * @return bool
     
    217228 * Is the front page of the site set to the Activity component?
    218229 *
    219  * @deprecated 1.5
     230 * @deprecated BuddyPress (1.5)
    220231 * @deprecated Use bp_is_component_front_page( 'activity' )
    221232 * @return bool
     
    226237}
    227238
     239/**
     240 * @deprecated BuddyPress (1.5)
     241 * @deprecated use bp_is_user()
     242 */
    228243function bp_is_member() {
    229244    _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user' );
     
    231246}
    232247
     248/**
     249 * @deprecated BuddyPress (1.5)
     250 * @deprecated use bp_loggedin_user_link()
     251 */
    233252function bp_loggedinuser_link() {
    234253    _deprecated_function( __FUNCTION__, '1.5', 'bp_logged_in_user_link' );
     
    240259 * Deprecated in 1.5; not used anymore.
    241260 *
     261 * @deprecated BuddyPress (1.5)
    242262 * @return bool
    243263 */
     
    250270 * Template tag version of bp_get_page_title()
    251271 *
    252  * @deprecated 1.5
     272 * @deprecated BuddyPress (1.5)
    253273 * @deprecated Use wp_title()
    254274 * @since BuddyPress (1.0)
     
    261281     * Now, just simply use wp_title().
    262282     *
    263      * @deprecated 1.5
     283     * @deprecated BuddyPress (1.5)
    264284     * @deprecated Use wp_title()
    265285     * @since BuddyPress (1.0)
     
    278298 * Generate a link to log out. Last used in BP 1.2-beta. You should be using wp_logout_url().
    279299 *
    280  * @deprecated 1.5
     300 * @deprecated BuddyPress (1.5)
    281301 * @deprecated Use wp_logout_url()
    282302 * @since BuddyPress (1.0)
     
    292312 * Send an email and a BP notification on receipt of an @-mention in a group
    293313 *
    294  * @deprecated 1.5
     314 * @deprecated BuddyPress (1.5)
    295315 * @deprecated Deprecated in favor of the more general bp_activity_at_message_notification()
    296316 */
    297317function groups_at_message_notification( $content, $poster_user_id, $group_id, $activity_id ) {
    298     global $bp;
    299 
    300318    _deprecated_function( __FUNCTION__, '1.5', 'bp_activity_at_message_notification()' );
    301319
     
    361379/**
    362380 * BP 1.5 simplified notification functions a bit
     381 * @deprecated BuddyPress (1.5)
    363382 */
    364383function bp_core_delete_notifications_for_user_by_type( $user_id, $component_name, $component_action ) {
     
    374393/**
    375394 * In BP 1.5, these functions were renamed for greater consistency
     395 * @deprecated BuddyPress (1.5)
    376396 */
    377397function bp_forum_directory_permalink() {
     
    386406/**
    387407 * Last used by core in BP 1.1. The markup was merged into DTheme's header.php template.
     408 * @deprecated BuddyPress (1.5)
    388409 */
    389410function bp_search_form() {
     
    405426/**
    406427 * Some _is_ function had their names normalized
     428 * @deprecated BuddyPress (1.5)
    407429 */
    408430function bp_is_profile_edit() {
     
    411433}
    412434
     435/**
     436 * @deprecated BuddyPress (1.5)
     437 */
    413438function bp_is_change_avatar() {
    414439    _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_change_avatar()' );
     
    416441}
    417442
     443/**
     444 * @deprecated BuddyPress (1.5)
     445 */
    418446function bp_is_friend_requests() {
    419447    _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user_friend_requests()' );
     
    426454 * You should be using bp_is_root_component().
    427455 *
    428  * @deprecated 1.5
     456 * @deprecated BuddyPress (1.5)
    429457 * @deprecated bp_is_root_component()
    430458 * @return true if root component, else false.
     
    441469 * in BuddyPress 1.5.
    442470 *
     471 * @deprecated BuddyPress (1.5)
    443472 * @since BuddyPress (1.5)
    444473 */
     
    450479     * include "Activity Stream." As of 1.5.x, it is no longer required.
    451480     *
    452      * @deprecated 1.5
     481     * @deprecated BuddyPress (1.5)
    453482     * @deprecated No longer required.
    454483     * @param string $page_html A list of pages as a dropdown (select list)
     
    468497     * As of 1.5.x, it is no longer required.
    469498     *
    470      * @deprecated 1.5
     499     * @deprecated BuddyPress (1.5)
    471500     * @deprecated No longer required.
    472501     * @param $string $oldvalue Previous value of get_option( 'page_on_front' )
     
    489518     * As of 1.5.x, it is no longer required.
    490519     *
    491      * @deprecated 1.5
     520     * @deprecated BuddyPress (1.5)
    492521     * @deprecated No longer required.
    493522     * @param string $template Absolute path to the page template
     
    506535     * As of 1.5.x, it is no longer required.
    507536     *
    508      * @deprecated 1.5
     537     * @deprecated BuddyPress (1.5)
    509538     * @deprecated No longer required.
    510539     * @since BuddyPress (1.2)
     
    520549     * As of 1.5.x, it is no longer required.
    521550     *
    522      * @deprecated 1.5
     551     * @deprecated BuddyPress (1.5)
    523552     * @deprecated No longer required.
    524553     * @param array $posts Posts as retrieved by WP_Query
     
    537566     * As of 1.5.x, we recommend that you enqueue the comment-reply javascript in your theme's header.php.
    538567     *
    539      * @deprecated 1.5
     568     * @deprecated BuddyPress (1.5)
    540569     * @deprecated Enqueue the comment-reply script in your theme's header.php.
    541570     * @since BuddyPress (1.2)
Note: See TracChangeset for help on using the changeset viewer.