Skip to content

Make get_validated_url_file_path function compatible with non-static files #1849

@aristath

Description

@aristath

In some cases and projects we need to dynamically generate CSS.
If the URL is domain.com/?action=my-theme-get-styles&foo=bar and not a static file like domain.com/something.css then the validation fails due to the missing file extension and the CSS never gets parsed by AMP

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions