Skip to content

Unnecessary files included in static files #81

@crstauf

Description

@crstauf

When generating the static files, PHP files (within the theme) are created, but only with error output (there's no error when viewing the template).

There are various types of errors:

  • Call to undefined function get_header()
  • Call to undefined function query_posts()
  • Call to undefined function locate_template()
  • Undefined variable $wp_query
  • Call to undefined function wp_style_is()

Additionally, some admin CSS files for plugins are also being included in the static files.

Discovered with v6.6.16; tried with master, but autoloader isn't working...?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions