Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum wpForo Support Forum

bug in the wpforotpx.php


Tutrix
Posts: 26
Customer
Topic starter
(@tutrix)
Member
Joined: 1 year ago

there is an bug in the wpforotpx.php at line 900 and 902

 if( ( !$view && $prefixid ) || ( $view === 'prefix' && $prefixid ) ){
	 $page_title = wpforo_phrase('Topic Prefix', false) . '<sep> &nbsp/&nbsp </sep>' . $this->prefix( $prefixid ) . $remove_filter;
 } elseif( $view != 'prefix' && isset($args['prefixid']) ){
	 $page_title = $page_title . '<sep> &nbsp/&nbsp </sep>' . $this->prefix( $prefixid ) . $remove_filter;

<sep> &nbsp/&nbsp </sep>

should be

<sep> &nbsp;/&nbsp; </sep>

2 Replies
Tom
Posts: 3678
 Tom
Admin
(@tomson)
Support Team
Joined: 6 years ago

Hi @tutrix,

Thank you for letting us know, we'll fix this in the next version.

Reply
Tutrix
Posts: 26
Customer
Topic starter
(@tutrix)
Member
Joined: 1 year ago

the bug is also present in the new version

		public function display_recent_page_head( $page_title, $args = array(), $view = '' ) {
			$prefixid = (int) wpfval($args, 'prefixid');
			$base_url = wpforo_home_url(wpforo_get_template_slug('recent')) . '?view=' . $view;
			$remove_filter = '<a href="' . esc_url($base_url) . '" class="wpf-remove-tpx-filter" title="' . wpforo_phrase('Remove filter by topic prefix', false) . '"><i class="fas fa-times"></i></a>';
			if( ( !$view && $prefixid ) || ( $view === 'prefix' && $prefixid ) ){
				$page_title = wpforo_phrase('Topic Prefix', false) . '<sep> &nbsp/&nbsp </sep>' . $this->prefix( $prefixid ) . $remove_filter;
			} elseif( $view != 'prefix' && isset($args['prefixid']) ){
				$page_title = $page_title . '<sep> &nbsp/&nbsp </sep>' . $this->prefix( $prefixid ) . $remove_filter;
			}
			return $page_title;
		}
Reply
Share:
Scroll to top