Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-29540

Please can we have the new constants from MDL-29401 back-ported to all 2.x branches

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Minor Minor
    • None
    • 2.0.4, 2.1.1
    • Libraries
    • None
    • MOODLE_20_STABLE, MOODLE_21_STABLE
    • Hide

      Make a simple test script that uses optional_param(..., PARAM_COMPONENT) and so on, and make sure it works in 2.0 and 2.1

      Show
      Make a simple test script that uses optional_param(..., PARAM_COMPONENT) and so on, and make sure it works in 2.0 and 2.1

      For those of us writing third-party plugins, it would be helpful if we could start using the new PARAM_COMPONENT, PARAM_AREA and PARAM_PLUGIN straight away.

      Therefore, please can we these constants defined in 2.0 and 2.1? One option is just to define the constants (make them equal to PARAM_ALNUMEXT or something).

      An alternative would be to also back-port the changes to clean_param.

      Another advantage of this is that we will be less likely to get regressions when people cherry-pick bug fixes from master to the stable branches.

            skodak Petr Skoda
            timhunt Tim Hunt
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.