- Minor adjustment to the shortcodes logic

This commit is contained in:
Vlad
2016-03-20 11:37:59 -04:00
parent 6ec15bec22
commit 42c4139ba5
3 changed files with 6 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ class Newsletter {
break;
case 'total':
return substr_count($text, 'mailpoet_alc_post');
return substr_count($text, 'data-post-id');
break;
case 'post_title':