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

WordPress Trac noreply at wordpress.org
Sat Nov 9 12:10: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 hassanshekh):

 Replying to [comment:1 subrataemfluence]:
 > Welcome to Trac and thank you for creating the ticket.
 >
 > I tried to reproduce the issue:
 >
 > 1. By editing an existing post and adding a "Read More" link in content
 > 2. Modified Custom Post Type, adding Excerpt field and updating post by
 adding an excerpt to it
 >
 > In both cases the "content" key returned to full content in JSON. The
 only difference I used my custom post type by turning `show_in_rest` value
 to true.
 >
 > /wp-json/wp/v2/api/trips/148
 >
 > Can you please explain exactly how to reproduce the issue?
 >
 > Thank You.

 I am getting this, but in a different way

-- 
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