Skip to content

40 pagetitle#41

Open
leonstr wants to merge 2 commits intobmbrands:masterfrom
leonstr:40-pagetitle
Open

40 pagetitle#41
leonstr wants to merge 2 commits intobmbrands:masterfrom
leonstr:40-pagetitle

Conversation

@leonstr
Copy link
Copy Markdown

@leonstr leonstr commented Aug 15, 2024

Proposed fix for #40

I've used $PAGE->title for the 'title' property. For a course section page with edit mode enabled this has a value like "Edit Section: New section | My first course | Test Site". I've dropped the use of format_string() as surely (!) $PAGE->title doesn't need any filters applying.

leonstr added 2 commits July 2, 2024 13:12
Migrate local_analytics_before_http_headers() and
local_analytics_before_footer() to hooks to reflect change in Moodle
4.4 (see MDL-81144).
Fix the "'' string literal contains an unescaped line break" JavaScript
error on course section pages when edit mode is enabled.
@aspark21
Copy link
Copy Markdown

@bmbrands the fix for 38 (hooks) was merged but not this one about JavaScript it seems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants