Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use moodle_url to generate links in wiki history page #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 20, 2017

  1. Use moodle_url to generate links in wiki history page

    In M3.4+, MDL-59388 has changed how the link_arrow_[left|right]
    functions render URLs. If it's passed a plain url with pre-escaped
    ampersands in it, these now get double escaped.
    
    To remedy this, proper moodle_url objects should be used for handling
    the printing of urls. This change updates the links used in the
    wikihistory page to use that API for all its urls.
    
    This way the code change is compatible with earlier versions of Moodle
    as well as 3.4+.
    
    There is no functional change for the end user.
    aolley committed Sep 20, 2017
    Configuration menu
    Copy the full SHA
    6d334f3 View commit details
    Browse the repository at this point in the history