[wp-trac] [WordPress Trac] #59044: the_excerpt() function return excerpt with different length in page load and ajax request on WordPress 6.3
WordPress Trac
noreply at wordpress.org
Thu Aug 10 07:19:08 UTC 2023
#59044: the_excerpt() function return excerpt with different length in page load
and ajax request on WordPress 6.3
-------------------------------+-----------------------------
Reporter: sarathlal | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: 6.3
Severity: normal | Keywords:
Focuses: |
-------------------------------+-----------------------------
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/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59044>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list