Notifications
Clear all

wpForo 1.x.x [Solved] Spurious question marks in widget and in other texts

7 Posts
4 Users
2 Reactions
1,051 Views
Posts: 133
Topic starter
(@cmw14)
Estimable Member
Joined: 9 years ago

Since performing the update the "recent posts" widget is now showing spurious question marks after emoji's (see attachment). This fault was not present before.

Β 

Β 

6 Replies
2 Replies
(@percysgrowroom)
Joined: 6 years ago

Noble Member
Posts: 1215
Posted by: @cmw14

Since performing the update the "recent posts" widget is now showing spurious question marks after emoji's (see attachment). This fault was not present before.

Β 

Β 

Im having the same problemΒ 

Β 

VereK
(@verek)
Joined: 7 years ago

Honorable Member
Posts: 522
Posted by: @cmw14

Since performing the update the "recent posts" widget is now showing spurious question marks after emoji's (see attachment). This fault was not present before.

Β 

Β 

Looks like spaces are not being escaped?

Robert
Posts: 10606
Admin
(@robert)
Support Team
Joined: 9 years ago

Hi @cmw14, @percysgrowroom and @verek

Could you please try to remove one line of code from /wp-content/plugins/wpforo/wpf-includes/functions.php file and see if the issue is fixed?

Please find this line and remove it:

$text = trim( str_replace("\xA0", ' ', $text ) );

Then delete all caches and test it again.

1 Reply
VereK
(@verek)
Joined: 7 years ago

Honorable Member
Posts: 522

@robert

That fixed it Robert

Robert
Posts: 10606
Admin
(@robert)
Support Team
Joined: 9 years ago

This issue should be fixed with 1.6.4

Posts: 133
Topic starter
(@cmw14)
Estimable Member
Joined: 9 years ago
Posted by: @robert

Hi

Could you please try to remove one line of code from /wp-content/plugins/wpforo/wpf-includes/functions.php file and see if the issue is fixed?

Worked perfect for me too, thanks 👍Β