Merge branch '3.3.x'

This commit is contained in:
Marc Alexander 2022-03-16 16:23:23 +01:00
commit 7641376277
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -1245,7 +1245,7 @@ function mcp_delete_post($post_ids, $is_soft = false, $soft_delete_reason = '',
else
{
// Remove any post id anchor
if ($anchor_pos = (strrpos($redirect, '#p')) !== false)
if (($anchor_pos = strrpos($redirect, '#p')) !== false)
{
$redirect = substr($redirect, 0, $anchor_pos);
}