WordPress.org

Plugin Directory

Changeset 626267


Ignore:
Timestamp:
11/16/12 20:22:34 (17 months ago)
Author:
boonebgorges
Message:

1.2.2

Location:
buddypress-docs/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • buddypress-docs/trunk/includes/component.php

    r625943 r626267  
    135135            'slug'                  => BP_DOCS_SLUG, 
    136136            'root_slug'             => isset( $bp->pages->{$this->id}->slug ) ? $bp->pages->{$this->id}->slug : BP_DOCS_SLUG, 
    137             'has_directory'         => true, // Set to false if not required 
     137            'has_directory'         => false, // Set to false if not required 
    138138            'notification_callback' => 'bp_docs_format_notifications', 
    139139            'search_string'         => __( 'Search Docs...', 'buddypress' ), 
  • buddypress-docs/trunk/includes/integration-groups.php

    r625943 r626267  
    144144        global $bp; 
    145145 
    146         if ( $item_type == 'group' && bp_is_current_action( BP_DOCS_SLUG ) ) { 
     146        if ( $item_type == 'group' ) { 
    147147            if ( empty( $bp->action_variables[0] ) ) { 
    148148                // An empty $bp->action_variables[0] means that you're looking at a list 
     
    391391            } else if ( isset( $_GET['associated_group_id'] ) ) { 
    392392                $group_id = intval( $_GET['associated_group_id'] ); 
     393            } else if ( isset( $_GET['group'] ) ) { 
     394                                $maybe_group = BP_Groups_Group::get_id_from_slug( $_GET['group'] ); 
     395                                if ( $maybe_group ) { 
     396                                        $group_id = $maybe_group->id; 
     397                } 
    393398            } 
     399 
    394400        } 
    395401 
  • buddypress-docs/trunk/loader.php

    r626103 r626267  
    44Plugin URI: http://github.com/boonebgorges/buddypress-docs 
    55Description: Adds collaborative Docs to BuddyPress 
    6 Version: 1.2.1 
     6Version: 1.2.2 
    77Author: Boone B Gorges 
    88Author URI: http://boone.gorg.es 
     
    1414*/ 
    1515 
    16 define( 'BP_DOCS_VERSION', '1.2.1' ); 
     16define( 'BP_DOCS_VERSION', '1.2.2' ); 
    1717 
    1818// BuddyPress Docs introduces a lot of overhead. Unless otherwise specified, 
  • buddypress-docs/trunk/readme.txt

    r626103 r626267  
    55Requires at least: WordPress 3.3, BuddyPress 1.5 
    66Tested up to: WordPress 3.5, BuddyPress 1.6.1 
    7 Stable tag: 1.2.1 
     7Stable tag: 1.2.2 
    88  
    99Adds collaborative Docs to BuddyPress. 
     
    3535 
    3636== Changelog == 
     37 
     38= 1.2.2 = 
     39* Improves group-association auto-settings when creating via the Create New Doc link in a group 
     40* Fixes bug that erroneously required a directory page 
    3741 
    3842= 1.2.1 = 
Note: See TracChangeset for help on using the changeset viewer.