fix for a page title error

The same error as https://core.trac.wordpress.org/ticket/16468