File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 33Plugin Name: Anonymous bbPress
44Plugin URI: https://www.littlebizzy.com/plugins/anonymous-bbpress
55Description: Anonymous bbPress guest posting
6- Version: 1.1.0
6+ Version: 1.1.1
7+ Requires PHP: 7.0
78Author: LittleBizzy
89Author URI: https://www.littlebizzy.com
910License: GPLv3
1011License URI: https://www.gnu.org/licenses/gpl-3.0.html
1112GitHub Plugin URI: littlebizzy/anonymous-bbpress
1213Primary Branch: main
13- Requires PHP: 7.0
1414*/
1515
16- // Disable WordPress.org updates for this plugin
17- add_filter ('gu_override_dot_org ' , function ($ overrides ) {
16+ // prevent direct access
17+ if ( ! defined ( 'ABSPATH ' ) ) {
18+ exit ;
19+ }
20+
21+ // disable wordpress.org updates for this plugin
22+ add_filter ( 'gu_override_dot_org ' , function ( $ overrides ) {
1823 $ overrides [] = 'anonymous-bbpress/anonymous-bbpress.php ' ;
1924 return $ overrides ;
20- });
25+ }, 999 );
2126
2227/**
2328 * Initialize the plugin.
You can’t perform that action at this time.
0 commit comments