- Fixes incorrect newsletter issue number display
- Updates newsletter 'last post title' logic - Updates shortcode extraction regex to allow limiting extraction of only specific categories - Updates unit tests - Closes #380
This commit is contained in:
@ -25,7 +25,7 @@ class Links {
|
||||
. ')\\1#';
|
||||
preg_match_all($regex, $text, $links);
|
||||
$shortcodes = new Shortcodes();;
|
||||
$shortcodes = $shortcodes->extract($text);
|
||||
$shortcodes = $shortcodes->extract($text, $limit = array('subscription'));
|
||||
return array_merge(
|
||||
array_unique($links[2]),
|
||||
$shortcodes
|
||||
|
Reference in New Issue
Block a user