Add rule for concatenation operator spacing

[MAILPOET-2090]
This commit is contained in:
Pavel Dohnal
2019-05-20 14:12:31 +02:00
committed by M. Shull
parent 12ff88ee21
commit 5d64ec168d
61 changed files with 273 additions and 267 deletions

View File

@ -61,7 +61,7 @@ class PostContentManager {
$content = strip_tags($content, implode('', $tags_not_being_stripped));
if ($with_post_class) {
$content = str_replace('<p', '<p class="' . self::WP_POST_CLASS .'"', WPFunctions::get()->wpautop($content));
$content = str_replace('<p', '<p class="' . self::WP_POST_CLASS . '"', WPFunctions::get()->wpautop($content));
} else {
$content = WPFunctions::get()->wpautop($content);
}
@ -107,7 +107,7 @@ class PostContentManager {
// remove embedded video and replace with links
$content = preg_replace(
'#<iframe.*?src=\"(.+?)\".*><\/iframe>#',
'<a href="$1">'.__('Click here to view media.', 'mailpoet').'</a>',
'<a href="$1">' . __('Click here to view media.', 'mailpoet') . '</a>',
$content
);