Skip to content

Commit 8125e41

Browse files
authored
Update anonymous-bbpress.php
1 parent 04f1989 commit 8125e41

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

anonymous-bbpress.php

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,32 @@
22
/*
33
Plugin Name: Anonymous bbPress
44
Plugin URI: https://www.littlebizzy.com/plugins/anonymous-bbpress
5-
GitHub Plugin URI: littlebizzy/anonymous-bbpress
6-
Release Asset: true
7-
Description: Enables guest users to participate in bbPress forums without providing an email address or URL, and assigns random usernames to every single post.
8-
Version: 1.0.1
5+
Description: Anonymous bbPress guest posting
6+
Version: 1.0.2
97
Author: LittleBizzy
108
Author URI: https://www.littlebizzy.com
119
License: GPLv3
1210
License URI: https://www.gnu.org/licenses/gpl-3.0.html
11+
GitHub Plugin URI: littlebizzy/anonymous-bbpress
12+
Primary Branch: main
1313
Requires PHP: 5.4
1414
*/
1515

1616
namespace LittleBizzy\AnonymousbbPress;
1717

18+
19+
// disable wordpress.org updates
20+
add_filter(
21+
'gu_override_dot_org',
22+
function ( $overrides ) {
23+
return array_merge(
24+
$overrides,
25+
array( 'anonymous-bbpress/anonymous-bbpress.php' )
26+
);
27+
}
28+
);
29+
30+
1831
/**
1932
* Init.
2033
*/

0 commit comments

Comments
 (0)