[wp-trac] [WordPress Trac] #59714: Not possible to set excerpt_length when doing ajax

WordPress Trac noreply at wordpress.org
Tue Oct 24 10:06:11 UTC 2023


#59714: Not possible to set excerpt_length when doing ajax
--------------------------+-----------------------------
 Reporter:  pelentak      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 A filter added to make post excerpt length to 100 in the context of block
 editor (see here: [https://github.com/WordPress/wordpress-
 develop/commit/a710b97e7c7463d663664f7266ce6d72eb95238c#diff-
 662eebf6d91c9208094ca7df3c7a1e26d3dd96162004d3291a84a5a0aef705c9R86-R95])
 makes it impossible for `excerpt_length` to be overridden when doing ajax.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59714>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list