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

Class name output in link rel next and prev with WP5.1 #2189

Closed
wpsmort opened this issue Feb 11, 2019 · 0 comments

Comments

Projects
None yet
3 participants
@wpsmort
Copy link
Member

commented Feb 11, 2019

Whilst testing the current version of AIOSEOP on WordPress v5.1 RC1 (https://wordpress.org/news/2019/02/wordpress-5-1-release-candidate/) I found an issue with the rel next and prev links on paginated content. When you view the links in the source code they have %20class=post-page-numbers added to the end of the link. For example:

<link rel='next' href='http://wp51.local/test-post/2/%20class=post-page-numbers' />

I tested back through several version of AIOSEOP and got the same result. I confirmed that this only happens with WP v5.1.

To reproduce this:

  1. Create a new site using WP v5.1 RC1 which can be downloaded here https://wordpress.org/news/2019/02/wordpress-5-1-release-candidate/
  2. Create a post or page with page breaks
  3. Install AIOSEOP and view the source code of any of the paginated pages and you'll see the link looks like this:

http://domain.com/test-post/2/%20class=post-page-numbers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.