Skip to:
Content

BuddyPress.org

Changes from tags/1.5.1 at r5242 to tags/1.5 at r5172


Ignore:
Location:
tags/1.5
Files:
30 edited

Legend:

Unmodified
Added
Removed
  • tags/1.5/bp-activity/bp-activity-actions.php

    r5242 r5172  
    191191
    192192    // Do not proceed if user is not logged in, not viewing activity, or not posting
    193     if ( !is_user_logged_in() || !bp_is_activity_component() || !bp_is_current_action( 'post' ) )
     193    if ( !is_user_logged_in() || bp_is_activity_component() || !bp_is_current_action( 'post' ) )
    194194        return false;
    195195
  • tags/1.5/bp-activity/bp-activity-notifications.php

    r5242 r5172  
    212212        $to = apply_filters( 'bp_activity_new_comment_notification_comment_author_to', $to );
    213213        $subject = apply_filters( 'bp_activity_new_comment_notification_comment_author_subject', $subject, $poster_name );
    214         $message = apply_filters( 'bp_activity_new_comment_notification_comment_author_message', $message, $poster_name, $content, $settings_link, $thread_link );
     214        $message = apply_filters( 'bp_activity_new_comment_notification_comment_author_message', $message, $poster_name, $content, $settings_link );
    215215
    216216        wp_mail( $to, $subject, $message );
  • tags/1.5/bp-activity/bp-activity-template.php

    r5242 r5172  
    24402440     */
    24412441    function bp_get_sitewide_activity_feed_link() {
    2442         return apply_filters( 'bp_get_sitewide_activity_feed_link', bp_get_root_domain() . '/' . bp_get_activity_root_slug() . '/feed/' );
     2442        return apply_filters( 'bp_get_sitewide_activity_feed_link', home_url( bp_get_activity_root_slug() . '/feed/' ) );
    24432443    }
    24442444
  • tags/1.5/bp-core/admin/bp-core-update.php

    r5242 r5172  
    266266
    267267    function step_ms_update() {
    268         global $wpdb;
    269 
    270         // Make sure that page info is pulled from bp_get_root_blog_id() (except when in
    271         // multisite mode)
    272         if ( !empty( $wpdb->blogid ) && ( $wpdb->blogid != bp_get_root_blog_id() ) && ( !defined( 'BP_ENABLE_MULTIBLOG' ) ) )
    273             switch_to_blog( bp_get_root_blog_id() );
    274 
    275268        if ( !current_user_can( 'activate_plugins' ) )
    276269            return false;
     
    344337        </div>
    345338
    346         <?php
    347 
    348         restore_current_blog();
     339    <?php
    349340    }
    350341
     
    372363
    373364    function step_pages() {
    374         global $bp, $wpdb;
    375 
    376         // Make sure that page info is pulled from bp_get_root_blog_id() (except when in
    377         // multisite mode)
    378         if ( !empty( $wpdb->blogid ) && ( $wpdb->blogid != bp_get_root_blog_id() ) && ( !defined( 'BP_ENABLE_MULTIBLOG' ) ) )
    379             switch_to_blog( bp_get_root_blog_id() );
     365        global $bp;
    380366
    381367        if ( !current_user_can( 'activate_plugins' ) )
     
    541527        </div>
    542528
    543         <?php
    544 
    545         restore_current_blog();
     529    <?php
    546530    }
    547531
  • tags/1.5/bp-core/bp-core-catchuri.php

    r5242 r5172  
    251251                }
    252252
    253                 // If the displayed user is marked as a spammer, 404 (unless logged-
    254                 // in user is a super admin)
    255                 if ( !empty( $bp->displayed_user->id ) && bp_core_is_user_spammer( $bp->displayed_user->id ) ) {
    256                     if ( is_super_admin() ) {
    257                         bp_core_add_message( __( 'This user has been marked as a spammer. Only site admins can view this profile.', 'buddypress' ), 'error' );
    258                     } else {
    259                         bp_do_404();
    260                         return;
    261                     }
    262                 }
    263 
    264253                // Bump the offset
    265254                if ( isset( $bp_uri[$uri_offset + 2] ) ) {
     
    379368    if ( $bp_no_status_set )
    380369        return false;
     370
     371    // If the displayed user was marked as a spammer and the logged-in user is not a super admin, 404.
     372    if ( isset( $bp->displayed_user->id ) && bp_core_is_user_spammer( $bp->displayed_user->id ) ) {
     373        if ( !$bp->loggedin_user->is_super_admin ) {
     374            bp_do_404();
     375            return;
     376
     377        } else {
     378            bp_core_add_message( __( 'This user has been marked as a spammer. Only site admins can view this profile.', 'buddypress' ), 'error' );
     379        }
     380    }
    381381
    382382    if ( !isset( $wp_query->queried_object ) && !bp_is_blog_page() ) {
  • tags/1.5/bp-core/bp-core-functions.php

    r5242 r5172  
    137137    if ( $page_ids = bp_core_get_directory_page_ids() ) {
    138138
    139         // Always get page data from the root blog, except on multiblog mode, when it comes
    140         // from the current blog
    141         $posts_table_name = bp_is_multiblog_mode() ? $wpdb->posts : $wpdb->get_blog_prefix( bp_get_root_blog_id() ) . 'posts';
     139        $posts_table_name = bp_is_multiblog_mode() ? $wpdb->get_blog_prefix( bp_get_root_blog_id() ) . 'posts' : $wpdb->posts;
    142140        $page_ids_sql     = implode( ',', (array)$page_ids );
    143141        $page_names       = $wpdb->get_results( $wpdb->prepare( "SELECT ID, post_name, post_parent, post_title FROM {$posts_table_name} WHERE ID IN ({$page_ids_sql}) AND post_status = 'publish' " ) );
     
    841839                $slug = '';
    842840                $var  = '/?s=';
    843 
    844                 // If posts aren't displayed on the front page, find the post page's slug.
    845                 if ( 'page' == get_option( 'show_on_front' ) ) {
    846                     $page = get_post( get_option( 'page_for_posts' ) );
    847 
    848                     if ( !is_wp_error( $page ) && !empty( $page->post_name ) ) {
    849                         $slug = $page->post_name;
    850                         $var  = '?s=';
    851                     }
    852                 }
    853841                break;
    854842
     
    984972        'bp-deactivated-components'       => serialize( array( ) ),
    985973        'bp-blogs-first-install'          => '0',
    986         'bp-disable-blogforum-comments'  => '0',
     974        'bp-disable-blog-forum-comments'  => '0',
    987975        'bp-xprofile-base-group-name'     => 'Base',
    988976        'bp-xprofile-fullname-field-name' => 'Name',
     
    991979        'bp-disable-account-deletion'     => '0',
    992980        'bp-disable-blogforum-comments'   => '0',
    993         'bb-config-location'              => ABSPATH . 'bb-config.php',
     981        'bb-config-location'              => ABSPATH,
    994982        'hide-loggedout-adminbar'         => '0',
    995983
  • tags/1.5/bp-core/bp-core-widgets.php

    r5242 r5172  
    2323        parent::__construct( false, $name = __( 'Members', 'buddypress' ), $widget_ops );
    2424
    25         if ( is_active_widget( false, false, $this->id_base ) && !is_admin() && !is_network_admin() ) {
     25        if ( is_active_widget( false, false, $this->id_base ) ) {
    2626            if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG )
    2727                wp_enqueue_script( 'bp_core_widget_members-js', BP_PLUGIN_URL . '/bp-core/js/widget-members.dev.js', array( 'jquery' ), '20110723' );
  • tags/1.5/bp-core/deprecated/1.5.php

    r5242 r5172  
    4949    _deprecated_function( __FUNCTION__, '1.5', 'is_main_site()' );
    5050    return is_main_site( $blog_id );
    51 }
    52 
    53 /**
    54  * WPMU version of is_super_admin()
    55  *
    56  * @deprecated 1.5
    57  * @deprecated Use is_super_admin()
    58  * @param int $user_id Optional. Defaults to logged-in user
    59  * @return bool True if is super admin
    60  */
    61 if ( !function_exists( 'is_site_admin' ) ) {
    62     function is_site_admin( $user_id = false ) {
    63         _deprecated_function( __FUNCTION__, '1.5', 'is_super_admin()' );
    64         return is_super_admin( $user_id );
    65     }
    6651}
    6752
  • tags/1.5/bp-forums/bp-forums-template.php

    r5242 r5172  
    13241324
    13251325        if ( bp_is_groups_component() ) {
    1326             $permalink = trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/' . bp_current_item() . '/forum' );
     1326            $permalink = trailingslashit( bp_get_root_domain() . '/' . bp_get_groups_root_slug() . '/' . bp_current_item() . 'forum' );
    13271327        } else {
    13281328            if ( empty( $forum_id ) ) {
  • tags/1.5/bp-groups/bp-groups-actions.php

    r5242 r5172  
    244244    // User wants to leave any group
    245245    if ( groups_is_user_member( $bp->loggedin_user->id, $bp->groups->current_group->id ) ) {
    246 
    247         // Stop sole admins from abandoning their group
    248         $group_admins = groups_get_group_admins( $bp->groups->current_group->id );
    249         if ( 1 == count( $group_admins ) && $group_admins[0]->user_id == $bp->loggedin_user->id )
    250             bp_core_add_message( __( 'This group must have at least one admin', 'buddypress' ), 'error' );
    251 
    252         elseif ( !groups_leave_group( $bp->groups->current_group->id ) )
     246        if ( !groups_leave_group( $bp->groups->current_group->id ) ) {
    253247            bp_core_add_message( __( 'There was an error leaving the group.', 'buddypress' ), 'error' );
    254         else
     248        } else {
    255249            bp_core_add_message( __( 'You successfully left the group.', 'buddypress' ) );
    256 
     250        }
    257251        bp_core_redirect( bp_get_group_permalink( $bp->groups->current_group ) );
    258252    }
  • tags/1.5/bp-groups/bp-groups-forums.php

    r5242 r5172  
    2424}
    2525
    26 /**
    27  * Updates group forum metadata (title, description, slug) when the group's details are edited
    28  *
    29  * @package BuddyPress
    30  * @subpackage Groups
    31  *
    32  * @param int $group_id Group id, passed from groups_details_updated
    33  */
    3426function groups_update_group_forum( $group_id ) {
    3527
    3628    $group = new BP_Groups_Group( $group_id );
    3729
    38     /**
    39      * Bail in the following three situations:
    40      *  1. Forums are not enabled for this group
    41      *  2. The BP Forum component is not enabled
    42      *  3. The built-in bbPress forums are not correctly installed (usually means they've been
    43      *     uninstalled)
    44      */
    45     if ( empty( $group->enable_forum ) || !bp_is_active( 'forums' ) || ( function_exists( 'bp_forums_is_installed_correctly' ) && !bp_forums_is_installed_correctly() ) )
     30    if ( empty( $group->enable_forum ) || !bp_is_active( 'forums' ) )
    4631        return false;
    4732
  • tags/1.5/bp-groups/bp-groups-loader.php

    r5242 r5172  
    216216
    217217        // Auto join group when non group member performs group activity
    218         $this->auto_join = defined( 'BP_DISABLE_AUTO_GROUP_JOIN' ) && BP_DISABLE_AUTO_GROUP_JOIN ? false : true;
     218        $this->auto_join = defined( 'BP_DISABLE_AUTO_GROUP_JOIN' );
    219219    }
    220220
  • tags/1.5/bp-groups/bp-groups-notifications.php

    r5242 r5172  
    4242    }
    4343
    44     do_action( 'bp_groups_sent_updated_email', $user_ids, $subject, '', $group_id );
     44    do_action( 'bp_groups_sent_updated_email', $user_ids, $subject, $message, $group_id );
    4545}
    4646
  • tags/1.5/bp-groups/bp-groups-screens.php

    r5242 r5172  
    141141
    142142                // Auto join this user if they are not yet a member of this group
    143                 if ( bp_groups_auto_join() && !is_super_admin() && 'public' == $bp->groups->current_group->status && !groups_is_user_member( $bp->loggedin_user->id, $bp->groups->current_group->id ) )
     143                if ( $bp->groups->auto_join && !is_super_admin() && 'public' == $bp->groups->current_group->status && !groups_is_user_member( $bp->loggedin_user->id, $bp->groups->current_group->id ) )
    144144                    groups_join_group( $bp->groups->current_group->id, $bp->loggedin_user->id );
    145145
     
    338338                    $error_message = __( "You have been banned from this group.", 'buddypress' );
    339339
    340                 } elseif ( bp_groups_auto_join() && !is_super_admin() && 'public' == $bp->groups->current_group->status && !groups_is_user_member( $bp->loggedin_user->id, $bp->groups->current_group->id ) ) {
     340                } elseif ( $bp->groups->auto_join && !is_super_admin() && 'public' == $bp->groups->current_group->status && !groups_is_user_member( $bp->loggedin_user->id, $bp->groups->current_group->id ) ) {
    341341                    // Auto join this user if they are not yet a member of this group
    342342                    groups_join_group( $bp->groups->current_group->id, $bp->loggedin_user->id );
     
    641641                    return false;
    642642
    643                 // Stop sole admins from abandoning their group
    644                 $group_admins = groups_get_group_admins( $bp->groups->current_group->id );
    645                 if ( 1 == count( $group_admins ) && $group_admins[0]->user_id == $user_id )
    646                     bp_core_add_message( __( 'This group must have at least one admin', 'buddypress' ), 'error' );
    647 
    648643                // Demote a user.
    649                 elseif ( !groups_demote_member( $user_id, $bp->groups->current_group->id ) )
     644                if ( !groups_demote_member( $user_id, $bp->groups->current_group->id ) )
    650645                    bp_core_add_message( __( 'There was an error when demoting that user, please try again', 'buddypress' ), 'error' );
    651646                else
  • tags/1.5/bp-groups/bp-groups-template.php

    r5242 r5172  
    274274    extract( $r );
    275275
    276     if ( empty( $search_terms ) ) {
     276    if ( is_null( $search_terms ) ) {
    277277        if ( isset( $_REQUEST['group-filter-box'] ) && !empty( $_REQUEST['group-filter-box'] ) )
    278278            $search_terms = $_REQUEST['group-filter-box'];
     
    21852185        }
    21862186
    2187         return apply_filters( 'bp_get_group_creation_previous_link', trailingslashit( bp_get_root_domain() ) . bp_get_groups_root_slug() . '/create/step/' . array_pop( $previous_steps ) );
     2187        return apply_filters( 'bp_get_group_creation_previous_link', trailingslashit( bp_get_root_domain() ) . bp_get_groups_slug() . '/create/step/' . array_pop( $previous_steps ) );
    21882188    }
    21892189
  • tags/1.5/bp-groups/bp-groups-widgets.php

    r5242 r5172  
    2020        parent::__construct( false, __( 'Groups', 'buddypress' ), $widget_ops );
    2121
    22         if ( is_active_widget( false, false, $this->id_base ) && !is_admin() && !is_network_admin() ) {
     22        if ( is_active_widget( false, false, $this->id_base ) ) {
    2323            if ( defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG )
    2424                wp_enqueue_script( 'groups_widget_groups_list-js', BP_PLUGIN_URL . '/bp-groups/js/widget-groups.dev.js', array( 'jquery' ) );
  • tags/1.5/bp-loader.php

    r5242 r5172  
    55 * Description: Social networking in a box. Build a social network for your company, school, sports team or niche community all based on the power and flexibility of WordPress.
    66 * Author:      The BuddyPress Community
    7  * Version:     1.5.1
     7 * Version:     1.5
    88 * Author URI:  http://buddypress.org/community/members/
    99 * Network:     true
     
    1818// Define the BuddyPress version
    1919if ( !defined( 'BP_VERSION' ) )
    20     define( 'BP_VERSION', '1.5.1' );
     20    define( 'BP_VERSION', '1.5' );
    2121
    2222// Define the database version
     
    6161
    6262// Setup the BuddyPress theme directory
    63 register_theme_directory( BP_PLUGIN_DIR . '/bp-themes' );
     63register_theme_directory( WP_PLUGIN_DIR . '/buddypress/bp-themes' );
    6464
    6565/** Loader ********************************************************************/
     
    8080if ( empty( $bp->database_version ) ) {
    8181    $bp->maintenance_mode = 'install';
    82     require( BP_PLUGIN_DIR . '/bp-core/admin/bp-core-update.php' );
     82    require( WP_PLUGIN_DIR . '/buddypress/bp-core/admin/bp-core-update.php' );
    8383
    8484// There is a previous installation
    8585} else {
    8686    // Load core
    87     require( BP_PLUGIN_DIR . '/bp-core/bp-core-loader.php' );
     87    require( WP_PLUGIN_DIR . '/buddypress/bp-core/bp-core-loader.php' );
    8888
    8989    // Check if an update is required
    9090    if ( (int)$bp->database_version < (int)constant( 'BP_DB_VERSION' ) || isset( $bp->is_network_activate ) ) {
    9191        $bp->maintenance_mode = 'update';
    92         require( BP_PLUGIN_DIR . '/bp-core/admin/bp-core-update.php' );
     92        require( WP_PLUGIN_DIR . '/buddypress/bp-core/admin/bp-core-update.php' );
    9393    }
    9494}
  • tags/1.5/bp-members/bp-members-signup.php

    r5242 r5172  
    2424    if ( is_user_logged_in() ) {
    2525        if ( bp_is_component_front_page( 'register' ) )
    26             $redirect_to = bp_get_root_domain() . '/' . bp_get_members_root_slug();
     26            bp_core_redirect( bp_get_root_domain() . '/' . bp_get_members_root_slug() );
    2727        else
    28             $redirect_to = bp_get_root_domain();
    29 
    30         bp_core_redirect( apply_filters( 'bp_loggedin_register_page_redirect_to', $redirect_to ) );
     28            bp_core_redirect( bp_get_root_domain() );
    3129
    3230        return;
  • tags/1.5/bp-settings/bp-settings-actions.php

    r5242 r5172  
    9393
    9494        // Add user feedback messages
    95         if ( empty( $pass_error ) && empty( $pwd_error ) && ( empty( $email_error ) ) )
     95        if ( empty( $pass_error ) && empty( $pwd_error ) )
    9696            bp_core_add_message( __( 'Changes saved.', 'buddypress' ), 'success' );
    9797
  • tags/1.5/bp-themes/bp-default/_inc/css/default.css

    r5242 r5172  
    10901090    width: 98%;
    10911091}
    1092 body.no-js form#whats-new-form textarea {
    1093     height: 50px;
    1094 }
    10951092form#whats-new-form #whats-new-options select {
    10961093    max-width: 200px;
     
    11041101    overflow: auto;
    11051102    height: 0;
    1106 }
    1107 body.no-js #whats-new-options {
    1108     height: auto;
    11091103}
    11101104#whats-new:focus {
  • tags/1.5/bp-themes/bp-default/blogs/index.php

    r5242 r5172  
    3333            <div class="item-list-tabs" role="navigation">
    3434                <ul>
    35                     <li class="selected" id="blogs-all"><a href="<?php bp_root_domain(); ?>/<?php bp_blogs_root_slug() ?>"><?php printf( __( 'All Sites <span>%s</span>', 'buddypress' ), bp_get_total_blog_count() ); ?></a></li>
     35                    <li class="selected" id="blogs-all"><a href="<?php bp_root_domain(); ?>"><?php printf( __( 'All Sites <span>%s</span>', 'buddypress' ), bp_get_total_blog_count() ); ?></a></li>
    3636
    3737                    <?php if ( is_user_logged_in() && bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ) : ?>
    3838
    39                         <li id="blogs-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_blogs_slug() ?>"><?php printf( __( 'My Sites <span>%s</span>', 'buddypress' ), bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ); ?></a></li>
     39                        <li id="blogs-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_blogs_slug() . '/my-blogs/' ?>"><?php printf( __( 'My Sites <span>%s</span>', 'buddypress' ), bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ); ?></a></li>
    4040
    4141                    <?php endif; ?>
     
    7575
    7676            <?php wp_nonce_field( 'directory_blogs', '_wpnonce-blogs-filter' ); ?>
    77 
     77           
    7878            <?php do_action( 'bp_after_directory_blogs_content' ); ?>
    7979
  • tags/1.5/bp-themes/bp-default/forums/single/topic.php

    r5242 r5172  
    3434                        <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    3535                            <ul>
    36                                 <?php if ( is_user_logged_in() ) : ?>
    37                                     <li>
    38                                         <a href="#post-topic-reply" class="show-hide-new"><?php _e( 'New Reply', 'buddypress' ) ?></a>
    39                                     </li>
    40                                 <?php endif; ?>
     36                                <li>
     37                                    <a href="#post-topic-reply" class="show-hide-new"><?php _e( 'New Reply', 'buddypress' ) ?></a>
     38                                </li>
    4139
    4240                                <?php if ( bp_forums_has_directory() ) : ?>
  • tags/1.5/bp-themes/bp-default/functions.php

    r5242 r5172  
    140140function bp_dtheme_enqueue_scripts() {
    141141    // Bump this when changes are made to bust cache
    142     $version = '20111013';
     142    $version = '20110921';
    143143
    144144    // Enqueue the global JS - Ajax will not work without it
     
    180180function bp_dtheme_enqueue_styles() {
    181181    // Bump this when changes are made to bust cache
    182     $version = '20111013';
     182    $version = '20110921';
    183183
    184184    // Register our main stylesheet
     
    732732}
    733733endif;
    734 
    735 /**
    736  * Adds the no-js class to the body tag.
    737  *
    738  * This function ensures that the <body> element will have the 'no-js' class by default. If you're
    739  * using JavaScript for some visual functionality in your theme, and you want to provide noscript
    740  * support, apply those styles to body.no-js.
    741  *
    742  * The no-js class is removed by the JavaScript created in bp_dtheme_remove_nojs_body_class().
    743  *
    744  * @package BuddyPress
    745  * @since 1.5.1
    746  * @see bp_dtheme_remove_nojs_body_class()
    747  */
    748 function bp_dtheme_add_nojs_body_class( $classes ) {
    749     $classes[] = 'no-js';
    750     return array_unique( $classes );
    751 }
    752 add_filter( 'bp_get_the_body_class', 'bp_dtheme_add_nojs_body_class' );
    753 
    754 /**
    755  * Dynamically removes the no-js class from the <body> element.
    756  *
    757  * By default, the no-js class is added to the body (see bp_dtheme_add_no_js_body_class()). The
    758  * JavaScript in this function is loaded into the <body> element immediately after the <body> tag
    759  * (note that it's hooked to bp_before_header), and uses JavaScript to switch the 'no-js' body class
    760  * to 'js'. If your theme has styles that should only apply for JavaScript-enabled users, apply them
    761  * to body.js.
    762  *
    763  * This technique is borrowed from WordPress, wp-admin/admin-header.php.
    764  *
    765  * @package BuddyPress
    766  * @since 1.5.1
    767  * @see bp_dtheme_add_nojs_body_class()
    768  */
    769 function bp_dtheme_remove_nojs_body_class() {
    770 ?><script type="text/javascript">//<![CDATA[
    771 (function(){var c=document.body.className;c=c.replace(/no-js/,'js');document.body.className=c;})();
    772 //]]></script>
    773 <?php
    774 }
    775 add_action( 'bp_before_header', 'bp_dtheme_remove_nojs_body_class' );
    776 
    777734?>
  • tags/1.5/bp-themes/bp-default/groups/single/forum.php

    r5242 r5172  
    1414        <ul>
    1515
    16             <?php if ( is_user_logged_in() ) : ?>
    17 
    18                 <li>
    19                     <a href="#post-new" class="show-hide-new"><?php _e( 'New Topic', 'buddypress' ) ?></a>
    20                 </li>
    21 
    22             <?php endif; ?>
     16            <li>
     17                <a href="#post-new" class="show-hide-new"><?php _e( 'New Topic', 'buddypress' ) ?></a>
     18            </li>
    2319
    2420            <?php if ( bp_forums_has_directory() ) : ?>
  • tags/1.5/bp-themes/bp-default/groups/single/forum/topic.php

    r5242 r5172  
    77        <div class="item-list-tabs no-ajax" id="subnav" role="navigation">
    88            <ul>
    9                 <?php if ( is_user_logged_in() ) : ?>
    10 
    11                     <li>
    12                         <a href="<?php bp_forum_topic_new_reply_link() ?>" class="new-reply-link"><?php _e( 'New Reply', 'buddypress' ) ?></a>
    13                     </li>
    14 
    15                 <?php endif; ?>
     9                <li>
     10                    <a href="<?php bp_forum_topic_new_reply_link() ?>" class="new-reply-link"><?php _e( 'New Reply', 'buddypress' ) ?></a>
     11                </li>
    1612
    1713                <?php if ( bp_forums_has_directory() ) : ?>
  • tags/1.5/bp-themes/bp-default/rtl.css

    r5242 r5172  
    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.5.1
     5 * Version: 1.5
    66 * Author: the BuddyPress team
    77 * Author URI: http://buddypress.org
  • tags/1.5/bp-themes/bp-default/style.css

    r5242 r5172  
    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.5.1
     5 * Version: 1.5
    66 * Author: the BuddyPress team
    77 * Author URI: http://buddypress.org
  • tags/1.5/bp-xprofile/bp-xprofile-classes.php

    r5242 r5172  
    512512        global $wpdb, $bp;
    513513
    514         // This is done here so we don't have problems with sql injection
     514        /* This is done here so we don't have problems with sql injection */
    515515        if ( 'asc' == $this->order_by && !$for_editing )
    516516            $sort_sql = 'ORDER BY name ASC';
     
    520520            $sort_sql = 'ORDER BY option_order ASC';
    521521
    522         // This eliminates a problem with getting all fields when there is no id for the object
     522        /* This eliminates a problem with getting all fields when there is no id for the object */
    523523        if ( !$this->id )
    524524            $parent_id = -1;
     
    531531            return false;
    532532
    533         return apply_filters( 'bp_xprofile_field_get_children', $children );
     533        return $children;
    534534    }
    535535
     
    749749                </div>
    750750
    751                 <?php do_action( 'xprofile_field_additional_options', &$this ) ?>
    752 
    753751                <?php $this->render_admin_form_children(); ?>
    754752<?php   } else { ?>
  • tags/1.5/bp-xprofile/bp-xprofile-template.php

    r5242 r5172  
    579579                    } else {
    580580                        $day   = mysql2date( 'j', $date );
    581                         $month = mysql2date( 'F', $date, false ); // Not localized, so that selected() works below
     581                        $month = mysql2date( 'F', $date );
    582582                        $year  = mysql2date( 'Y', $date );
    583583                    }
     
    612612                        $eng_months = array( 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' );
    613613
    614                         $months = array(
    615                             __( 'January', 'buddypress' ),
    616                             __( 'February', 'buddypress' ),
    617                             __( 'March', 'buddypress' ),
    618                             __( 'April', 'buddypress' ),
    619                             __( 'May', 'buddypress' ),
    620                             __( 'June', 'buddypress' ),
    621                             __( 'July', 'buddypress' ),
    622                             __( 'August', 'buddypress' ),
    623                             __( 'September', 'buddypress' ),
    624                             __( 'October', 'buddypress' ),
    625                             __( 'November', 'buddypress' ),
    626                             __( 'December', 'buddypress' )
    627                         );
     614                        $months = array( __( 'January', 'buddypress' ), __( 'February', 'buddypress' ), __( 'March', 'buddypress' ),
     615                                 __( 'April', 'buddypress' ), __( 'May', 'buddypress' ), __( 'June', 'buddypress' ),
     616                                 __( 'July', 'buddypress' ), __( 'August', 'buddypress' ), __( 'September', 'buddypress' ),
     617                                 __( 'October', 'buddypress' ), __( 'November', 'buddypress' ), __( 'December', 'buddypress' )
     618                                );
    628619
    629620                        $html .= '<option value=""' . selected( $month, '', false ) . '>------</option>';
  • tags/1.5/readme.txt

    r5242 r5172  
    44Requires at least: 3.2
    55Tested up to: 3.2.1
    6 Stable tag: 1.5.1
     6Stable tag: 1.5
    77
    88Social networking in a box. Build a social network for your company, school, sports team or niche community.
     
    2424<h4>Plugins: Adding So Much More</h4>
    2525
    26 BuddyPress boasts an ever growing array of new features developed by an awesome plugin development community. There are more than 330 BuddyPress plugins available, and the list is growing every day. Check out our list of <a href="http://buddypress.org/extend/recommended-plugins/">popular and recommended plugins</a>; for a full list of plugins, please visit the <a href="http://buddypress.org/extend/plugins/">BuddyPress.org plugins page</a>. You can install any of these plugins automatically, using the plugin installer on your WordPress Dashboard.
     26BuddyPress boasts an ever growing array of new features developed by an awesome plugin development community. There are more than 330 BuddyPress plugins available, and the list is growing every day. For a full list of plugins, please visit the <a href="http://buddypress.org/extend/plugins/">BuddyPress.org plugins page</a>. You can install any of these plugins automatically, using the plugin installer on your WordPress Dashboard.
    2727
    2828<h4>More Information</h4>
     
    8585== Upgrade Notice ==
    8686
    87 = 1.5.1 =
    88 Fixes over 25 issues
    89 
    9087= 1.5 =
    9188See: http://codex.buddypress.org/releases/version-1-5/
Note: See TracChangeset for help on using the changeset viewer.