WordPress.org

Plugin Directory

Changeset 626290


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

1.2.3

Location:
buddypress-docs/trunk
Files:
3 edited

Legend:

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

    r626267 r626290  
    105105         */ 
    106106 
     107        add_filter( 'bp_core_get_directory_page_ids', array( $this, 'remove_bp_page' ) ); 
     108 
    107109        // Respect $activities_template->disable_blogforum_replies 
    108110        add_filter( 'bp_activity_can_comment',  array( $this, 'activity_can_comment'    ) ); 
     
    156158        $this->set_current_item_type(); 
    157159        $this->set_current_view(); 
     160    } 
     161 
     162    /** 
     163     * In Docs 1.2 through 1.2.2, there was an error in which Docs registered 
     164     * a bp-pages entry. This fixes the error 
     165     * 
     166     * @since 1.2.3 
     167     */ 
     168    function remove_bp_page( $pages ) { 
     169        if ( isset( $pages['bp_docs'] ) ) { 
     170            unset( $pages['bp_docs']); 
     171            bp_update_option( 'bp-pages', $pages ); 
     172        } 
     173 
     174        return $pages; 
    158175    } 
    159176 
  • buddypress-docs/trunk/loader.php

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

    r626267 r626290  
    55Requires at least: WordPress 3.3, BuddyPress 1.5 
    66Tested up to: WordPress 3.5, BuddyPress 1.6.1 
    7 Stable tag: 1.2.2 
     7Stable tag: 1.2.3 
    88  
    99Adds collaborative Docs to BuddyPress. 
     
    3535 
    3636== Changelog == 
     37 
     38= 1.2.3 =  
     39* Fixes bug with bp-pages 
    3740 
    3841= 1.2.2 = 
Note: See TracChangeset for help on using the changeset viewer.