Plugin Directory

Changeset 779070


Ignore:
Timestamp:
09/27/2013 03:51:08 AM (13 years ago)
Author:
bphelp
Message:

Update 1.3 added translation files

Location:
private-bp-pages
Files:
14 added
3 edited

Legend:

Unmodified
Added
Removed
  • private-bp-pages/trunk/loader.php

    r775346 r779070  
    66your WordPress pages public.
    77Blocks BP RSS feeds to logged out visitors.
    8 Version: 1.2.5
     8Version: 1.3
    99Requires at least: WordPress 3.2.1
    1010Tested up to: 3.6.1
  • private-bp-pages/trunk/private-bp-pages.php

    r775346 r779070  
    11<?php
    22/* Prevent logged out users from accessing bp pages */
    3 function nonreg_visitor_redirect() {
     3function bphelp_pbpp_redirect() {
    44global $bp;
    55//IMPORTANT: Do not alter the following line.
     
    1313}
    1414}
    15 add_filter('template_redirect','nonreg_visitor_redirect',1);
     15add_filter('template_redirect','bphelp_pbpp_redirect',1);
    1616/* End Prevent logged out users from accessing bp pages */
    1717
    1818/* Prevent RSS Feeds */
    19 function pbpp_cut_nonreg_visitor_rss_feed() {
     19function pbpp_remove_visitor_rss_feed() {
    2020    if ( !is_user_logged_in() ) {
    2121        remove_action( 'bp_actions', 'bp_activity_action_sitewide_feed' ,3      );
     
    2828    }
    2929}
    30 add_action('init', 'pbpp_cut_nonreg_visitor_rss_feed');
     30add_action('init', 'pbpp_remove_visitor_rss_feed');
    3131/* End Prevent RSS Feeds */
    3232
     
    3838    if ( !is_super_admin() )
    3939        return false;
     40       
     41    // Add translation
     42    load_plugin_textdomain( 'bphelp_pbp', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
    4043
    4144    add_options_page( __( 'Private BP Pages', 'bphelp_pbp' ), __( 'Private BP Pages', 'bphelp_pbp' ), 'manage_options', 'bphelp-pbp-settings', 'bphelp_pbp_admin' );
  • private-bp-pages/trunk/readme.txt

    r777751 r779070  
    44Requires at least: 3.2.1
    55Tested up to: 3.6.1
    6 Stable tag: 1.2.5
     6Stable tag: 1.3
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4545== Changelog ==
    4646
     47= 1.3 =
     48Added translation files for localization
     49
    4750= 1.2.5 =
    4851Fixed potential redeclare function call if using one of my other plugins
     
    5659== Upgrade Notice ==
    5760
     61= 1.3 =
     62Added translation files for localization
     63
    5864= 1.2.5 =
    5965Fixed potential redeclare function call if using one of my other plugins
Note: See TracChangeset for help on using the changeset viewer.