Skip to content

add flag to enable global instance only when enabled by wordpress #2

@goatherd

Description

@goatherd

The recommended usage is to prepend initialisation to index.php but does not allow to not-minify content if wordpress fails to load.

This may be undesired and should be made customisable like:

  • on Minify::pluginInit() allow to set a not-enabled flag
  • on Minify::wordpressInit() override the flag
  • additionally may use wp-options to set default behaviour for Minify::wordpressInit().

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions