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

WordPress Trac noreply at wordpress.org
Mon May 15 11:30:12 UTC 2017


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

 * keywords:   => reporter-feedback


Comment:

 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.

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


More information about the wp-trac mailing list