Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #59759


Ignore:
Timestamp:
10/27/2023 05:17:07 PM (15 months ago)
Author:
flixos90
Comment:

Testing instructions:

To replicate (use TT4 theme in its default configuration):

  1. Ensure pretty permalinks are enabled
  2. Ensure there are at least 5 posts on your website (content doesn't matter).
  3. On Settings > Reading, configure "Your homepage displays" to a static page (choose any page) and also set a "Posts page" (e.g. to an empty page called "Blog" with /blog/ slug).
  4. Set "Blog pages show at most" to 4.
  5. Navigate to /blog/. You'll immediately notice that this page looks like a home page. Instead of focusing on the blog, it starts with the demo content "A commitment to innovation and sustainability". That's the problem reported in https://github.com/WordPress/twentytwentyfour/issues/404 though and shouldn't be covered in this ticket here.
  6. Scroll down to where it says "Watch, Read, Listen". You'll see the 3 latest posts, even though your site is configured to show 4 posts per page (which should be the case here since your site has 5+ posts).
  7. Navigate to /blog/page/2/.
  8. Scroll down to "Watch, Read, Listen" again. You'll still see the 3 latest posts, even though you would expect the next set of posts to be displayed on this URL.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #59759

    • Property Keywords has-testing-info added
  • Ticket #59759 – Description

    initial v1  
    11While recently testing the new TT4 default theme, I ran into a problem (reported in [https://github.com/WordPress/twentytwentyfour/issues/404#issuecomment-1781623974 this GitHub comment]) from which I then noticed a more severe bug (also see [https://github.com/WordPress/twentytwentyfour/issues/404#issuecomment-1783156487 another GitHub comment specific to this ticket]): The TT4 blog template is broken in an essential way that prevents using the blog as expected.
    2 * It always displays the 3 latest posts. This ignores the "Blog pages show at most" setting under Settings > Reading.
    3 * It ''always'' displays the 3 latest posts. In other words, if your site has more posts than configured to show per blog page and you navigate to e.g. /page/2/, you will still see the 3 latest posts, instead of the next page of posts.
     2* It always displays the 3 latest posts. This ignores the "Blog pages show at most" setting under ''Settings > Reading''.
     3* It ''always'' displays the 3 latest posts. In other words, if your site has more posts than configured to show per blog page and you navigate to e.g. `/page/2/`, you will still see the 3 latest posts, instead of the next page of posts.
    44
    55**Reason for the bug:**