Skip to content

$prefs and $pretext are extracted globally #545

Description

@vanmelick

Proposal:

  • Don't extract $prefs and $pretext globally. This gets rid of around 75% of all global vars in TXP.
  • Don't use 'global $prefs' in functions, replace it with get_prefs() calls (as is done in a lot of cases already)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions