Page title check plained twice, seems the mistake here:
First example:
in /sites/all/modules/contrib/ctools/page_manager/plugins/tasks/page.inc
$subtask = array(
'name' => $page->name,
'admin title' => check_plain($page->admin_title),
'admin description' => filter_xss_admin($page->admin_description),
'admin summary' => 'page_manager_page_admin_summary',
Title sets with check_plain.
in /sites/all/modules/contrib/ctools/page_manager/page_manager.admin.inc
/**
* Render the edit page for a a page, custom or system.
*/
function page_manager_edit_page($page) {
drupal_set_title($page->subtask['admin title']);
// Provide and process the save page form before anything else.
$form_state = array('page' => &$page);
Here used function drupal_set_title without "PASS_THROUGH" flag, so check plained in second time.
Second example:
drupal_set_title(t('Create @name', array('@name' => $types[$type]->name)));
I think it is mistake here.
Same mistakes in other places.
So therefore we see not correct page title.
Comments
Comment #1
samvel commentedI did patch
* but i not sure about one place:
in /sites/all/modules/contrib/ctools/includes/page-wizard.inc
Comment #1.0
samvel commentedRefactoring description
Comment #2
samvel commentedup!
Comment #2.0
samvel commentedRefactoring issue description
Comment #3
dsnopekMarking this patch as used in Panopoly.
Comment #4
dsnopekMarking as RTBC since we've been using this for a while!
Comment #6
japerryFixed! thanks for the patch and the review!
Comment #7
japerryComment #8
dsnopekWoohoo! Thanks. :-)
Comment #10
samvel commentedThanks