Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sitemap XML broken by custom styles #42

Open
cfoellmann opened this issue May 8, 2020 · 0 comments
Open

Sitemap XML broken by custom styles #42

cfoellmann opened this issue May 8, 2020 · 0 comments

Comments

@cfoellmann
Copy link
Collaborator

We need to properly include styles the WordPress way.

Temporary fix by Aaron via mail:


public static function customStyles(){
if( defined("REST_REQUEST") && REST_REQUEST == true ) return;
if ( in_array( 'Content-type: text/xml;charset=UTF-8', headers_list() ) ) return;

But that is just a hotfix

cfoellmann added a commit that referenced this issue May 14, 2020
#42 describes broken xml sitemaps due to styles applied to these files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant