Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #41445, comment 57


Ignore:
Timestamp:
02/17/2023 07:16:35 AM (15 months ago)
Author:
kkalarickal
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41445, comment 57

    v2 v3  
    66- confirm that requesting the first post over the rest API with media embedding enabled works.
    77
    8 e.g. http://<your-site-url>/wp-json/wp/v2/posts/secondPostID?_embed
     8e.g.
     9Request : http://<your-site-url>/wp-json/wp/v2/posts/secondPostID?_embed
     10Response: look for "wp:featuredmedia" entry.
    911
    1012- now trash the post
     13
    1114- make a new post, using the first image as the featured image
    1215- now do a request of the second post over the rest API with media embedding enabled