panels_page_edit_export() sets an empty title, if the panels page doesn't provide one. It should instead use panels_page_get_title, so in this case "No title" is set. This is what other administrative pages do as well.
Also, when importing a panel page that doesn't provide a title, the page title reads Import panel page ""
The enclosed patch fixes this.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | panels_page_get_title_3.patch | 1.55 KB | pancho |
| panels_page_get_title.patch | 1.51 KB | pancho |
Comments
Comment #1
panchoStill applies with some offset.
Bumping this to get reviewed.
Comment #2
panchoStill applies with some offset.
Comment #3
panchoRerolled after #264122: Import fails: non-stdClass object in $_SESSION['pp_import'] has been committed.
Comment #4
panchoNot yet complete. On some admin pages there is still absolutely no title set.
Comment #5
kimadactyl commentedPersonally I'd rather if I didnt set a title, there was no title not "no title" :)
Comment #6
esmerel commentedNo fixes will be added to the 2.x line.