WordPress.org

Plugin Directory

Changeset 625951


Ignore:
Timestamp:
11/16/12 00:53:11 (18 months ago)
Author:
boonebgorges
Message:

Merge 1.2.x into 'svn'

Location:
buddypress-docs/trunk
Files:
2 edited

Legend:

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

    r625943 r625951  
    1111 
    1212    if ( ! bp_get_option( '_bp_docs_done_upgrade_1_2' ) ) { 
    13         $upgrades[] = '1.2'; 
     13        // If this is a new install, don't bother 
     14        global $wpdb; 
     15        $count = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_type = %s", bp_docs_get_post_type_name() ) ); 
     16 
     17        if ( $count ) { 
     18            $upgrades[] = '1.2'; 
     19        } 
    1420    } 
    1521 
  • buddypress-docs/trunk/readme.txt

    r625943 r625951  
    55Requires at least: WordPress 3.3, BuddyPress 1.5 
    66Tested up to: WordPress 3.5, BuddyPress 1.6.1 
    7 Stable tag: 1.1.25 
     7Stable tag: 1.2 
    88  
    99Adds collaborative Docs to BuddyPress. 
Note: See TracChangeset for help on using the changeset viewer.