[wp-trac] [WordPress Trac] #40765: Not able to get contents after more tag.

WordPress Trac noreply at wordpress.org
Tue Nov 5 09:03:12 UTC 2024


#40765: Not able to get contents after more tag.
-------------------------------+-------------------------
 Reporter:  mukeshbeniwal      |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:  4.7.4
 Severity:  normal             |  Resolution:  worksforme
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+-------------------------

Comment (by wongdevt):

 Welcome to Trac, and thank you for your ticket submission!

 I attempted to replicate the issue as follows:

 Edited an existing post and added a "Read More" link in the content.
 Modified a Custom Post Type, enabled the Excerpt field, and updated the
 post by adding an excerpt.
 In both cases, the JSON response still returned the full content under the
 "content" key. The only variation was that I used my custom post type with
 the show_in_rest parameter set to true.

 Could you please provide additional steps or clarify the exact conditions
 under which you're encountering the issue?

 Thank you!

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


More information about the wp-trac mailing list