Skip to:
Content

BuddyPress.org

Changeset 4907


Ignore:
Timestamp:
07/30/2011 02:00:16 PM (15 years ago)
Author:
djpaul
Message:

Replace all mentions of 1.3 with 1.5 in phpDoc and deprecated function notices. Fixes #3416

Location:
trunk
Files:
48 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-classes.php

    r4817 r4907  
    197197        /**
    198198         * In BuddyPress 1.2.x, this was used to retrieve specific activity stream items (for example, on an activity's permalink page).
    199          * As of 1.3.x, use BP_Activity_Activity::get( ..., $in ) instead.
     199         * As of 1.5.x, use BP_Activity_Activity::get( ..., $in ) instead.
    200200         *
    201          * @deprecated 1.3
     201         * @deprecated 1.5
    202202         * @deprecated Use BP_Activity_Activity::get( ..., $in ) instead.
    203203         * @param mixed $activity_ids Array or comma-separated string of activity IDs to retrieve
     
    211211         */
    212212        function get_specific( $activity_ids, $max = false, $page = 1, $per_page = 25, $sort = 'DESC', $display_comments = false ) {
    213                 _deprecated_function( __FUNCTION__, '1.3', 'Use BP_Activity_Activity::get( ..., $in ) instead.' );
     213                _deprecated_function( __FUNCTION__, '1.5', 'Use BP_Activity_Activity::get( ..., $in ) instead.' );
    214214                return BP_Activity_Activity::get( $max, $page, $per_page, $sort, false, false, $display_comments, false, false, $activity_ids );
    215215        }
  • trunk/bp-activity/bp-activity-filters.php

    r4817 r4907  
    147147 *
    148148 * @package BuddyPress
    149  * @since 1.3
     149 * @since 1.5
    150150 *
    151151 * @param obj $activity
     
    176176 *
    177177 * @package BuddyPress Activity
    178  * @since 1.3
     178 * @since 1.5
    179179 * @param $text The original activity entry text
    180180 * @return $excerpt The truncated text
  • trunk/bp-activity/bp-activity-functions.php

    r4819 r4907  
    1515 * Checks $bp pages global and looks for directory page
    1616 *
    17  * @since 1.3
     17 * @since 1.5
    1818 *
    1919 * @global object $bp Global BuddyPress settings object
     
    3030 *
    3131 * @package BuddyPress Activity
    32  * @since 1.3
     32 * @since 1.5
    3333 *
    3434 * @param str $content The content of the activity, usually found in $activity->content
     
    5050 *
    5151 * @package BuddyPress Activity
    52  * @since 1.3
     52 * @since 1.5
    5353 *
    5454 * @param int $user_id The id of the user whose unread mentions are being reset
     
    6363 *
    6464 * @package BuddyPress Activity
    65  * @since 1.3
     65 * @since 1.5
    6666 *
    6767 * @param int $activity_id The unique id for the activity item
     
    10021002 * @see bp_embed_activity_save_cache()
    10031003 * @package BuddyPress Activity
    1004  * @since 1.3
     1004 * @since 1.5
    10051005 */
    10061006function bp_activity_embed() {
     
    10161016 *
    10171017 * @package BuddyPress Activity
    1018  * @since 1.3
     1018 * @since 1.5
    10191019 */
    10201020function bp_embed_activity_cache( $cache, $id, $cachekey ) {
     
    10271027 *
    10281028 * @package BuddyPress Activity
    1029  * @since 1.3
     1029 * @since 1.5
    10301030 */
    10311031function bp_embed_activity_save_cache( $cache, $cachekey, $id ) {
  • trunk/bp-activity/bp-activity-loader.php

    r4817 r4907  
    1717         * Start the activity component creation process
    1818         *
    19          * @since BuddyPress 1.3
     19         * @since 1.5
    2020         */
    2121        function BP_Activity_Component() {
     
    5555         * backwards compatibility.
    5656         *
    57          * @since BuddyPress 1.3
     57         * @since 1.5
    5858         * @global obj $bp
    5959         */
  • trunk/bp-activity/bp-activity-screens.php

    r4847 r4907  
    7575 *
    7676 * @package BuddyPress Activity
    77  * @since 1.3
     77 * @since 1.5
    7878 * @uses bp_activity_clear_new_mentions()
    7979 * @uses bp_is_my_profile()
  • trunk/bp-activity/bp-activity-template.php

    r4888 r4907  
    1515 * @package BuddyPress
    1616 * @subpackage Activity Template
    17  * @since BuddyPress 1.3
     17 * @since 1.5
    1818 *
    1919 * @uses bp_get_activity_slug()
     
    2727         * @package BuddyPress
    2828         * @subpackage Activity Template
    29          * @since BuddyPress 1.3
     29         * @since 1.5
    3030         */
    3131        function bp_get_activity_slug() {
     
    3939 * @package BuddyPress
    4040 * @subpackage Activity Template
    41  * @since BuddyPress 1.3
     41 * @since 1.5
    4242 *
    4343 * @uses bp_get_activity_root_slug()
     
    5151         * @package BuddyPress
    5252         * @subpackage Activity Template
    53          * @since BuddyPress 1.3
     53         * @since 1.5
    5454         */
    5555        function bp_get_activity_root_slug() {
     
    6363 * @package BuddyPress
    6464 * @subpackage Activity Template
    65  * @since 1.3
     65 * @since 1.5
    6666 * @uses bp_get_activity_directory_permalink()
    6767 */
     
    7474         * @package BuddyPress
    7575         * @subpackage Activity Template
    76          * @since 1.3
     76         * @since 1.5
    7777         * @uses apply_filters()
    7878         * @uses traisingslashit()
     
    9292 * @package BuddyPress
    9393 * @subpackage Activity Template
    94  * @since 1.3
     94 * @since 1.5
    9595 */
    9696class BP_Activity_Template {
     
    418418 *
    419419 * @package BuddyPress Activity
    420  * @since 1.3
     420 * @since 1.5
    421421 *
    422422 * @global $activities_template The activity data loop object created in bp_has_activities()
     
    909909 * @package BuddyPress
    910910 * @subpackage Activity Template
    911  * @since 1.3
     911 * @since 1.5
    912912 *
    913913 * @return obj $current_comment The activity comment currently being displayed
     
    927927 * @package BuddyPress
    928928 * @subpackage Activity Template
    929  * @since 1.3
     929 * @since 1.5
    930930 */
    931931function bp_activity_comment_id() {
     
    937937         * @package BuddyPress
    938938         * @subpackage Activity Template
    939          * @since 1.3
     939         * @since 1.5
    940940         *
    941941         * @return int $comment_id The id of the activity comment currently being displayed
     
    954954 * @package BuddyPress
    955955 * @subpackage Activity Template
    956  * @since 1.3
     956 * @since 1.5
    957957 */
    958958function bp_activity_comment_user_id() {
     
    964964         * @package BuddyPress
    965965         * @subpackage Activity Template
    966          * @since 1.3
     966         * @since 1.5
    967967         *
    968968         * @return int $user_id The user_id of the author of the displayed activity comment
     
    981981 * @package BuddyPress
    982982 * @subpackage Activity Template
    983  * @since 1.3
     983 * @since 1.5
    984984 */
    985985function bp_activity_comment_user_link() {
     
    991991         * @package BuddyPress
    992992         * @subpackage Activity Template
    993          * @since 1.3
     993         * @since 1.5
    994994         *
    995995         * @return str $user_link The URL of the activity comment author's profile
     
    10061006 * @package BuddyPress
    10071007 * @subpackage Activity Template
    1008  * @since 1.3
     1008 * @since 1.5
    10091009 */
    10101010function bp_activity_comment_name() {
     
    10181018         * @package BuddyPress
    10191019         * @subpackage Activity Template
    1020          * @since 1.3
     1020         * @since 1.5
    10211021         *
    10221022         * @return str $name The full name of the activity comment author
     
    10351035 * @package BuddyPress
    10361036 * @subpackage Activity Template
    1037  * @since 1.3
     1037 * @since 1.5
    10381038 */
    10391039function bp_activity_comment_date_recorded() {
     
    10451045         * @package BuddyPress
    10461046         * @subpackage Activity Template
    1047          * @since 1.3
     1047         * @since 1.5
    10481048         *
    10491049         * @return str $date_recorded Time since the activity was recorded, of the form "%s ago"
     
    10651065 * @package BuddyPress
    10661066 * @subpackage Activity Template
    1067  * @since 1.3
     1067 * @since 1.5
    10681068 */
    10691069function bp_activity_comment_delete_link() {
     
    10751075         * @package BuddyPress
    10761076         * @subpackage Activity Template
    1077          * @since 1.3
     1077         * @since 1.5
    10781078         *
    10791079         * @return str $link The nonced URL for deleting the current activity comment
     
    10921092 * @package BuddyPress
    10931093 * @subpackage Activity Template
    1094  * @since 1.3
     1094 * @since 1.5
    10951095 */
    10961096function bp_activity_comment_content() {
     
    11061106         * @package BuddyPress
    11071107         * @subpackage Activity Template
    1108          * @since 1.3
     1108         * @since 1.5
    11091109         *
    11101110         * @return str $content The content of the current activity comment
     
    15771577 * Template tag so we can hook activity feed to <head>
    15781578 *
    1579  * @since 1.3
     1579 * @since 1.5
    15801580 */
    15811581function bp_activity_sitewide_feed() {
  • trunk/bp-blogs/bp-blogs-functions.php

    r4819 r4907  
    66 * Checks $bp pages global and looks for directory page
    77 *
    8  * @since 1.3
     8 * @since 1.5
    99 *
    1010 * @global object $bp Global BuddyPress settings object
  • trunk/bp-blogs/bp-blogs-loader.php

    r4819 r4907  
    1717         * Start the blogs component creation process
    1818         *
    19          * @since BuddyPress 1.3
     19         * @since 1.5
    2020         */
    2121        function __construct() {
     
    3333         * backwards compatibility.
    3434         *
    35          * @since BuddyPress 1.3
     35         * @since 1.5
    3636         * @global obj $bp
    3737         */
  • trunk/bp-blogs/bp-blogs-template.php

    r4819 r4907  
    5656 * @package BuddyPress
    5757 * @subpackage Blogs Template
    58  * @since 1.3
     58 * @since 1.5
    5959 * @uses bp_get_blogs_directory_permalink()
    6060 */
     
    6767         * @package BuddyPress
    6868         * @subpackage Blogs Template
    69          * @since 1.3
     69         * @since 1.5
    7070         * @uses apply_filters()
    7171         * @uses traisingslashit()
     
    292292                 * By default it will return the avatar for the primary blog admin.
    293293                 *
    294                  * This filter is deprecated as of BuddyPress 1.3 and may be removed in a future version.
     294                 * This filter is deprecated as of BuddyPress 1.5 and may be removed in a future version.
    295295                 * Use the 'bp_get_blog_avatar' filter instead.
    296296                 */
  • trunk/bp-core/admin/bp-core-admin.php

    r4879 r4907  
    327327 *
    328328 * @package BuddyPress Core
    329  * @since 1.3
     329 * @since 1.5
    330330 */
    331331function bp_core_admin_component_options() {
     
    476476 *
    477477 * @package BuddyPress Core
    478  * @since 1.3
     478 * @since 1.5
    479479 */
    480480function bp_core_admin_page_options() {
  • trunk/bp-core/admin/bp-core-update.php

    r4820 r4907  
    12591259 *
    12601260 * @package BuddyPress Core
    1261  * @since 1.3
     1261 * @since 1.5
    12621262 *
    12631263 * @return array $page_ids
     
    12891289 *
    12901290 * @package BuddyPress Core
    1291  * @since 1.3
     1291 * @since 1.5
    12921292 * @global $pagenow The current admin page
    12931293 */
  • trunk/bp-core/bp-core-avatars.php

    r4820 r4907  
    732732 *
    733733 * @package BuddyPress
    734  * @since 1.3
     734 * @since 1.5
    735735 *
    736736 * @param str $type 'thumb' for thumbs, otherwise full
     
    750750 *
    751751 * @package BuddyPress
    752  * @since 1.3
     752 * @since 1.5
    753753 *
    754754 * @return int The thumb width
     
    762762 *
    763763 * @package BuddyPress
    764  * @since 1.3
     764 * @since 1.5
    765765 *
    766766 * @return int The thumb height
     
    774774 *
    775775 * @package BuddyPress
    776  * @since 1.3
     776 * @since 1.5
    777777 *
    778778 * @return int The full width
     
    786786 *
    787787 * @package BuddyPress
    788  * @since 1.3
     788 * @since 1.5
    789789 *
    790790 * @return int The full height
     
    798798 *
    799799 * @package BuddyPress
    800  * @since 1.3
     800 * @since 1.5
    801801 *
    802802 * @return int The width
     
    812812 *
    813813 * @package BuddyPress
    814  * @since 1.3
     814 * @since 1.5
    815815 *
    816816 * @return int The filesize
     
    826826 *
    827827 * @package BuddyPress
    828  * @since 1.3
     828 * @since 1.5
    829829 *
    830830 * @return int The URL of the default avatar
     
    840840 *
    841841 * @package BuddyPress
    842  * @since 1.3
     842 * @since 1.5
    843843 *
    844844 * @return int The URL of the default avatar thumb
  • trunk/bp-core/bp-core-buddybar.php

    r4904 r4907  
    288288 *
    289289 * @package BuddyPress
    290  * @since 1.3
     290 * @since 1.5
    291291 *
    292292 * @param str $nav_item The id of the top-level nav item whose nav items you're checking
     
    574574 * This can't be done in bp_core_load_admin_bar() because that function is called before locale.php is included.
    575575 *
    576  * @since 1.3
     576 * @since 1.5
    577577 */
    578578function bp_core_load_buddybar_rtl_stylesheet() {
  • trunk/bp-core/bp-core-catchuri.php

    r4820 r4907  
    358358 *
    359359 * @package BuddyPress Core
    360  * @since 1.3
     360 * @since 1.5
    361361 */
    362362function bp_core_catch_no_access() {
     
    391391 *
    392392 * @package BuddyPress Core
    393  * @since 1.3
     393 * @since 1.5
    394394 */
    395395function bp_core_no_access( $args = '' ) {
     
    448448 * @package BuddyPress Core
    449449 * @global $error
    450  * @since 1.3
     450 * @since 1.5
    451451 */
    452452function bp_core_no_access_wp_login_error() {
  • trunk/bp-core/bp-core-classes.php

    r4896 r4907  
    10981098 *
    10991099 * @package BuddyPress Core
    1100  * @since 1.3
     1100 * @since 1.5
    11011101 * @see WP_Embed
    11021102 */
  • trunk/bp-core/bp-core-component.php

    r4820 r4907  
    1515 * @subpackage Component
    1616 *
    17  * @since BuddyPress 1.3
     17 * @since 1.5
    1818 */
    1919class BP_Component {
     
    6363         * Component loader
    6464         *
    65          * @since BuddyPress 1.3
     65         * @since 1.5
    6666         *
    6767         * @param mixed $args Required. Supports these args:
     
    9292         * Component global variables
    9393         *
    94          * @since BuddyPress 1.3
     94         * @since 1.5
    9595         * @access private
    9696         *
     
    143143         * Include required files
    144144         *
    145          * @since BuddyPress 1.3
     145         * @since 1.5
    146146         * @access private
    147147         *
     
    176176         * Setup the actions
    177177         *
    178          * @since BuddyPress 1.3
     178         * @since 1.5
    179179         * @access private
    180180         *
     
    278278         * Setup the component title
    279279         *
    280          * @since Buddypress 1.3
     280         * @since 1.5
    281281         *
    282282         * @uses do_action() Calls 'bp_{@link bp_Component::name}setup_title'
     
    289289         * Setup the component post types
    290290         *
    291          * @since BuddyPress 1.3
     291         * @since 1.5
    292292         *
    293293         * @uses do_action() Calls 'bp_{@link bp_Component::name}_register_post_types'
     
    300300         * Register component specific taxonomies
    301301         *
    302          * @since BuddyPress 1.3
     302         * @since 1.5
    303303         *
    304304         * @uses do_action() Calls 'bp_{@link bp_Component::name}_register_taxonomies'
     
    311311         * Add any additional rewrite tags
    312312         *
    313          * @since BuddyPress 1.3
     313         * @since 1.5
    314314         *
    315315         * @uses do_action() Calls 'bp_{@link bp_Component::name}_add_rewrite_tags'
     
    322322         * Generate any additional rewrite rules
    323323         *
    324          * @since BuddyPress 1.3
     324         * @since 1.5
    325325         *
    326326         * @uses do_action() Calls 'bp_{@link bp_Component::name}_generate_rewrite_rules'
  • trunk/bp-core/bp-core-filters.php

    r4898 r4907  
    266266 * @return string new page title
    267267 * @see wp_title()
    268  * @since 1.3
     268 * @since 1.5
    269269 */
    270270function bp_modify_page_title( $title, $sep, $seplocation ) {
  • trunk/bp-core/bp-core-functions.php

    r4855 r4907  
    1212 *
    1313 * @package BuddyPress
    14  * @since 1.3
     14 * @since 1.5
    1515 *
    1616 * @uses bp_get_root_blog_id()
     
    3232 *
    3333 * @package BuddyPress
    34  * @since 1.3
     34 * @since 1.5
    3535 *
    3636 * @uses bp_get_root_blog_id()
     
    4949 *
    5050 * @package BuddyPress
    51  * @since 1.3
     51 * @since 1.5
    5252 *
    5353 * @uses bp_get_root_blog_id()
     
    7474 *
    7575 * @package BuddyPress Core
    76  * @since 1.3
    77  *
    78  * @todo Remove the "Upgrading from an earlier version of BP pre-1.3" block. Temporary measure for
     76 * @since 1.5
     77 *
     78 * @todo Remove the "Upgrading from an earlier version of BP pre-1.5" block. Temporary measure for
    7979 *       people running trunk installations. Leave for a version or two, then remove.
    8080 */
     
    8282        $page_ids = bp_get_option( 'bp-pages' );
    8383
    84         // Upgrading from an earlier version of BP pre-1.3
     84        // Upgrading from an earlier version of BP pre-1.5
    8585        if ( !isset( $page_ids['members'] ) && $ms_page_ids = get_site_option( 'bp-pages' ) ) {
    8686                $page_blog_id = bp_is_multiblog_mode() ? get_current_blog_id() : bp_get_root_blog_id();
     
    103103 *
    104104 * @package BuddyPress Core
    105  * @since 1.3
     105 * @since 1.5
    106106 *
    107107 * @param array $blog_page_ids The IDs of the WP pages corresponding to BP component directories
     
    115115 *
    116116 * @package BuddyPress Core
    117  * @since 1.3
     117 * @since 1.5
    118118 *
    119119 * @return obj $pages Page names, IDs, and slugs
     
    161161 * Creates a default component slug from a WP page root_slug
    162162 *
    163  * Since 1.3, BP components get their root_slug (the slug used immediately
     163 * Since 1.5, BP components get their root_slug (the slug used immediately
    164164 * following the root domain) from the slug of a corresponding WP page.
    165165 *
     
    176176 *
    177177 * @package BuddyPress Core
    178  * @since 1.3
     178 * @since 1.5
    179179 *
    180180 * @param str $root_slug The root slug, which comes from $bp->pages->[component]->slug
     
    256256 *
    257257 * @package BuddyPress Core
    258  * @since 1.3
     258 * @since 1.5
    259259 *
    260260 * @global object $bp Global BuddyPress settings object
     
    296296 *
    297297 * @package BuddyPress Core
    298  * @since 1.3
     298 * @since 1.5
    299299 *
    300300 * @global object $bp Global BuddyPress settings object
     
    921921 * @global object $bp BuddyPress global settings
    922922 * @package BuddyPress Core
    923  * @since 1.3
     923 * @since 1.5
    924924 */
    925925function bp_embed_init() {
     
    11011101 *
    11021102 * @package BuddyPress
    1103  * @since 1.3
     1103 * @since 1.5
    11041104 *
    11051105 * @param int $blog_id Optional. Defaults to the current blog id.
     
    11251125 *
    11261126 * @package BuddyPress
    1127  * @since 1.3
     1127 * @since 1.5
    11281128 *
    11291129 * @param int $blog_id Optional. Defaults to the current blog id.
     
    11731173 *
    11741174 * @package BuddyPress
    1175  * @since 1.3
     1175 * @since 1.5
    11761176 *
    11771177 * @uses apply_filters() Filter bp_get_user_meta_key to modify keys individually
     
    11901190 *
    11911191 * @package BuddyPress
    1192  * @since 1.3
     1192 * @since 1.5
    11931193 *
    11941194 * @uses bp_get_user_meta_key() For a filterable version of the meta key
     
    12111211 *
    12121212 * @package BuddyPress
    1213  * @since 1.3
     1213 * @since 1.5
    12141214 *
    12151215 * @uses bp_get_user_meta_key() For a filterable version of the meta key
     
    12321232 *
    12331233 * @package BuddyPress
    1234  * @since 1.3
     1234 * @since 1.5
    12351235 *
    12361236 * @uses bp_get_user_meta_key() For a filterable version of the meta key
     
    12491249 *
    12501250 * @package BuddyPress
    1251  * @since 1.3
     1251 * @since 1.5
    12521252 *
    12531253 * @uses apply_filters() Filter 'bp_is_username_compatibility_mode' to alter
     
    12731273 *
    12741274 * @package BuddyPress
    1275  * @since 1.3
     1275 * @since 1.5
    12761276 *
    12771277 * @uses apply_filters() Filter 'bp_is_multiblog_mode' to alter
     
    12851285 * Should we use the WP admin bar?
    12861286 *
    1287  * The WP Admin Bar, introduced in WP 3.1, is fully supported in BuddyPress as of BP 1.3.
    1288  *
    1289  * For the BP 1.3 development cycle, the BuddyBar will remain the default navigation for BP
     1287 * The WP Admin Bar, introduced in WP 3.1, is fully supported in BuddyPress as of BP 1.5.
     1288 *
     1289 * For the BP 1.5 development cycle, the BuddyBar will remain the default navigation for BP
    12901290 * installations. In the future, this behavior will be changed, so that the WP Admin Bar is the
    12911291 * default.
    12921292 *
    12931293 * @package BuddyPress
    1294  * @since 1.3
     1294 * @since 1.5
    12951295 *
    12961296 * @uses apply_filters() Filter 'bp_use_wp_admin_bar' to alter
     
    13051305 *
    13061306 * @return bool False when activity embed support is disabled; true when enabled (default)
    1307  * @since 1.3
     1307 * @since 1.5
    13081308 */
    13091309function bp_use_embed_in_activity() {
     
    13151315 *
    13161316 * @return bool False when activity replies embed support is disabled; true when enabled (default)
    1317  * @since 1.3
     1317 * @since 1.5
    13181318 */
    13191319function bp_use_embed_in_activity_replies() {
     
    13251325 *
    13261326 * @return bool False when form post embed support is disabled; true when enabled (default)
    1327  * @since 1.3
     1327 * @since 1.5
    13281328 */
    13291329function bp_use_embed_in_forum_posts() {
     
    13351335 *
    13361336 * @return bool False when form post embed support is disabled; true when enabled (default)
    1337  * @since 1.3
     1337 * @since 1.5
    13381338 */
    13391339function bp_use_embed_in_private_messages() {
     
    13451345 *
    13461346 * @package BuddyPress
    1347  * @since 1.3
     1347 * @since 1.5
    13481348 *
    13491349 * @param string $path
     
    13591359         *
    13601360         * @package BuddyPress
    1361          * @since 1.3
     1361         * @since 1.5
    13621362         *
    13631363         * @param string $path
     
    14371437 * @global WP_Query $wp_query WordPress query object
    14381438 * @param string $redirect If 'remove_canonical_direct', remove WordPress' "helpful" redirect_canonical action.
    1439  * @since 1.3
     1439 * @since 1.5
    14401440 */
    14411441function bp_do_404( $redirect = 'remove_canonical_direct' ) {
  • trunk/bp-core/bp-core-loader.php

    r4820 r4907  
    1818
    1919// Load deprecated functions
    20 require( BP_PLUGIN_DIR . '/bp-core/deprecated/1.3.php'    );
     20require( BP_PLUGIN_DIR . '/bp-core/deprecated/1.5.php'    );
    2121
    2222// Load the WP admin bar.
     
    7474                        $bp->deactivated_components = apply_filters( 'bp_deactivated_components', array_values( array_diff( array_values( array_merge( $bp->optional_components, $bp->required_components ) ), array_keys( $bp->active_components ) ) ) );
    7575
    76                 // Pre 1.3 Backwards compatibility
     76                // Pre 1.5 Backwards compatibility
    7777                } elseif ( $deactivated_components = bp_get_option( 'bp-deactivated-components' ) ) {
    7878                        // Trim off namespace and filename
  • trunk/bp-core/bp-core-template.php

    r4882 r4907  
    271271 * @global object $bp BuddyPress global settings
    272272 * @return string
    273  * @since 1.3
     273 * @since 1.5
    274274 */
    275275function bp_search_default_text( $component = '' ) {
     
    488488 *
    489489 * @package BuddyPress
    490  * @since 1.3
     490 * @since 1.5
    491491 *
    492492 * @param int $position The key of the action_variables array that you want
     
    521521 *
    522522 * @package BuddyPress Core
    523  * @since 1.3
     523 * @since 1.5
    524524 */
    525525function bp_root_slug( $component = '' ) {
     
    542542         *
    543543         * @package BuddyPress Core
    544          * @since 1.3
     544         * @since 1.5
    545545         *
    546546         * @global object $bp Global BuddyPress settings object
     
    612612 *
    613613 * @package BuddyPress
    614  * @since 1.3
     614 * @since 1.5
    615615 *
    616616 * @uses bp_get_search_slug()
     
    623623         *
    624624         * @package BuddyPress
    625          * @since 1.3
     625         * @since 1.5
    626626         */
    627627        function bp_get_search_slug() {
     
    643643 *
    644644 * @package BuddyPress Core
    645  * @since 1.3
     645 * @since 1.5
    646646 * @return bool Returns true if the component matches, or else false.
    647647 */
     
    720720 *
    721721 * @package BuddyPress
    722  * @since 1.3
     722 * @since 1.5
    723723 *
    724724 * @param str $action The action being tested against
     
    746746 *
    747747 * @package BuddyPress
    748  * @since 1.3
     748 * @since 1.5
    749749 *
    750750 * @param str $action_variable The action_variable being tested against
     
    849849 * @param string $component Optional; Name of the component to check for.
    850850 * @return bool True If the specified component is set to be the site's front page.
    851  * @since 1.3
     851 * @since 1.5
    852852 */
    853853function bp_is_component_front_page( $component = '' ) {
  • trunk/bp-core/deprecated/1.5.php

    r4905 r4907  
    55 * @package BuddyPress
    66 * @subpackage Core
    7  * @deprecated Since 1.3
     7 * @deprecated Since 1.5
    88 */
    99
     
    2626 * Use is_multisite() instead.
    2727 *
    28  * @deprecated 1.3
     28 * @deprecated 1.5
    2929 * @deprecated Use is_multisite()
    3030 */
    3131function bp_core_is_multisite() {
    32         _deprecated_function( __FUNCTION__, '1.3', 'is_multisite()' );
     32        _deprecated_function( __FUNCTION__, '1.5', 'is_multisite()' );
    3333        return is_multisite();
    3434}
     
    3737 * bp_core_is_main_site
    3838 *
    39  * Checks if current blog is root blog of site. Deprecated in 1.3.
    40  *
    41  * @deprecated 1.3
     39 * Checks if current blog is root blog of site. Deprecated in 1.5.
     40 *
     41 * @deprecated 1.5
    4242 * @deprecated Use is_main_site()
    4343 * @package BuddyPress
     
    4747 */
    4848function bp_core_is_main_site( $blog_id = '' ) {
    49         _deprecated_function( __FUNCTION__, '1.3', 'is_main_site()' );
     49        _deprecated_function( __FUNCTION__, '1.5', 'is_main_site()' );
    5050        return is_main_site( $blog_id );
    5151}
     
    5555/**
    5656 * In BuddyPress 1.1 - 1.2.x, this function provided a better version of add_menu_page()
    57  * that allowed positioning of menus. Deprecated in 1.3 in favour of a WP core function.
    58  *
    59  * @deprecated 1.3
     57 * that allowed positioning of menus. Deprecated in 1.5 in favour of a WP core function.
     58 *
     59 * @deprecated 1.5
    6060 * @deprecated Use add_menu_page().
    6161 * @since 1.1
     
    7575        extract( $r, EXTR_SKIP );
    7676
    77         _deprecated_function( __FUNCTION__, '1.3', 'Use add_menu_page()' );
     77        _deprecated_function( __FUNCTION__, '1.5', 'Use add_menu_page()' );
    7878        return add_menu_page( $page_title, $menu_title, $capability, $file, $function, $icon_url, $position );
    7979}
     
    8282
    8383function bp_is_activity_permalink() {
    84         _deprecated_function( __FUNCTION__, '1.3', 'bp_is_single_activity' );
     84        _deprecated_function( __FUNCTION__, '1.5', 'bp_is_single_activity' );
    8585        bp_is_single_activity();
    8686}
     
    8989
    9090function bp_core_get_wp_profile() {
    91         _deprecated_function( __FUNCTION__, '1.3' );
     91        _deprecated_function( __FUNCTION__, '1.5' );
    9292
    9393        global $bp;
     
    161161
    162162function bp_is_home() {
    163         _deprecated_function( __FUNCTION__, '1.3', 'bp_is_my_profile' );
     163        _deprecated_function( __FUNCTION__, '1.5', 'bp_is_my_profile' );
    164164        return bp_is_my_profile();
    165165}
     
    168168 * Is the user on the front page of the site?
    169169 *
    170  * @deprecated 1.3
     170 * @deprecated 1.5
    171171 * @deprecated Use is_front_page()
    172172 * @return bool
    173173 */
    174174function bp_is_front_page() {
    175         _deprecated_function( __FUNCTION__, '1.3', "is_front_page()" );
     175        _deprecated_function( __FUNCTION__, '1.5', "is_front_page()" );
    176176        return is_front_page();
    177177}
     
    180180 * Is the front page of the site set to the Activity component?
    181181 *
    182  * @deprecated 1.3
     182 * @deprecated 1.5
    183183 * @deprecated Use bp_is_component_front_page( 'activity' )
    184184 * @return bool
    185185 */
    186186function bp_is_activity_front_page() {
    187         _deprecated_function( __FUNCTION__, '1.3', "bp_is_component_front_page( 'activity' )" );
     187        _deprecated_function( __FUNCTION__, '1.5', "bp_is_component_front_page( 'activity' )" );
    188188        return bp_is_component_front_page( 'activity' );
    189189}
    190190
    191191function bp_is_member() {
    192         _deprecated_function( __FUNCTION__, '1.3', 'bp_is_user' );
     192        _deprecated_function( __FUNCTION__, '1.5', 'bp_is_user' );
    193193        bp_is_user();
    194194}
    195195
    196196function bp_loggedinuser_link() {
    197         _deprecated_function( __FUNCTION__, '1.3', 'bp_logged_in_user_link' );
     197        _deprecated_function( __FUNCTION__, '1.5', 'bp_logged_in_user_link' );
    198198        bp_loggedin_user_link();
    199199}
     
    201201/**
    202202 * Only show the search form if there are available objects to search for.
    203  * Deprecated in 1.3; not used anymore.
     203 * Deprecated in 1.5; not used anymore.
    204204 *
    205205 * @return bool
    206206 */
    207207function bp_search_form_enabled() {
    208         _deprecated_function( __FUNCTION__, '1.3', 'No longer required.' );
     208        _deprecated_function( __FUNCTION__, '1.5', 'No longer required.' );
    209209        return apply_filters( 'bp_search_form_enabled', true );
    210210}
     
    213213 * Template tag version of bp_get_page_title()
    214214 *
    215  * @deprecated 1.3
     215 * @deprecated 1.5
    216216 * @deprecated Use wp_title()
    217217 * @since 1.0
     
    221221}
    222222        /**
    223          * Prior to BuddyPress 1.3, this was used to generate the page's <title> text.
     223         * Prior to BuddyPress 1.5, this was used to generate the page's <title> text.
    224224         * Now, just simply use wp_title().
    225225         *
    226          * @deprecated 1.3
     226         * @deprecated 1.5
    227227         * @deprecated Use wp_title()
    228228         * @since 1.0
    229229         */
    230230        function bp_get_page_title() {
    231                 _deprecated_function( __FUNCTION__, '1.3', 'wp_title()' );
     231                _deprecated_function( __FUNCTION__, '1.5', 'wp_title()' );
    232232                $title = wp_title( '|', false, 'right' ) . get_bloginfo( 'name', 'display' );
    233233
     
    241241 * Generate a link to log out. Last used in BP 1.2-beta. You should be using wp_logout_url().
    242242 *
    243  * @deprecated 1.3
     243 * @deprecated 1.5
    244244 * @deprecated Use wp_logout_url()
    245245 * @since 1.0
    246246 */
    247247function bp_log_out_link() {
    248         _deprecated_function( __FUNCTION__, '1.3', 'wp_logout_url()' );
     248        _deprecated_function( __FUNCTION__, '1.5', 'wp_logout_url()' );
    249249
    250250        $logout_link = '<a href="' . wp_logout_url( bp_get_root_domain() ) . '">' . __( 'Log Out', 'buddypress' ) . '</a>';
     
    255255 * Send an email and a BP notification on receipt of an @-mention in a group
    256256 *
    257  * @deprecated 1.3
     257 * @deprecated 1.5
    258258 * @deprecated Deprecated in favor of the more general bp_activity_at_message_notification()
    259259 */
     
    261261        global $bp;
    262262       
    263         _deprecated_function( __FUNCTION__, '1.3', 'bp_activity_at_message_notification()' );
     263        _deprecated_function( __FUNCTION__, '1.5', 'bp_activity_at_message_notification()' );
    264264
    265265        /* Scan for @username strings in an activity update. Notify each user. */
     
    322322
    323323/**
    324  * BP 1.3 simplified notification functions a bit
     324 * BP 1.5 simplified notification functions a bit
    325325 */
    326326function bp_core_delete_notifications_for_user_by_type( $user_id, $component_name, $component_action ) {
    327         _deprecated_function( __FUNCTION__, '1.3', 'bp_core_delete_notifications_by_type()' );
     327        _deprecated_function( __FUNCTION__, '1.5', 'bp_core_delete_notifications_by_type()' );
    328328        return BP_Core_Notification::delete_for_user_by_type( $user_id, $component_name, $component_action );
    329329}
    330330
    331331function bp_core_delete_notifications_for_user_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false ) {
    332         _deprecated_function( __FUNCTION__, '1.3', 'bp_core_delete_notifications_by_item_id()' );
     332        _deprecated_function( __FUNCTION__, '1.5', 'bp_core_delete_notifications_by_item_id()' );
    333333        return BP_Core_Notification::delete_for_user_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id );
    334334}
    335335
    336336/**
    337  * In BP 1.3, these functions were renamed for greater consistency
     337 * In BP 1.5, these functions were renamed for greater consistency
    338338 */
    339339function bp_forum_directory_permalink() {
    340         _deprecated_function( __FUNCTION__, '1.3', 'bp_forums_directory_permalink()' );
     340        _deprecated_function( __FUNCTION__, '1.5', 'bp_forums_directory_permalink()' );
    341341        bp_forums_directory_permalink();
    342342}
    343343        function bp_get_forum_directory_permalink() {
    344                 _deprecated_function( __FUNCTION__, '1.3', 'bp_get_forums_directory_permalink()' );
     344                _deprecated_function( __FUNCTION__, '1.5', 'bp_get_forums_directory_permalink()' );
    345345                return bp_get_forums_directory_permalink();
    346346        }
     
    350350/**
    351351 * Contains functions which were moved out of BP-Default's functions.php
    352  * in BuddyPress 1.3.
    353  *
    354  * @since 1.3
     352 * in BuddyPress 1.5.
     353 *
     354 * @since 1.5
    355355 */
    356356function bp_dtheme_deprecated() {
     
    359359         * In BuddyPress 1.2.x, this function filtered the dropdown on the
    360360         * Settings > Reading screen for selecting the page to show on front to
    361          * include "Activity Stream." As of 1.3.x, it is no longer required.
    362          *
    363          * @deprecated 1.3
     361         * include "Activity Stream." As of 1.5.x, it is no longer required.
     362         *
     363         * @deprecated 1.5
    364364         * @deprecated No longer required.
    365365         * @param string $page_html A list of pages as a dropdown (select list)
     
    369369         */
    370370        function bp_dtheme_wp_pages_filter( $page_html ) {
    371                 _deprecated_function( __FUNCTION__, '1.3', "No longer required." );
     371                _deprecated_function( __FUNCTION__, '1.5', "No longer required." );
    372372                return $page_html;
    373373        }
     
    377377        /**
    378378         * In BuddyPress 1.2.x, this function hijacked the saving of page on front setting to save the activity stream setting.
    379          * As of 1.3.x, it is no longer required.
    380          *
    381          * @deprecated 1.3
     379         * As of 1.5.x, it is no longer required.
     380         *
     381         * @deprecated 1.5
    382382         * @deprecated No longer required.
    383383         * @param $string $oldvalue Previous value of get_option( 'page_on_front' )
     
    387387         */
    388388        function bp_dtheme_page_on_front_update( $oldvalue, $newvalue ) {
    389                 _deprecated_function( __FUNCTION__, '1.3', "No longer required." );
     389                _deprecated_function( __FUNCTION__, '1.5', "No longer required." );
    390390                if ( !is_admin() || !is_super_admin() )
    391391                        return false;
     
    398398        /**
    399399         * In BuddyPress 1.2.x, this function loaded the activity stream template if the front page display settings allow.
    400          * As of 1.3.x, it is no longer required.
    401          *
    402          * @deprecated 1.3
     400         * As of 1.5.x, it is no longer required.
     401         *
     402         * @deprecated 1.5
    403403         * @deprecated No longer required.
    404404         * @param string $template Absolute path to the page template
     
    407407         */
    408408        function bp_dtheme_page_on_front_template( $template ) {
    409                 _deprecated_function( __FUNCTION__, '1.3', "No longer required." );
     409                _deprecated_function( __FUNCTION__, '1.5', "No longer required." );
    410410                return $template;
    411411        }
     
    415415        /**
    416416         * In BuddyPress 1.2.x, this forced the page ID as a string to stop the get_posts query from kicking up a fuss.
    417          * As of 1.3.x, it is no longer required.
    418          *
    419          * @deprecated 1.3
     417         * As of 1.5.x, it is no longer required.
     418         *
     419         * @deprecated 1.5
    420420         * @deprecated No longer required.
    421421         * @since 1.2
    422422         */
    423423        function bp_dtheme_fix_get_posts_on_activity_front() {
    424                 _deprecated_function( __FUNCTION__, '1.3', "No longer required." );
     424                _deprecated_function( __FUNCTION__, '1.5', "No longer required." );
    425425        }
    426426        endif;
     
    429429        /**
    430430         * In BuddyPress 1.2.x, this was used as part of the code that set the activity stream to be on the front page.
    431          * As of 1.3.x, it is no longer required.
    432          *
    433          * @deprecated 1.3
     431         * As of 1.5.x, it is no longer required.
     432         *
     433         * @deprecated 1.5
    434434         * @deprecated No longer required.
    435435         * @param array $posts Posts as retrieved by WP_Query
     
    438438         */
    439439        function bp_dtheme_fix_the_posts_on_activity_front( $posts ) {
    440                 _deprecated_function( __FUNCTION__, '1.3', "No longer required." );
     440                _deprecated_function( __FUNCTION__, '1.5', "No longer required." );
    441441                return $posts;
    442442        }
     
    446446        /**
    447447         * In BuddyPress 1.2.x, this added the javascript needed for blog comment replies.
    448          * As of 1.3.x, we recommend that you enqueue the comment-reply javascript in your theme's header.php.
    449          *
    450          * @deprecated 1.3
     448         * As of 1.5.x, we recommend that you enqueue the comment-reply javascript in your theme's header.php.
     449         *
     450         * @deprecated 1.5
    451451         * @deprecated Enqueue the comment-reply script in your theme's header.php.
    452452         * @since 1.2
    453453         */
    454454        function bp_dtheme_add_blog_comments_js() {
    455                 _deprecated_function( __FUNCTION__, '1.3', "Enqueue the comment-reply script in your theme's header.php." );
     455                _deprecated_function( __FUNCTION__, '1.5', "Enqueue the comment-reply script in your theme's header.php." );
    456456                if ( is_singular() && bp_is_blog_page() && get_option( 'thread_comments' ) )
    457457                        wp_enqueue_script( 'comment-reply' );
  • trunk/bp-forums/bp-forums-filters.php

    r4846 r4907  
    149149 *
    150150 * @package BuddyPress
    151  * @since 1.3
     151 * @since 1.5
    152152 *
    153153 * @global object $wpdb The WordPress database global
     
    169169 *
    170170 * @package BuddyPress
    171  * @since 1.3
     171 * @since 1.5
    172172 *
    173173 * @global object $bbdb The bbPress database global
     
    190190 *
    191191 * @package BuddyPress
    192  * @since 1.3
     192 * @since 1.5
    193193 *
    194194 * @global object $wpdb The WordPress database global
  • trunk/bp-forums/bp-forums-functions.php

    r4821 r4907  
    1515 * Checks $bp pages global and looks for directory page
    1616 *
    17  * @since 1.3
     17 * @since 1.5
    1818 *
    1919 * @global object $bp Global BuddyPress settings object
     
    497497 *
    498498 * @package BuddyPress
    499  * @since 1.3
     499 * @since 1.5
    500500 *
    501501 * @return int
     
    512512 *
    513513 * @package BuddyPress
    514  * @since 1.3
     514 * @since 1.5
    515515 *
    516516 * @return bool True if stickies should be displayed at the top of the global directory, false
     
    545545 * @see bp_embed_forum_save_cache()
    546546 * @package BuddyPress_Forums
    547  * @since 1.3
     547 * @since 1.5
    548548 */
    549549function bp_forums_embed() {
     
    559559 *
    560560 * @package BuddyPress_Forums
    561  * @since 1.3
     561 * @since 1.5
    562562 */
    563563function bp_embed_forum_cache( $cache, $id, $cachekey ) {
     
    570570 *
    571571 * @package BuddyPress_Forums
    572  * @since 1.3
     572 * @since 1.5
    573573 */
    574574function bp_embed_forum_save_cache( $cache, $cachekey, $id ) {
  • trunk/bp-forums/bp-forums-loader.php

    r4821 r4907  
    1717         * Start the forums component creation process
    1818         *
    19          * @since BuddyPress 1.3
     19         * @since 1.5
    2020         */
    2121        function __construct() {
     
    3333         * backwards compatibility.
    3434         *
    35          * @since BuddyPress 1.3
     35         * @since 1.5
    3636         * @global obj $bp
    3737         */
  • trunk/bp-forums/bp-forums-template.php

    r4846 r4907  
    88 * @package BuddyPress
    99 * @subpackage Forums Template
    10  * @since BuddyPress 1.3
     10 * @since 1.5
    1111 *
    1212 * @uses bp_get_forums_slug()
     
    2020         * @package BuddyPress
    2121         * @subpackage Forums Template
    22          * @since BuddyPress 1.3
     22         * @since 1.5
    2323         */
    2424        function bp_get_forums_slug() {
     
    3232 * @package BuddyPress
    3333 * @subpackage Forums Template
    34  * @since BuddyPress 1.3
     34 * @since 1.5
    3535 *
    3636 * @uses bp_get_forums_root_slug()
     
    4444         * @package BuddyPress
    4545         * @subpackage Forums Template
    46          * @since BuddyPress 1.3
     46         * @since 1.5
    4747         */
    4848        function bp_get_forums_root_slug() {
     
    5656 * @package BuddyPress
    5757 * @subpackage Forums Template
    58  * @since 1.3
     58 * @since 1.5
    5959 * @uses bp_get_forums_directory_permalink()
    6060 */
     
    6767         * @package BuddyPress
    6868         * @subpackage Forums Template
    69          * @since 1.3
     69         * @since 1.5
    7070         * @uses apply_filters()
    7171         * @uses traisingslashit()
     
    13191319 *
    13201320 * @package BuddyPress
    1321  * @since 1.3
     1321 * @since 1.5
    13221322 */
    13231323function bp_forum_topic_tag_list() {
     
    13281328         *
    13291329         * @package BuddyPress
    1330          * @since 1.3
     1330         * @since 1.5
    13311331         *
    13321332         * @param str $format 'string' returns comma-separated string; otherwise returns array
     
    13561356 *
    13571357 * @package BuddyPress
    1358  * @since 1.3
     1358 * @since 1.5
    13591359 *
    13601360 * @return bool
  • trunk/bp-friends/bp-friends-loader.php

    r4822 r4907  
    1717         * Start the friends component creation process
    1818         *
    19          * @since BuddyPress 1.3
     19         * @since 1.5
    2020         */
    2121        function __construct() {
     
    5252         * backwards compatibility.
    5353         *
    54          * @since BuddyPress 1.3
     54         * @since 1.5
    5555         * @global obj $bp
    5656         */
  • trunk/bp-friends/bp-friends-template.php

    r4845 r4907  
    88 * @package BuddyPress
    99 * @subpackage Friends Template
    10  * @since BuddyPress 1.3
     10 * @since 1.5
    1111 *
    1212 * @uses bp_get_friends_slug()
     
    2020         * @package BuddyPress
    2121         * @subpackage Friends Template
    22          * @since BuddyPress 1.3
     22         * @since 1.5
    2323         */
    2424        function bp_get_friends_slug() {
     
    3232 * @package BuddyPress
    3333 * @subpackage Friends Template
    34  * @since BuddyPress 1.3
     34 * @since 1.5
    3535 *
    3636 * @uses bp_get_friends_root_slug()
     
    4444         * @package BuddyPress
    4545         * @subpackage Friends Template
    46          * @since BuddyPress 1.3
     46         * @since 1.5
    4747         */
    4848        function bp_get_friends_root_slug() {
  • trunk/bp-groups/bp-groups-adminbar.php

    r4823 r4907  
    1616 *
    1717 * @package BuddyPress
    18  * @since 1.3
     18 * @since 1.5
    1919 *
    2020 * @todo Add dynamic menu items for group extensions
  • trunk/bp-groups/bp-groups-classes.php

    r4844 r4907  
    604604         *
    605605         * @package BuddyPress
    606          * @since 1.3
     606         * @since 1.5
    607607         *
    608608         * @param str $status 'public', 'private', 'hidden', 'all' Which group types to count
  • trunk/bp-groups/bp-groups-filters.php

    r4823 r4907  
    147147 *
    148148 * @see BB_Query::_filter_sql()
    149  * @since 1.3
     149 * @since 1.5
    150150 */
    151151function groups_filter_forums_root_page_sql( $sql ) {
  • trunk/bp-groups/bp-groups-forums.php

    r4823 r4907  
    255255 *
    256256 * @package BuddyPress
    257  * @since 1.3
     257 * @since 1.5
    258258 *
    259259 * @param str $status 'public', 'private', 'hidden', 'all' Which group types to count
  • trunk/bp-groups/bp-groups-functions.php

    r4823 r4907  
    1313 * Checks $bp pages global and looks for directory page
    1414 *
    15  * @since 1.3
     15 * @since 1.5
    1616 *
    1717 * @global object $bp Global BuddyPress settings object
     
    421421 *
    422422 * @package BuddyPress
    423  * @since 1.3
     423 * @since 1.5
    424424 *
    425425 * @return obj The current group object
  • trunk/bp-groups/bp-groups-loader.php

    r4844 r4907  
    1919         * Start the groups component creation process
    2020         *
    21          * @since BuddyPress 1.3
     21         * @since 1.5
    2222         */
    2323        function __construct() {
     
    5757         * backwards compatibility.
    5858         *
    59          * @since BuddyPress 1.3
     59         * @since 1.5
    6060         * @global obj $bp
    6161         */
  • trunk/bp-groups/bp-groups-template.php

    r4889 r4907  
    88 * @package BuddyPress
    99 * @subpackage Groups Template
    10  * @since BuddyPress 1.3
     10 * @since 1.5
    1111 *
    1212 * @uses bp_get_groups_slug()
     
    2020         * @package BuddyPress
    2121         * @subpackage Groups Template
    22          * @since BuddyPress 1.3
     22         * @since 1.5
    2323         */
    2424        function bp_get_groups_slug() {
     
    3232 * @package BuddyPress
    3333 * @subpackage Groups Template
    34  * @since BuddyPress 1.3
     34 * @since 1.5
    3535 *
    3636 * @uses bp_get_groups_root_slug()
     
    4444         * @package BuddyPress
    4545         * @subpackage Groups Template
    46          * @since BuddyPress 1.3
     46         * @since 1.5
    4747         */
    4848        function bp_get_groups_root_slug() {
     
    5656 * @package BuddyPress
    5757 * @subpackage Groups Template
    58  * @since 1.3
     58 * @since 1.5
    5959 * @uses bp_get_groups_directory_permalink()
    6060 */
     
    6767         * @package BuddyPress
    6868         * @subpackage Groups Template
    69          * @since 1.3
     69         * @since 1.5
    7070         * @uses apply_filters()
    7171         * @uses traisingslashit()
     
    612612 *
    613613 * @package BuddyPress
    614  * @since 1.3
     614 * @since 1.5
    615615 *
    616616 * @param obj $group (optional) The group being queried. Defaults to the current group in the loop
     
    642642 *
    643643 * @package BuddyPress
    644  * @since 1.3
     644 * @since 1.5
    645645 *
    646646 * @param obj $group (optional) The group being queried. Defaults to the current group in the loop
     
    892892 * @package BuddyPress
    893893 * @subpackage Groups Template
    894  * @since 1.3
     894 * @since 1.5
    895895 *
    896896 * @param str $setting The setting you want to check against ('members', 'mods', or 'admins')
     
    909909 * Get the invite status of a group
    910910 *
    911  * 'invite_status' became part of BuddyPress in BP 1.3. In order to provide backward compatibility,
     911 * 'invite_status' became part of BuddyPress in BP 1.5. In order to provide backward compatibility,
    912912 * groups without a status set will default to 'members', ie all members in a group can send
    913913 * invitations. Filter 'bp_group_invite_status_fallback' to change this fallback behavior.
     
    917917 * @package BuddyPress
    918918 * @subpackage Groups Template
    919  * @since 1.3
     919 * @since 1.5
    920920 *
    921921 * @param int $group_id (optional) The id of the group whose status you want to check
     
    953953 * @package BuddyPress
    954954 * @subpackage Groups Template
    955  * @since 1.3
     955 * @since 1.5
    956956 *
    957957 * @param int $group_id (optional) The id of the group whose status you want to check
     
    10061006/**
    10071007 * Since BuddyPress 1.0, this generated the group settings admin/member screen.
    1008  * As of BuddyPress 1.3 (r4489), and because this function outputs HTML, it was moved into /bp-default/groups/single/admin.php.
    1009  *
    1010  * @deprecated 1.3
     1008 * As of BuddyPress 1.5 (r4489), and because this function outputs HTML, it was moved into /bp-default/groups/single/admin.php.
     1009 *
     1010 * @deprecated 1.5
    10111011 * @deprecated No longer used.
    10121012 * @since 1.0
     
    10161016        global $groups_template;
    10171017
    1018         _deprecated_function( __FUNCTION__, '1.3', 'No longer used. See /bp-default/groups/single/admin.php' );
     1018        _deprecated_function( __FUNCTION__, '1.5', 'No longer used. See /bp-default/groups/single/admin.php' );
    10191019
    10201020        if ( empty( $group ) )
     
    13751375 * @param int $user_id
    13761376 * @return bool If user is banned from the group or not
    1377  * @since 1.3
     1377 * @since 1.5
    13781378 */
    13791379function bp_group_is_user_banned( $group = false, $user_id = 0 ) {
     
    19541954 *
    19551955 * @package BuddyPress Groups
    1956  * @since BuddyPress 1.3
     1956 * @since 1.5
    19571957 *
    19581958 * @uses apply_filters() To call 'bp_user_can_create_groups'.
     
    27242724 * Hook group activity feed to <head>
    27252725 *
    2726  * @since 1.3
     2726 * @since 1.5
    27272727 */
    27282728function bp_groups_activity_feed() {
     
    27492749 *
    27502750 * @package BuddyPress
    2751  * @since 1.3
     2751 * @since 1.5
    27522752 */
    27532753function bp_current_group_id() {
     
    27582758         *
    27592759         * @package BuddyPress
    2760          * @since 1.3
     2760         * @since 1.5
    27612761         * @uses apply_filters() Filter bp_get_current_group_id to modify this output
    27622762         *
     
    27752775 *
    27762776 * @package BuddyPress
    2777  * @since 1.3
     2777 * @since 1.5
    27782778 */
    27792779function bp_current_group_slug() {
     
    27842784         *
    27852785         * @package BuddyPress
    2786          * @since 1.3
     2786         * @since 1.5
    27872787         * @uses apply_filters() Filter bp_get_current_group_slug to modify this output
    27882788         *
     
    28092809         *
    28102810         * @package BuddyPress
    2811          * @since 1.3
     2811         * @since 1.5
    28122812         * @uses apply_filters() Filter bp_get_current_group_name to modify this output
    28132813         *
  • trunk/bp-members/bp-members-adminbar.php

    r4824 r4907  
    7373 *
    7474 * @package BuddyPress
    75  * @since 1.3
     75 * @since 1.5
    7676 */
    7777function bp_members_admin_bar_user_admin_menu() {
     
    154154 *
    155155 * @package Buddypress
    156  * @since 1.3
     156 * @since 1.5
    157157 */
    158158function bp_members_admin_bar_notifications_menu() {
  • trunk/bp-members/bp-members-functions.php

    r4824 r4907  
    1515 * Checks $bp pages global and looks for directory page
    1616 *
    17  * @since 1.3
     17 * @since 1.5
    1818 *
    1919 * @global object $bp Global BuddyPress settings object
     
    270270 * slug to a user is needed.
    271271 *
    272  * @since BuddyPress (1.3)
     272 * @since BuddyPress (1.5)
    273273 *
    274274 * @package BuddyPress Core
  • trunk/bp-members/bp-members-loader.php

    r4882 r4907  
    1717         * Start the members component creation process
    1818         *
    19          * @since BuddyPress 1.3
     19         * @since 1.5
    2020         */
    2121        function __construct() {
     
    5353         * backwards compatibility.
    5454         *
    55          * @since BuddyPress 1.3
     55         * @since 1.5
    5656         * @global obj $bp
    5757         */
  • trunk/bp-members/bp-members-notifications.php

    r4824 r4907  
    7373                                continue;
    7474
    75                         // @deprecated format_notification_function - 1.3
     75                        // @deprecated format_notification_function - 1.5
    7676                        if ( isset( $bp->{$component_name}->format_notification_function ) && function_exists( $bp->{$component_name}->format_notification_function ) ) {
    7777                                $renderable[] = call_user_func( $bp->{$component_name}->format_notification_function, $component_action_name, $component_action_items[0]->item_id, $component_action_items[0]->secondary_item_id, $action_item_count );
  • trunk/bp-members/bp-members-template.php

    r4890 r4907  
    1717 * @package BuddyPress
    1818 * @subpackage Members Template
    19  * @since BuddyPress 1.3
     19 * @since 1.5
    2020 *
    2121 * @uses bp_get_members_slug()
     
    2929         * @package BuddyPress
    3030         * @subpackage Members Template
    31          * @since BuddyPress 1.3
     31         * @since 1.5
    3232         */
    3333        function bp_get_members_slug() {
     
    4141 * @package BuddyPress
    4242 * @subpackage Members Template
    43  * @since BuddyPress 1.3
     43 * @since 1.5
    4444 *
    4545 * @uses bp_get_members_root_slug()
     
    5353         * @package BuddyPress
    5454         * @subpackage Members Template
    55          * @since BuddyPress 1.3
     55         * @since 1.5
    5656         */
    5757        function bp_get_members_root_slug() {
     
    6565 * @package BuddyPress
    6666 * @subpackage Members Template
    67  * @since 1.3
     67 * @since 1.5
    6868 * @uses bp_get_members_directory_permalink()
    6969 */
     
    7676         * @package BuddyPress
    7777         * @subpackage Members Template
    78          * @since 1.3
     78         * @since 1.5
    7979         * @uses apply_filters()
    8080         * @uses traisingslashit()
     
    9292 * @package BuddyPress
    9393 * @subpackage Members Template
    94  * @since BuddyPress 1.3
     94 * @since 1.5
    9595 *
    9696 * @uses bp_get_signup_slug()
     
    104104         * @package BuddyPress
    105105         * @subpackage Members Template
    106          * @since BuddyPress 1.3
     106         * @since 1.5
    107107         */
    108108        function bp_get_signup_slug() {
     
    124124 * @package BuddyPress
    125125 * @subpackage Members Template
    126  * @since BuddyPress 1.3
     126 * @since 1.5
    127127 *
    128128 * @uses bp_get_activate_slug()
     
    136136         * @package BuddyPress
    137137         * @subpackage Members Template
    138          * @since BuddyPress 1.3
     138         * @since 1.5
    139139         */
    140140        function bp_get_activate_slug() {
     
    11191119 * Hook member activity feed to <head>
    11201120 *
    1121  * @since 1.3
     1121 * @since 1.5
    11221122 */
    11231123function bp_members_activity_feed() {
  • trunk/bp-messages/bp-messages-loader.php

    r4825 r4907  
    1717         * Start the messages component creation process
    1818         *
    19          * @since BuddyPress 1.3
     19         * @since 1.5
    2020         */
    2121        function __construct() {
     
    5252         * backwards compatibility.
    5353         *
    54          * @since BuddyPress 1.3
     54         * @since 1.5
    5555         * @global obj $bp
    5656         */
  • trunk/bp-messages/bp-messages-template.php

    r4842 r4907  
    506506 * @package BuddyPress
    507507 * @subpackage Messages Template
    508  * @since BuddyPress 1.3
     508 * @since 1.5
    509509 *
    510510 * @uses bp_get_messages_slug()
     
    518518         * @package BuddyPress
    519519         * @subpackage Messages Template
    520          * @since BuddyPress 1.3
     520         * @since 1.5
    521521         */
    522522        function bp_get_messages_slug() {
     
    870870 * Enable oembed support for Messages.
    871871 *
    872  * There's no caching as BP 1.3 does not have a Messages meta API.
     872 * There's no caching as BP 1.5 does not have a Messages meta API.
    873873 *
    874874 * @see BP_Embed
    875  * @since 1.3
     875 * @since 1.5
    876876 * @todo Add Messages meta?
    877877 */
  • trunk/bp-settings/bp-settings-loader.php

    r4826 r4907  
    88         * Start the settings component creation process
    99         *
    10          * @since BuddyPress 1.3
     10         * @since 1.5
    1111         */
    1212        function __construct() {
     
    4141         * backwards compatibility.
    4242         *
    43          * @since BuddyPress 1.3
     43         * @since 1.5
    4444         * @global obj $bp
    4545         */
  • trunk/bp-settings/bp-settings-template.php

    r4826 r4907  
    1515 * @package BuddyPress
    1616 * @subpackage Settings Template
    17  * @since BuddyPress 1.3
     17 * @since 1.5
    1818 *
    1919 * @uses bp_get_settings_slug()
     
    2727         * @package BuddyPress
    2828         * @subpackage Settings Template
    29          * @since BuddyPress 1.3
     29         * @since 1.5
    3030         */
    3131        function bp_get_settings_slug() {
     
    3939 * @package BuddyPress
    4040 * @subpackage Settings Template
    41  * @since BuddyPress 1.3
     41 * @since 1.5
    4242 *
    4343 * @uses bp_get_settings_root_slug()
     
    5151         * @package BuddyPress
    5252         * @subpackage Settings Template
    53          * @since BuddyPress 1.3
     53         * @since 1.5
    5454         */
    5555        function bp_get_settings_root_slug() {
  • trunk/bp-themes/bp-default/_inc/ajax.php

    r4770 r4907  
    327327 *
    328328 * @package BuddyPress
    329  * @since 1.3
     329 * @since 1.5
    330330 */
    331331function bp_dtheme_get_single_activity_content() {
  • trunk/bp-themes/bp-default/functions.php

    r4893 r4907  
    5656 *
    5757 * @global object $bp Global BuddyPress settings object
    58  * @since 1.3
     58 * @since 1.5
    5959 */
    6060function bp_dtheme_setup() {
     
    132132 *
    133133 * @see http://codex.wordpress.org/Function_Reference/wp_enqueue_script
    134  * @since 1.3
     134 * @since 1.5
    135135 */
    136136function bp_dtheme_enqueue_scripts() {
     
    164164 *
    165165 * @see http://codex.wordpress.org/Function_Reference/wp_enqueue_style
    166  * @since 1.3
     166 * @since 1.5
    167167 */
    168168function bp_dtheme_enqueue_styles() {
     
    247247 *
    248248 * @see _custom_background_cb()
    249  * @since 1.3
     249 * @since 1.5
    250250 */
    251251function bp_dtheme_custom_background_style() {
     
    337337 * function tied to the init hook.
    338338 *
    339  * @since 1.3
     339 * @since 1.5
    340340 */
    341341function bp_dtheme_widgets_init() {
     
    552552 * @param array Menu arguments from wp_nav_menu()
    553553 * @see wp_nav_menu()
    554  * @since 1.3
     554 * @since 1.5
    555555 */
    556556function bp_dtheme_main_nav( $args ) {
     
    577577 * @param array $args Default values for wp_page_menu()
    578578 * @see wp_page_menu()
    579  * @since 1.3
     579 * @since 1.5
    580580 */
    581581function bp_dtheme_page_menu_args( $args ) {
     
    593593 * @param array $default_labels The default options for strings, fields etc in the form
    594594 * @see comment_form()
    595  * @since 1.3
     595 * @since 1.5
    596596 */
    597597function bp_dtheme_comment_form( $default_labels ) {
     
    631631 *
    632632 * @see comment_form()
    633  * @since 1.3
     633 * @since 1.5
    634634 */
    635635function bp_dtheme_before_comment_form() {
     
    659659 * @see bp_dtheme_before_comment_form()
    660660 * @see comment_form()
    661  * @since 1.3
     661 * @since 1.5
    662662 */
    663663function bp_dtheme_after_comment_form() {
     
    675675 * Adds a hidden "redirect_to" input field to the sidebar login form.
    676676 *
    677  * @since 1.3
     677 * @since 1.5
    678678 */
    679679function bp_dtheme_sidebar_login_redirect_to() {
     
    691691 * @global unknown $wp_query
    692692 * @param string $nav_id DOM ID for this navigation
    693  * @since 1.3
     693 * @since 1.5
    694694 */
    695695function bp_dtheme_content_nav( $nav_id ) {
  • trunk/bp-themes/bp-default/onecolumn-page.php

    r4426 r4907  
    77 * @package BuddyPress
    88 * @subpackage BP_Default
    9  * @since 1.3
     9 * @since 1.5
    1010 */
    1111
  • trunk/bp-themes/bp-default/rtl.css

    r4542 r4907  
    33 * Theme URI: http://buddypress.org/extend/themes/
    44 * Description: Clean and stylish, BuddyPress Default lets you build a social network straight out of the box. Make it yours with a custom menu, header image, and background. Along with five widgetized areas (one in the sidebar, four in the footer), BP-Default supports featured images (as custom header images on posts and pages) and is furnished with an optional one-column page template that removes the sidebar, and a stylesheet for the admin Visual Editor.
    5  * Version: 1.3-bleeding
     5 * Version: 1.5-beta-1
    66 * Author: the BuddyPress team
    77 * Author URI: http://buddypress.org
  • trunk/bp-xprofile/bp-xprofile-functions.php

    r4827 r4907  
    587587 *
    588588 * @package BuddyPress
    589  * @since 1.3
     589 * @since 1.5
    590590 *
    591591 * @return str The field name
  • trunk/bp-xprofile/bp-xprofile-loader.php

    r4827 r4907  
    1818         * Start the xprofile component creation process
    1919         *
    20          * @since BuddyPress 1.3
     20         * @since 1.5
    2121         */
    2222        function __construct() {
     
    5757         * backwards compatibility.
    5858         *
    59          * @since BuddyPress 1.3
     59         * @since 1.5
    6060         * @global obj $bp
    6161         */
Note: See TracChangeset for help on using the changeset viewer.