bueltge / authenticator

This plugin allows you to make your WordPress site accessible to logged in users only.
https://wordpress.org/plugins/authenticator/
GNU General Public License v3.0
24 stars 7 forks source link

Post exeptions #21

Closed epartipilo closed 6 years ago

epartipilo commented 10 years ago
  1. Using add_action( 'plugins_loaded', 'authenticator_example_add_exclude' ); doesn't fill the array, so I used add_action('wp_loaded','authenticator_example_add_exclude');

2.- In line 278 of authenticator.php instead of using in_array( get_the_title(), self::$exclude_posts ) inside the if sentence, I use in_array( get_the_title(), apply_filters( 'authenticator_exclude_posts', self::$exclude_posts) )

That works! hope it helps to solve the problem and you upload your latest version to still using it on my page. ;) Thanks!!