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

WordPress Trac noreply at wordpress.org
Tue Nov 5 09:03:27 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):

 Here’s what I did to reproduce the issue:

 Edited an existing post, including a "Read More" link in the content area.
 Enabled the Excerpt field in a Custom Post Type and updated a post by
 adding an excerpt.
 Despite these actions, the JSON response continued to display the full
 content under the "content" key. The custom post type had show_in_rest set
 to true as well.

 Could you walk me through any additional steps or specific configurations
 you might have used? This would help in pinpointing the exact problem.

 Thank you!

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


More information about the wp-trac mailing list