#59044 closed defect (bug) (duplicate)
the_excerpt() function return excerpt with different length in page load and ajax request on WordPress 6.3
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.3 |
Component: | Posts, Post Types | Keywords: | |
Focuses: | Cc: |
Description
I'm using the_excerpt()
function in a post loop that display posts from a custom WP query for "Post" post type. Using the same query with pagination parameter and same post loop to display more posts using AJAX.
Recently I noticed that the excerpt length was different on page load & AJAX load. I think, it's started after updating to WordPress 6.3. Another user also raised a related support thread in support forum.
https://wordpress.org/support/topic/unexpected-behavior-in-post-loop-after-sending-ajax-request/
Change History (2)
Note: See
TracTickets for help on using
tickets.
Duplicate of #59043.