don't replace title on custom mailpoet pages

This commit is contained in:
Jonathan Labreuille
2016-03-24 13:36:50 +01:00
parent f082c065d1
commit f15374de43

View File

@@ -88,6 +88,9 @@ class Pages {
function setPageTitle($page_title = '') {
global $post;
if($post->post_title !== __('MailPoet Page')) return $page_title;
if(
($this->isMailPoetPage($post->ID) === false)
||