62.6 F
Los Angeles
Friday, February 3, 2023

Apple March 8, 2022 Event

Apple announced several products during their March 8, 2022, event. Studio Display Mac Studio iPad air iPhone SE iPhone 13 and 13 Pro color addition Some of the products will...

Eastman files motion for exculpatory information and continuance

In response to the January 6 Select Committee Brief to Eastman Privilege Assertions, Eastman has filed a new motion with the court. A request for the court to require...

February 2022 Employment Report

U.S. Bureau of Labor Statistics reported today that total nonfarm payroll employment rose by 678,000. The unemployment rate edged down to 3.8 percent The employment number exceeded forecasts The...

Thread links in WP Multisite Changed

The code to show thread links at the bottom of each WordPress story has been modified.

//function to be used in templates to display a link to the XenForo thread
function xenforo_thread_url()
{
global $XF;

if($XF->useXenForoCommentHandler() && isset($XF->post->thread_id) && $XF->post->thread_id != '0')
{
$link = '/community/threads/' . $XF->post->thread_id . '/';
return $link;
}
else
{
return '';
}
}

Instead of $XF->createLink the $link was hard coded to /community/threads/. This makes sure that the domain name is not included in the link.

Related Stories

Exit mobile version