Square Brackets Bei...
 
Notifications
Clear all

Limited Support

Our support team is currently on holiday from December 25, 2025 to January 7, 2026, and replies may be delayed during this period.

We appreciate your patience and understanding while our team is away. Thank you for being part of the wpForo community!

Merry Christmas and Happy Holidays! πŸŽ„

wpForo 1.x.x [Solved] Square Brackets Being Removed From Title

4 Posts
2 Users
1 Reactions
1,653 Views
Posts: 22
Topic starter
(@jdobbsy1987)
Eminent Member
Joined: 6 years ago

When we use square brackets in titles it is removed after clicking post.

Β 

i.e Title [Genera] This is a test post becomes This is a test post without the [General].

Β 

How can we make it remain? if we use HTML code such as

Β 

&#'91; test &#'93; without the ' 

Β 

This it shows but doing this is a pain


3 Replies
Sofy
Posts: 5637
 Sofy
Admin
(@sofy)
Support Team
Joined: 8 years ago

Hi @jdobbsy1987,

I'll ask developers and let you know asap.Β 


Posts: 22
Topic starter
(@jdobbsy1987)
Eminent Member
Joined: 6 years ago

Thank you


1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5637

@jdobbsy1987

This issue will be fixed in the next version release. If you need to fix it asap please follow the steps below:

1. Open the wp-content/plugins/wpforo/wpf-includes/functions.php file

2. FindΒ this code and remove it:

$text = preg_replace('#\[[^\]]+\]#', '', $text);