Plugin Directory

Changeset 778080


Ignore:
Timestamp:
09/25/2013 04:02:00 AM (13 years ago)
Author:
bphelp
Message:

Update 3.9

Location:
private-community-for-bp-lite
Files:
6 added
2 edited

Legend:

Unmodified
Added
Removed
  • private-community-for-bp-lite/trunk/loader.php

    r775344 r778080  
    11<?php
    22/*
    3 Plugin Name: Private Community For BP
     3Plugin Name: Private Community For BP Lite
    44Plugin URI: http://wordpress.org/plugins/private-community-for-bp-lite
    55Description: Makes BP pages private and only accessable to logged in users with the exception
    66of the posts/pages you set in Dashboard/Settings/PrivateCommunityBP.
    77Blocks RSS feeds to logged out visitors.
    8 Version: 3.8
     8Version: 3.9
    99Requires at least: 3.2.1
    1010Tested up to: 3.6.1
     
    1515
    1616/*** Make sure BuddyPress is loaded ********************************/
    17 function private_community_for_bp_bp_check() {
     17function private_community_for_bp_lite_bp_check() {
    1818    if ( !class_exists( 'BuddyPress' ) ) {
    19     add_action( 'admin_notices', 'private_community_for_bp_install_buddypress_notice' );
     19    add_action( 'admin_notices', 'private_community_for_bp_lite_install_buddypress_notice' );
    2020    }
    2121}
    22 add_action('plugins_loaded', 'private_community_for_bp_bp_check', 999);
     22add_action('plugins_loaded', 'private_community_for_bp_lite_bp_check', 999);
    2323
    24 function private_community_for_bp_install_buddypress_notice() {
     24function private_community_for_bp_lite_install_buddypress_notice() {
    2525    echo '<div id="message" class="error fade"><p style="line-height: 150%">';
    26     _e('<strong>Private Community For BP</strong></a> requires the BuddyPress plugin to work. Please <a href="http://buddypress.org/download">install BuddyPress</a> first, or <a href="plugins.php">deactivate Private Community For BP</a>.');
     26    _e('<strong>Private Community For BP Lite</strong></a> requires the BuddyPress plugin to work. Please <a href="http://buddypress.org/download">install BuddyPress</a> first, or <a href="plugins.php">deactivate Private Community For BP Lite</a>.');
    2727    echo '</p></div>';
    2828}
    2929
    30 function private_community_for_bp_init() {
    31     require( dirname( __FILE__ ) . '/private-community-for-bp.php' );
     30function private_community_for_bp_lite_init() {
     31    require( dirname( __FILE__ ) . '/private-community-for-bp-lite.php' );
    3232}
    33 add_action( 'bp_include', 'private_community_for_bp_init' );
     33add_action( 'bp_include', 'private_community_for_bp_lite_init' );
    3434?>
  • private-community-for-bp-lite/trunk/readme.txt

    r775344 r778080  
    1 === Private Community For BP ===
     1=== Private Community For BP Lite ===
    22Contributors: bphelp
    33Tags: buddypress, bbpress, private community, privacy
     
    55Tested up to: 3.6.1
    66License: GNU/GPL 2
    7 Stable tag: 3.8
     7Stable tag: 3.9
    88
    99Makes BP pages private and only accessable to logged in users with the
     
    2828== Screenshots ==
    2929
    30 1. Private Community For BP settings page
     301. Private Community For BP Lite settings page
    3131
    3232== Frequently Asked Questions ==
     
    7272== Changelog ==
    7373
     74= 3.9 =
     75Renamed to Private Community For BP Lite for naming convention purposes
     76
    7477= 3.8 =
    7578Fixed potential redeclare function call if using one of my other plugins
     
    105108== Upgrade Notice ==
    106109
     110= 3.9 =
     111Renamed to Private Community For BP Lite for naming convention purposes
     112
    107113= 3.8 =
    108114Fixed potential redeclare function call if using one of my other plugins
Note: See TracChangeset for help on using the changeset viewer.