Below is a differential between the unpatched vulnerable code and the patched update, for reference.
--- a/gd-bbpress-tools/code/admin.php
+++ b/gd-bbpress-tools/code/admin.php
@@ -163,7 +163,7 @@
}
public function admin_menu() {
- $this->page_ids[] = add_submenu_page( 'edit.php?post_type=forum', 'GD bbPress Tools', __( 'Tools', 'gd-bbpress-tools' ), GDBBPRESSTOOLS_CAP, 'gdbbpress_tools', array(
+ $this->page_ids[] = add_submenu_page( 'edit.php?post_type=forum', 'forumTools for bbPress', __( 'Tools', 'gd-bbpress-tools' ), GDBBPRESSTOOLS_CAP, 'gdbbpress_tools', array(
$this,
'menu_tools',
) );
@@ -188,7 +188,7 @@
public function plugin_links( $links, $file ) {
if ( $file == 'gd-bbpress-tools/gd-bbpress-tools.php' ) {
- $links[] = '<a target="_blank" style="color: #cc0000; font-weight: bold;" href="https://www.dev4press.com/plugins/gd-bbpress-toolbox/">' . esc_html__( 'Upgrade to GD bbPress Toolbox Pro', 'gd-bbpress-tools' ) . '</a>';
+ $links[] = '<a target="_blank" style="color: #cc0000; font-weight: bold;" href="https://www.dev4press.com/plugins/gd-bbpress-toolbox/">' . esc_html__( 'Upgrade to forumToolbox Pro for bbPress', 'gd-bbpress-tools' ) . '</a>';
}
return $links;
--- a/gd-bbpress-tools/code/class.php
+++ b/gd-bbpress-tools/code/class.php
@@ -184,10 +184,17 @@
}
public function init_modules() : void {
+ /**
+ * Fires during bbPress initialization after forumTools for bbPress loads its enabled modules.
+ */
do_action( 'bbtoolbox_init' );
}
public function hook_modules() : void {
+ /**
+ * Fires during bbPress initialization after forumTools for bbPress initializes its modules
+ * and loads its admin or front-end component.
+ */
do_action( 'bbtoolbox_core' );
}
--- a/gd-bbpress-tools/code/defaults.php
+++ b/gd-bbpress-tools/code/defaults.php
@@ -6,9 +6,9 @@
class GDBTODefaults {
public array $default_options = array(
- 'version' => '4.0.1',
- 'date' => '2026.05.24.',
- 'build' => 2501,
+ 'version' => '4.1',
+ 'date' => '2026.11.25.',
+ 'build' => 2510,
'status' => 'stable',
'product_id' => 'gd-bbpress-tools',
'edition' => 'free',
--- a/gd-bbpress-tools/code/mods/bbcodes.php
+++ b/gd-bbpress-tools/code/mods/bbcodes.php
@@ -305,6 +305,11 @@
}
public function strip_advanced( $content ) {
+ /**
+ * Filters which BBCodes are removed when advanced BBCodes are restricted.
+ *
+ * @param string[] $advanced BBCode names, without brackets.
+ */
$pattern = $this->_regex( apply_filters( 'd4p_bbpresstools_bbcode_advanced_list', $this->advanced ) );
return preg_replace_callback( "/$pattern/s", array( $this, '_strip' ), $content );
@@ -325,6 +330,9 @@
echo '<br/>' . esc_html__( 'Your account can't use Advanced BBCodes, they will be stripped before saving.', 'gd-bbpress-tools' );
}
+ /**
+ * Fires inside the BBCode notice paragraph on topic and reply forms, after the default text.
+ */
do_action( 'd4p_bbpresstools_bbcode_notice' );
echo '</p></div>';
@@ -343,7 +351,7 @@
}
public function shortcode_s( $atts, $content = null ) {
- return $this->_simple( 's', 'del', 'strikethrough', $atts, $content );
+ return $this->_simple( 's', 's', 'strikethrough', $atts, $content );
}
public function shortcode_right( $atts, $content = null ) {
--- a/gd-bbpress-tools/code/mods/signature.php
+++ b/gd-bbpress-tools/code/mods/signature.php
@@ -72,14 +72,23 @@
$_signature = d4p_bbp_update_shorthand_bbcodes( $profile_user->signature );
$profile_user->filter = $old_filter;
+
+ wp_nonce_field( 'gdbbptools_save_signature_' . $profile_user->ID, 'gdbbptools_signature_nonce', false );
}
+ /**
+ * Filters the signature editor template for WordPress and bbPress profile forms.
+ *
+ * @param string $file Absolute path to the PHP template for the current profile form.
+ */
include_once( apply_filters( 'd4p_bbpresstools_signature_editor_file', GDBBPRESSTOOLS_PATH . 'forms/tools/signature_profile.php' ) );
}
public function editor_form_bbpress() : void {
$_signature = d4p_bbp_update_shorthand_bbcodes( bbp_get_displayed_user_field( 'signature' ) );
+ wp_nonce_field( 'gdbbptools_save_signature_' . bbp_get_displayed_user_id(), 'gdbbptools_signature_nonce', false );
+ /** This filter is documented in code/mods/signature.php. */
$form = apply_filters( 'd4p_bbpresstools_signature_editor_file', GDBBPRESSTOOLS_PATH . 'forms/tools/signature_bbpress.php' );
include_once( $form );
}
@@ -94,7 +103,13 @@
if ( $user_id > 0 ) {
$_signature = d4p_bbp_update_shorthand_bbcodes( get_user_meta( $user_id, 'signature', true ) );
+ wp_nonce_field( 'gdbbptools_save_signature_' . $user_id, 'gdbbptools_signature_nonce', false );
+ /**
+ * Filters the signature editor template for the configured BuddyPress profile group.
+ *
+ * @param string $file Absolute path to the BuddyPress PHP template.
+ */
$form = apply_filters( 'd4p_bbpresssignature_bbpress_editor_file', GDBBPRESSTOOLS_PATH . 'forms/tools/signature_buddypress.php' );
include_once( $form );
}
@@ -131,16 +146,14 @@
public function format_signature( $sig ) : string {
if ( ! $this->html ) {
- $sig = strip_tags( $sig );
+ $sig = wp_strip_all_tags( $sig );
}
if ( ! $this->bbcodes ) {
$sig = strip_shortcodes( $sig );
}
- if ( ! current_user_can( 'unfiltered_html' ) ) {
- $sig = stripslashes( wp_filter_post_kses( addslashes( $sig ) ) );
- }
+ $sig = $this->html ? $this->sanitize_signature_html( $sig ) : wp_kses( $sig, array() );
if ( strlen( $sig ) > $this->max_length ) {
$sig = substr( $sig, 0, $this->max_length );
@@ -149,12 +162,55 @@
return trim( $sig );
}
+ private function sanitize_signature_html( string $sig ) : string {
+ // Keep formatting while excluding IDs, form controls, and classes used by other UI components.
+ $attributes = array(
+ 'class' => array(
+ 'value_callback' => static function ( $value ) {
+ return preg_match( '/A(?:d4pbbc-[a-z0-9-]+|d4p-bbt-quote-title|wp-smiley)z/', $value ) === 1;
+ },
+ ),
+ 'style' => true,
+ 'title' => true,
+ );
+
+ $tags = array_fill_keys( array(
+ 'abbr', 'b', 'br', 'caption', 'cite', 'code', 'dd', 'div', 'dl', 'dt', 'em', 'fieldset',
+ 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'kbd', 'legend', 'li', 'mark', 'p', 'pre',
+ 's', 'samp', 'small', 'span', 'strong', 'sub', 'sup', 'table', 'tbody', 'tfoot', 'thead', 'tr',
+ 'u', 'ul', 'var',
+ ), $attributes );
+
+ $tags['a'] = $attributes + array( 'href' => true, 'rel' => true, 'target' => true );
+ $tags['bdo'] = $attributes + array( 'dir' => true );
+ $tags['blockquote'] = $attributes + array( 'cite' => true );
+ $tags['img'] = $attributes + array( 'src' => true, 'alt' => true, 'width' => true, 'height' => true );
+ $tags['ol'] = $attributes + array( 'start' => true, 'reversed' => true );
+ $tags['td'] = $attributes + array( 'colspan' => true, 'rowspan' => true );
+ $tags['th'] = $tags['td'] + array( 'scope' => true );
+
+ /**
+ * Filters the HTML allowlist for formatted signatures at save and render time.
+ *
+ * @param array $tags Allowed HTML tags and their attributes.
+ */
+ $tags = apply_filters( 'd4p_bbpresstools_signature_allowed_html', $tags );
+
+ return wp_kses( $sig, $tags );
+ }
+
public function editor_save( $user_id ) : void {
- if ( isset( $_POST['signature'] ) ) {
- $sig = $this->format_signature( $_POST['signature'] );
+ if ( ! is_string( $_POST['signature'] ?? null ) || ! is_string( $_POST['gdbbptools_signature_nonce'] ?? null ) ) {
+ return;
+ }
- update_user_meta( $user_id, 'signature', $sig );
+ if ( ! wp_verify_nonce( wp_unslash( $_POST['gdbbptools_signature_nonce'] ), 'gdbbptools_save_signature_' . $user_id ) ) {
+ return;
}
+
+ $sig = $this->format_signature( wp_unslash( $_POST['signature'] ) );
+
+ update_user_meta( $user_id, 'signature', wp_slash( $sig ) );
}
public function reply_content( $content, $reply_id = 0 ) {
@@ -171,7 +227,7 @@
$sig = d4p_bbp_update_shorthand_bbcodes( $signature );
if ( $sig != $signature ) {
- update_user_meta( $user_id, 'signature', $sig, $signature );
+ update_user_meta( $user_id, 'signature', wp_slash( $sig ), $signature );
}
if ( $sig != '' ) {
@@ -180,8 +236,11 @@
$sig = wpautop( $sig );
$sig = shortcode_unautop( $sig );
$sig = do_shortcode( $sig );
+ $sig = $this->sanitize_signature_html( $sig );
- $content .= '<div class="bbp-signature">' . $sig . '</div>';
+ if ( trim( $sig ) !== '' ) {
+ $content .= '<div class="bbp-signature">' . $sig . '</div>';
+ }
}
return $content;
--- a/gd-bbpress-tools/code/mods/toolbar.php
+++ b/gd-bbpress-tools/code/mods/toolbar.php
@@ -167,14 +167,14 @@
$wp_admin_bar->add_menu( array(
'parent' => 'gdbb-toolbar-settings-third',
'id' => 'gdbb-toolbar-settings-third-tools',
- 'title' => __( 'GD bbPress Tools', 'gd-bbpress-tools' ),
+ 'title' => __( 'forumTools for bbPress', 'gd-bbpress-tools' ),
'href' => admin_url( 'edit.php?post_type=forum&page=gdbbpress_tools' ),
) );
if ( defined( 'GDBBPRESSATTACHMENTS_INSTALLED' ) ) {
$wp_admin_bar->add_menu( array(
'parent' => 'gdbb-toolbar-settings-third',
'id' => 'gdbb-toolbar-settings-third-attachments',
- 'title' => __( 'GD bbPress Attachments', 'gd-bbpress-tools' ),
+ 'title' => __( 'forumAttachments for bbPress', 'gd-bbpress-tools' ),
'href' => admin_url( 'edit.php?post_type=forum&page=gdbbpress_attachments' ),
) );
}
--- a/gd-bbpress-tools/code/shared.php
+++ b/gd-bbpress-tools/code/shared.php
@@ -93,6 +93,11 @@
function d4p_is_bbpress() : bool {
$is = d4p_has_bbpress() && is_bbpress();
+ /**
+ * Filters whether the current request is treated as a bbPress page.
+ *
+ * @param bool $is Whether a supported bbPress version recognizes the current page.
+ */
return apply_filters( 'd4p_is_bbpress', $is );
}
}
--- a/gd-bbpress-tools/forms/more/toolbox.php
+++ b/gd-bbpress-tools/forms/more/toolbox.php
@@ -12,17 +12,16 @@
<fieldset class="the-top">
<em><?php esc_html_e( 'consider upgrading to', 'gd-bbpress-tools' ); ?></em>
<h3 style="line-height: 1.5">
- <a title="forumToolbox for bbPress" target="_blank" href="<?php echo esc_url( d4p_url_campaign_tracking( 'https://www.dev4press.com/plugins/gd-bbpress-toolbox/', 'gd-bbpress-attachments-to-pro', 'wordpress', 'free-plugin-admin' ) ); ?>">forumToolbox Pro for bbPress</a>
+ <a title="forumToolbox Pro for bbPress" target="_blank" href="<?php echo esc_url( d4p_url_campaign_tracking( 'https://www.dev4press.com/plugins/gd-bbpress-toolbox/', 'gd-bbpress-attachments-to-pro', 'wordpress', 'free-plugin-admin' ) ); ?>">forumToolbox Pro for bbPress</a>
</h3>
- <em>AKA: GD bbPress Toolbox Pro</em>
<p style="font-weight: bold; font-size: 15px;"><?php esc_html_e( 'Enhancing WordPress forums powered by bbPress', 'gd-bbpress-tools' ); ?></p>
</fieldset>
<a href="<?php echo esc_url( $upgrade_url ); ?>" class="button-primary" style=" margin: 20px 0 0; text-align: center; font-weight: bold; width: 100%; line-height: 3.5; font-size: 1.4em; border-radius: 5px"><?php esc_html_e( 'Upgrade Now', 'gd-bbpress-tools' ); ?></a>
<fieldset>
- <p style="font-weight: bold;"><?php esc_html_e( 'Some of the features you will get with forumToolbox for bbPress', 'gd-bbpress-tools' ); ?></p>
+ <p style="font-weight: bold;"><?php esc_html_e( 'Some of the features you will get with forumToolbox Pro for bbPress', 'gd-bbpress-tools' ); ?></p>
<ul>
<li><?php esc_html_e( 'Enhanced attachments', 'gd-bbpress-tools' ); ?></li>
<li><?php esc_html_e( 'Report Topics and Replies', 'gd-bbpress-tools' ); ?></li>
--- a/gd-bbpress-tools/forms/panels.php
+++ b/gd-bbpress-tools/forms/panels.php
@@ -23,7 +23,7 @@
?>
<div class="wrap">
- <h2>GD bbPress Tools</h2>
+ <h2>forumTools for bbPress</h2>
<div id="icon-tools" class="icon32"><br></div>
<h2 class="nav-tab-wrapper d4p-tabber-ctrl">
<?php
--- a/gd-bbpress-tools/forms/tabs/about.php
+++ b/gd-bbpress-tools/forms/tabs/about.php
@@ -8,7 +8,7 @@
<div class="d4p-information">
<fieldset>
- <h3>GD bbPress Tools <?php echo esc_html( $options["version"] ); ?></h3>
+ <h3>forumTools for bbPress <?php echo esc_html( $options["version"] ); ?></h3>
<?php
$status = ucfirst( $options["status"] );
@@ -33,7 +33,7 @@
esc_html_e( 'PHP: ', 'gd-bbpress-tools' );
echo '<strong>8.0 or newer</strong><br/>';
esc_html_e( 'WordPress: ', 'gd-bbpress-tools' );
- echo '<strong>6.2 or newer</strong><br/>';
+ echo '<strong>6.6 or newer</strong><br/>';
esc_html_e( 'bbPress: ', 'gd-bbpress-tools' );
echo '<strong>2.6.2 or newer</strong>';
@@ -42,8 +42,8 @@
<fieldset>
<h3><?php esc_html_e( 'Important Plugin Links', 'gd-bbpress-tools' ); ?></h3>
- <a target="_blank" href="https://www.dev4press.com/plugins/gd-bbpress-tools/">GD bbPress Tools <?php esc_html_e( 'Home Page', 'gd-bbpress-tools' ); ?></a><br/>
- <a target="_blank" href="https://wordpress.org/extend/plugins/gd-bbpress-tools/">GD bbPress Tools <?php esc_html_e( 'on', 'gd-bbpress-tools' ); ?> WordPress.org</a>
+ <a target="_blank" href="https://www.dev4press.com/plugins/gd-bbpress-tools/">forumTools for bbPress <?php esc_html_e( 'Home Page', 'gd-bbpress-tools' ); ?></a><br/>
+ <a target="_blank" href="https://wordpress.org/extend/plugins/gd-bbpress-tools/">forumTools for bbPress <?php esc_html_e( 'on', 'gd-bbpress-tools' ); ?> WordPress.org</a>
<h3><?php esc_html_e( 'Plugin Support', 'gd-bbpress-tools' ); ?></h3>
<a target="_blank" href="https://support.dev4press.com/forums/forum/plugins-free/gd-bbpress-tools/"><?php esc_html_e( 'Plugin Support Forum on Dev4Press', 'gd-bbpress-tools' ); ?></a><br/>
<h3><?php esc_html_e( 'Dev4Press Important Links', 'gd-bbpress-tools' ); ?></h3>
--- a/gd-bbpress-tools/forms/tabs/d4p.php
+++ b/gd-bbpress-tools/forms/tabs/d4p.php
@@ -1,60 +1,60 @@
-<?php
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit;
-}
-
-?>
-
-<div class="d4p-information">
- <fieldset>
- <h3><?php esc_html_e( 'Premium Plugins for bbPress', 'gd-bbpress-tools' ); ?></h3>
- <a target="_blank" href="https://www.dev4press.com/plugins/gd-bbpress-toolbox/">forumToolbox for bbPress</a><br/>
- <a target="_blank" href="https://www.dev4press.com/plugins/gd-quantum-theme-for-bbpress/">quantumTheme for bbPress</a><br/>
- <a target="_blank" href="https://www.dev4press.com/plugins/gd-forum-notices-for-bbpress/">forumNotices for bbPress</a><br/>
- <a target="_blank" href="https://www.dev4press.com/plugins/gd-power-search-for-bbpress/">powerSearch for bbPress</a><br/>
- <a target="_blank" href="https://www.dev4press.com/plugins/gd-topic-prefix/">topicPrefix for bbPress</a><br/>
- <a target="_blank" href="https://www.dev4press.com/plugins/gd-topic-polls/">topicPolls for bbPress</a><br/>
- </fieldset>
-
- <fieldset>
- <h3><?php esc_html_e( 'Free and Lite Plugins for bbPress', 'gd-bbpress-tools' ); ?></h3>
- <a target="_blank" href="https://www.dev4press.com/plugins/gd-members-directory-for-bbpress/">GD Members Directory</a><br/>
- <a target="_blank" href="https://wordpress.org/plugins/gd-forum-manager-for-bbpress/">GD Forum Manager</a><br/>
- <a target="_blank" href="https://wordpress.org/plugins/gd-bbpress-tools/">GD bbPress Tools</a><br/>
- <a target="_blank" href="https://wordpress.org/plugins/gd-bbpress-attachments/">GD bbPress Attachments</a><br/>
- <a target="_blank" href="https://wordpress.org/plugins/gd-topic-polls/">topicPolls for bbPress (Lite)</a><br/>
- <a target="_blank" href="https://wordpress.org/plugins/gd-power-search-for-bbpress/">powerSearch for bbPress (Lite)</a><br/>
- </fieldset>
-
- <fieldset>
- <h3><?php esc_html_e( 'Other Premium Plugins', 'gd-bbpress-tools' ); ?></h3>
- <a target="_blank" href="https://www.dev4press.com/plugins/coresecurity/">coreSecurity</a><br/>
- <a target="_blank" href="https://www.dev4press.com/plugins/sweeppress/">SweepPress</a><br/>
- <a target="_blank" href="https://www.dev4press.com/plugins/breadcrumbspress/">BreadcrumbsPress</a><br/>
- <a target="_blank" href="https://www.dev4press.com/plugins/gd-knowledge-base/">KnowledgePress</a><br/>
- <a target="_blank" href="https://www.dev4press.com/plugins/gd-mail-queue/">GD Mail Queue</a><br/>
- <a target="_blank" href="https://www.dev4press.com/plugins/gd-content-tools/">GD Content Tools</a><br/>
- <a target="_blank" href="https://www.dev4press.com/plugins/gd-rating-system/">GD Rating System</a>
- </fieldset>
-
- <fieldset>
- <h3><?php esc_html_e( 'More Free Plugins', 'gd-bbpress-tools' ); ?></h3>
- <a target="_blank" href="https://wordpress.org/plugins/coreactivity/">coreActivity</a><br/>
- <a target="_blank" href="https://wordpress.org/plugins/archivespress/">ArchivesPress</a><br/>
- <a target="_blank" href="https://wordpress.org/plugins/gd-rating-system/">GD Rating System</a><br/>
- <a target="_blank" href="https://wordpress.org/plugins/gd-mail-queue/">GD Mail Queue</a><br/>
- <a target="_blank" href="https://wordpress.org/plugins/gd-pages-navigator/">GD Pages Navigator</a><br/>
- <a target="_blank" href="https://wordpress.org/plugins/gd-security-headers/">GD Security Headers</a>
- </fieldset>
-</div>
-<div class="d4p-information-second">
- <?php include( GDBBPRESSTOOLS_PATH . 'forms/more/toolbox.php' ); ?>
-</div>
-
-<div class="d4p-clear"></div>
-
-<div class="d4p-copyright">
- Dev4Press © 2008 - 2026
- <a target="_blank" href="https://www.dev4press.com">www.dev4press.com</a>
-</div>
+<?php
+
+if ( ! defined( 'ABSPATH' ) ) {
+ exit;
+}
+
+?>
+
+<div class="d4p-information">
+ <fieldset>
+ <h3><?php esc_html_e( 'Premium Plugins for bbPress', 'gd-bbpress-tools' ); ?></h3>
+ <a target="_blank" href="https://www.dev4press.com/plugins/gd-bbpress-toolbox/">forumToolbox Pro for bbPress</a><br/>
+ <a target="_blank" href="https://www.dev4press.com/plugins/gd-quantum-theme-for-bbpress/">quantumTheme for bbPress</a><br/>
+ <a target="_blank" href="https://www.dev4press.com/plugins/gd-forum-notices-for-bbpress/">forumNotices for bbPress</a><br/>
+ <a target="_blank" href="https://www.dev4press.com/plugins/gd-power-search-for-bbpress/">powerSearch for bbPress</a><br/>
+ <a target="_blank" href="https://www.dev4press.com/plugins/gd-topic-prefix/">topicPrefix for bbPress</a><br/>
+ <a target="_blank" href="https://www.dev4press.com/plugins/gd-topic-polls/">topicPolls for bbPress</a><br/>
+ </fieldset>
+
+ <fieldset>
+ <h3><?php esc_html_e( 'Free and Lite Plugins for bbPress', 'gd-bbpress-tools' ); ?></h3>
+ <a target="_blank" href="https://www.dev4press.com/plugins/gd-members-directory-for-bbpress/">membersDirectory for bbPress</a><br/>
+ <a target="_blank" href="https://wordpress.org/plugins/gd-forum-manager-for-bbpress/">forumManager for bbPress</a><br/>
+ <a target="_blank" href="https://wordpress.org/plugins/gd-bbpress-tools/">forumTools for bbPress</a><br/>
+ <a target="_blank" href="https://wordpress.org/plugins/gd-bbpress-attachments/">forumAttachments for bbPress</a><br/>
+ <a target="_blank" href="https://wordpress.org/plugins/gd-topic-polls/">topicPolls for bbPress (Lite)</a><br/>
+ <a target="_blank" href="https://wordpress.org/plugins/gd-power-search-for-bbpress/">powerSearch for bbPress (Lite)</a><br/>
+ </fieldset>
+
+ <fieldset>
+ <h3><?php esc_html_e( 'Other Premium Plugins', 'gd-bbpress-tools' ); ?></h3>
+ <a target="_blank" href="https://www.dev4press.com/plugins/coresecurity/">coreSecurity</a><br/>
+ <a target="_blank" href="https://www.dev4press.com/plugins/sweeppress/">SweepPress</a><br/>
+ <a target="_blank" href="https://www.dev4press.com/plugins/breadcrumbspress/">BreadcrumbsPress</a><br/>
+ <a target="_blank" href="https://www.dev4press.com/plugins/gd-knowledge-base/">KnowledgePress</a><br/>
+ <a target="_blank" href="https://www.dev4press.com/plugins/gd-mail-queue/">GD Mail Queue</a><br/>
+ <a target="_blank" href="https://www.dev4press.com/plugins/gd-content-tools/">GD Content Tools</a><br/>
+ <a target="_blank" href="https://www.dev4press.com/plugins/gd-rating-system/">GD Rating System</a>
+ </fieldset>
+
+ <fieldset>
+ <h3><?php esc_html_e( 'More Free Plugins', 'gd-bbpress-tools' ); ?></h3>
+ <a target="_blank" href="https://wordpress.org/plugins/coreactivity/">coreActivity</a><br/>
+ <a target="_blank" href="https://wordpress.org/plugins/archivespress/">ArchivesPress</a><br/>
+ <a target="_blank" href="https://wordpress.org/plugins/gd-rating-system/">GD Rating System</a><br/>
+ <a target="_blank" href="https://wordpress.org/plugins/gd-mail-queue/">GD Mail Queue</a><br/>
+ <a target="_blank" href="https://wordpress.org/plugins/gd-pages-navigator/">GD Pages Navigator</a><br/>
+ <a target="_blank" href="https://wordpress.org/plugins/gd-security-headers/">GD Security Headers</a>
+ </fieldset>
+</div>
+<div class="d4p-information-second">
+ <?php include( GDBBPRESSTOOLS_PATH . 'forms/more/toolbox.php' ); ?>
+</div>
+
+<div class="d4p-clear"></div>
+
+<div class="d4p-copyright">
+ Dev4Press © 2008 - 2026
+ <a target="_blank" href="https://www.dev4press.com">www.dev4press.com</a>
+</div>
--- a/gd-bbpress-tools/forms/tabs/views.php
+++ b/gd-bbpress-tools/forms/tabs/views.php
@@ -1,86 +1,86 @@
-<?php
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit;
-}
-
-$options = $options ?? array();
-$_user_roles = $_user_roles ?? array();
-
-?>
-
-<?php if ( isset( $_GET["settings-updated"] ) && $_GET["settings-updated"] == "true" ) { ?>
- <div class="updated settings-error" id="setting-error-settings_updated">
- <p><strong><?php esc_html_e( 'Settings saved.', 'gd-bbpress-tools' ); ?></strong></p>
- </div>
-<?php } ?>
-
-<form action="" method="post">
- <?php wp_nonce_field( "gd-bbpress-tools" ); ?>
- <div class="d4p-settings">
- <fieldset>
- <h3><?php esc_html_e( 'Topic Views', 'gd-bbpress-tools' ); ?></h3>
- <p><?php esc_html_e( 'Topic Views are core bbPress feature, and GD bbPress Tools plugin only registers new views. If you have not used views before, best way to start is by using 'bbPress Topic Views List' widget that will display all registered views.', 'gd-bbpress-tools' ); ?></p>
- </fieldset>
-
- <fieldset>
- <h3><?php esc_html_e( 'Topics with most replies', 'gd-bbpress-tools' ); ?></h3>
- <p><?php esc_html_e( 'This view will show list of topics with most replies.', 'gd-bbpress-tools' ); ?></p>
- <table class="form-table">
- <tbody>
- <tr>
- <th scope="row"><label for="view_mostreplies_active"><?php esc_html_e( 'Active', 'gd-bbpress-tools' ); ?></label></th>
- <td>
- <input type="checkbox" <?php if ( $options["view_mostreplies_active"] == 1 ) {
- echo " checked";
- } ?> id="view_mostreplies_active" name="view_mostreplies_active"/>
- </td>
- </tr>
- </tbody>
- </table>
- </fieldset>
-
- <fieldset>
- <h3><?php esc_html_e( 'Latest Topics', 'gd-bbpress-tools' ); ?></h3>
- <p><?php esc_html_e( 'This view will show list of topics starting with latest ones.', 'gd-bbpress-tools' ); ?></p>
- <table class="form-table">
- <tbody>
- <tr>
- <th scope="row"><label for="view_latesttopics_active"><?php esc_html_e( 'Active', 'gd-bbpress-tools' ); ?></label></th>
- <td>
- <input type="checkbox" <?php if ( $options["view_latesttopics_active"] == 1 ) {
- echo " checked";
- } ?> id="view_latesttopics_active" name="view_latesttopics_active"/>
- </td>
- </tr>
- </tbody>
- </table>
- </fieldset>
-
- <fieldset>
- <h3><?php esc_html_e( 'Topics by freshness', 'gd-bbpress-tools' ); ?></h3>
- <p><?php esc_html_e( 'This view will show list of topics ordered by freshness (latest activity).', 'gd-bbpress-tools' ); ?></p>
- <table class="form-table">
- <tbody>
- <tr>
- <th scope="row"><label for="view_topicsfreshness_active"><?php esc_html_e( 'Active', 'gd-bbpress-tools' ); ?></label></th>
- <td>
- <input type="checkbox" <?php if ( $options["view_topicsfreshness_active"] == 1 ) {
- echo " checked";
- } ?> id="view_topicsfreshness_active" name="view_topicsfreshness_active"/>
- </td>
- </tr>
- </tbody>
- </table>
- </fieldset>
-
- <p class="submit">
- <input type="submit" value="<?php esc_html_e( 'Save Changes', 'gd-bbpress-tools' ); ?>" class="button-primary gdbb-tools-submit" id="gdbb-views-submit" name="gdbb-views-submit"/>
- </p>
- </div>
- <div class="d4p-settings-second">
- <?php include( GDBBPRESSTOOLS_PATH . 'forms/more/toolbox.php' ); ?>
- </div>
-
- <div class="d4p-clear"></div>
-</form>
+<?php
+
+if ( ! defined( 'ABSPATH' ) ) {
+ exit;
+}
+
+$options = $options ?? array();
+$_user_roles = $_user_roles ?? array();
+
+?>
+
+<?php if ( isset( $_GET["settings-updated"] ) && $_GET["settings-updated"] == "true" ) { ?>
+ <div class="updated settings-error" id="setting-error-settings_updated">
+ <p><strong><?php esc_html_e( 'Settings saved.', 'gd-bbpress-tools' ); ?></strong></p>
+ </div>
+<?php } ?>
+
+<form action="" method="post">
+ <?php wp_nonce_field( "gd-bbpress-tools" ); ?>
+ <div class="d4p-settings">
+ <fieldset>
+ <h3><?php esc_html_e( 'Topic Views', 'gd-bbpress-tools' ); ?></h3>
+ <p><?php esc_html_e( 'Topic Views are core bbPress feature, and forumTools for bbPress only registers new views. If you have not used views before, best way to start is by using 'bbPress Topic Views List' widget that will display all registered views.', 'gd-bbpress-tools' ); ?></p>
+ </fieldset>
+
+ <fieldset>
+ <h3><?php esc_html_e( 'Topics with most replies', 'gd-bbpress-tools' ); ?></h3>
+ <p><?php esc_html_e( 'This view will show list of topics with most replies.', 'gd-bbpress-tools' ); ?></p>
+ <table class="form-table">
+ <tbody>
+ <tr>
+ <th scope="row"><label for="view_mostreplies_active"><?php esc_html_e( 'Active', 'gd-bbpress-tools' ); ?></label></th>
+ <td>
+ <input type="checkbox" <?php if ( $options["view_mostreplies_active"] == 1 ) {
+ echo " checked";
+ } ?> id="view_mostreplies_active" name="view_mostreplies_active"/>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </fieldset>
+
+ <fieldset>
+ <h3><?php esc_html_e( 'Latest Topics', 'gd-bbpress-tools' ); ?></h3>
+ <p><?php esc_html_e( 'This view will show list of topics starting with latest ones.', 'gd-bbpress-tools' ); ?></p>
+ <table class="form-table">
+ <tbody>
+ <tr>
+ <th scope="row"><label for="view_latesttopics_active"><?php esc_html_e( 'Active', 'gd-bbpress-tools' ); ?></label></th>
+ <td>
+ <input type="checkbox" <?php if ( $options["view_latesttopics_active"] == 1 ) {
+ echo " checked";
+ } ?> id="view_latesttopics_active" name="view_latesttopics_active"/>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </fieldset>
+
+ <fieldset>
+ <h3><?php esc_html_e( 'Topics by freshness', 'gd-bbpress-tools' ); ?></h3>
+ <p><?php esc_html_e( 'This view will show list of topics ordered by freshness (latest activity).', 'gd-bbpress-tools' ); ?></p>
+ <table class="form-table">
+ <tbody>
+ <tr>
+ <th scope="row"><label for="view_topicsfreshness_active"><?php esc_html_e( 'Active', 'gd-bbpress-tools' ); ?></label></th>
+ <td>
+ <input type="checkbox" <?php if ( $options["view_topicsfreshness_active"] == 1 ) {
+ echo " checked";
+ } ?> id="view_topicsfreshness_active" name="view_topicsfreshness_active"/>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </fieldset>
+
+ <p class="submit">
+ <input type="submit" value="<?php esc_html_e( 'Save Changes', 'gd-bbpress-tools' ); ?>" class="button-primary gdbb-tools-submit" id="gdbb-views-submit" name="gdbb-views-submit"/>
+ </p>
+ </div>
+ <div class="d4p-settings-second">
+ <?php include( GDBBPRESSTOOLS_PATH . 'forms/more/toolbox.php' ); ?>
+ </div>
+
+ <div class="d4p-clear"></div>
+</form>
--- a/gd-bbpress-tools/forms/tools/signature_bbpress.php
+++ b/gd-bbpress-tools/forms/tools/signature_bbpress.php
@@ -1,24 +1,39 @@
-<?php
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit;
-}
-
-?>
-
-<h2 class="entry-title"><?php bbp_is_user_home() ? esc_html_e( 'Your Forum Signature', 'gd-bbpress-tools' ) : esc_html_e( 'User Forum Signature', 'gd-bbpress-tools' ); ?></h2>
-<fieldset class="bbp-form">
- <legend><?php bbp_is_user_home() ? esc_html_e( 'Your Forum Signature', 'gd-bbpress-tools' ) : esc_html_e( 'User Forum Signature', 'gd-bbpress-tools' ); ?></legend>
- <?php do_action( 'bbp_user_edit_before_signature' ); ?>
- <div>
- <label for="signature"><?php esc_html_e( 'Signature', 'gd-bbpress-tools' ); ?></label>
- <fieldset class="bbp-form">
- <textarea name="signature" id="signature" rows="5" cols="30" style="width: 100%;"><?php echo esc_textarea( $_signature ?? '' ); ?></textarea>
- <span class="description">
- <?php echo sprintf( esc_html__( 'Signature length is limited to %s characters.', 'gd-bbpress-tools' ), ( $this->max_length ?? 512 ) ); ?><br/>
- <?php do_action( 'bbp_user_edit_signature_info' ); ?>
- </span>
- </fieldset>
- </div>
- <?php do_action( 'bbp_user_edit_after_signature' ); ?>
-</fieldset>
+<?php
+
+if ( ! defined( 'ABSPATH' ) ) {
+ exit;
+}
+
+?>
+
+<h2 class="entry-title"><?php bbp_is_user_home() ? esc_html_e( 'Your Forum Signature', 'gd-bbpress-tools' ) : esc_html_e( 'User Forum Signature', 'gd-bbpress-tools' ); ?></h2>
+<fieldset class="bbp-form">
+ <legend><?php bbp_is_user_home() ? esc_html_e( 'Your Forum Signature', 'gd-bbpress-tools' ) : esc_html_e( 'User Forum Signature', 'gd-bbpress-tools' ); ?></legend>
+ <?php
+ /**
+ * Fires inside the bbPress signature editor, before the signature field.
+ */
+ do_action( 'bbp_user_edit_before_signature' );
+ ?>
+ <div>
+ <label for="signature"><?php esc_html_e( 'Signature', 'gd-bbpress-tools' ); ?></label>
+ <fieldset class="bbp-form">
+ <textarea name="signature" id="signature" rows="5" cols="30" style="width: 100%;"><?php echo esc_textarea( $_signature ?? '' ); ?></textarea>
+ <span class="description">
+ <?php echo sprintf( esc_html__( 'Signature length is limited to %s characters.', 'gd-bbpress-tools' ), ( $this->max_length ?? 512 ) ); ?><br/>
+ <?php
+ /**
+ * Fires after the signature length notice in bbPress and BuddyPress profile forms.
+ */
+ do_action( 'bbp_user_edit_signature_info' );
+ ?>
+ </span>
+ </fieldset>
+ </div>
+ <?php
+ /**
+ * Fires inside the bbPress signature editor, after the signature field and its description.
+ */
+ do_action( 'bbp_user_edit_after_signature' );
+ ?>
+</fieldset>
--- a/gd-bbpress-tools/forms/tools/signature_buddypress.php
+++ b/gd-bbpress-tools/forms/tools/signature_buddypress.php
@@ -1,16 +1,19 @@
-<?php
-
-if ( ! defined( 'ABSPATH' ) ) {
- exit;
-}
-
-?>
-
-<div>
- <label for="signature"><?php esc_html_e( 'Forum Signature', 'gd-bbpress-tools' ); ?></label>
- <textarea name="signature" id="signature" rows="5" cols="30"><?php echo esc_textarea( $_signature ?? '' ); ?></textarea><br/>
- <span class="description">
- <?php echo sprintf( esc_html__( 'Signature length is limited to %s characters.', 'gd-bbpress-tools' ), ( $this->max_length ?? 512 ) ); ?><br/>
- <?php do_action( 'bbp_user_edit_signature_info' ); ?>
- </span>
-</div>
+<?php
+
+if ( ! defined( 'ABSPATH' ) ) {
+ exit;
+}
+
+?>
+
+<div>
+ <label for="signature"><?php esc_html_e( 'Forum Signature', 'gd-bbpress-tools' ); ?></label>
+ <textarea name="signature" id="signature" rows="5" cols="30"><?php echo esc_textarea( $_signature ?? '' ); ?></textarea><br/>
+ <span class="description">
+ <?php echo sprintf( esc_html__( 'Signature length is limited to %s characters.', 'gd-bbpress-tools' ), ( $this->max_length ?? 512 ) ); ?><br/>
+ <?php
+ /** This action is documented in forms/tools/signature_bbpress.php. */
+ do_action( 'bbp_user_edit_signature_info' );
+ ?>
+ </span>
+</div>
--- a/gd-bbpress-tools/gd-bbpress-tools.php
+++ b/gd-bbpress-tools/gd-bbpress-tools.php
@@ -1,15 +1,15 @@
<?php
/**
- * Plugin Name: GD bbPress Tools
+ * Plugin Name: forumTools for bbPress
* Plugin URI: https://www.dev4press.com/plugins/gd-bbpress-tools/
* Description: Adds different expansions and tools to the bbPress plugin powered forums: BBCode support, signatures, various tweaks, custom views, quote...
* Author: Milan Petrovic
* Author URI: https://www.dev4press.com/
* Text Domain: gd-bbpress-tools
- * Version: 4.0.1
- * Requires at least: 6.2
- * Tested up to: 7.0
+ * Version: 4.1
+ * Requires at least: 6.4
+ * Tested up to: 7.2
* Requires PHP: 8.0
* Requires Plugins: bbpress
* License: GPLv3 or later