[wp-trac] [WordPress Trac] #59043: the_excerpt() function return excerpt with different length in page load and ajax request on WordPress 6.3

WordPress Trac noreply at wordpress.org
Tue Apr 30 09:31:56 UTC 2024


#59043: the_excerpt() function return excerpt with different length in page load
and ajax request on WordPress 6.3
---------------------------------------------+-------------------------
 Reporter:  sarathlal                        |       Owner:  swissspidy
     Type:  defect (bug)                     |      Status:  closed
 Priority:  normal                           |   Milestone:  6.6
Component:  Editor                           |     Version:  6.3
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  rest-api
---------------------------------------------+-------------------------
Changes (by swissspidy):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58065" 58065]:
 {{{
 #!CommitTicketReference repository="" revision="58065"
 REST API: allow overriding excerpt length.

 This can be used by the excerpt block in the editor to change the excerpt
 length without filtering `excerpt_length` in a conflicting way. This
 enhancement still needs a corresponding change on the Gutenberg side.

 Props swissspidy, antonvlasenko, mukesh27, azaozz, andraganescu,
 timothyblynjacobs.
 Fixes #59043.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59043#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list