Advertisement
simonwheatley

Refinement for Network Privacy BP issue

Mar 14th, 2012
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.88 KB | None | 0 0
  1. Index: /Users/simon/Projects/BuddyPress/site/wp-content/plugins/network-privacy/ra-network-privacy.php
  2. ===================================================================
  3. --- /Users/simon/Projects/BuddyPress/site/wp-content/plugins/network-privacy/ra-network-privacy.php (revision 518882)
  4. +++ /Users/simon/Projects/BuddyPress/site/wp-content/plugins/network-privacy/ra-network-privacy.php (working copy)
  5. @@ -65,6 +65,7 @@
  6.         $this->settings = is_array( $net_settings ) && !empty( $net_settings['network'] ) ? $net_settings : array( 'network' => 0, 'privacy' => 0 );
  7.  
  8.         add_action( 'template_redirect', array( $this, 'authenticator' ) );
  9. +       add_action( 'bp_screens', array( $this, 'authenticator' ), 0 );
  10.         add_action( 'do_robots', array( $this, 'do_robots' ), 1 );
  11.         add_action( 'wp_head', array( $this, 'noindex' ), 0 );
  12.         add_action( 'login_head', array( $this, 'noindex' ), 1 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement