Last Update Breaks Post Widget
-
Line 713 of co-authors-plus.php was added during the last update and contains an incorrect preg_replace pattern. The code as it is tries to match the following:
‘…post_author\s*IN\s*(.*’ . $id . ‘.)/’
When it should actually be trying to match:
‘…post_author\s*IN\s*\(.*’ . $id . ‘.\)/’
Note the escaped parentheses. This is breaking the query for the Recent Custom Post Type widget that we use.
- The topic ‘Last Update Breaks Post Widget’ is closed to new replies.