don't replace title on custom mailpoet pages
This commit is contained in:
@@ -88,6 +88,9 @@ class Pages {
|
|||||||
|
|
||||||
function setPageTitle($page_title = '') {
|
function setPageTitle($page_title = '') {
|
||||||
global $post;
|
global $post;
|
||||||
|
|
||||||
|
if($post->post_title !== __('MailPoet Page')) return $page_title;
|
||||||
|
|
||||||
if(
|
if(
|
||||||
($this->isMailPoetPage($post->ID) === false)
|
($this->isMailPoetPage($post->ID) === false)
|
||||||
||
|
||
|
||||||
|
Reference in New Issue
Block a user