Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #39696, comment 15


Ignore:
Timestamp:
01/28/2017 08:50:12 AM (8 years ago)
Author:
rheinardkorf
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #39696, comment 15

    initial v1  
    11Attached a new patch that includes the functionality as requested. Also included unit tests `test_get_item__embed()` that tests the scenarios.
    22
    3 Because of the issue mentioned earlier with the server relying on $_GET I've had to set $_GET within the tests. This is not ideal and needs to be addressed if the server gets updated (perhaps calls for another ticket).
     3Because of the issue mentioned earlier with the server relying on $_GET I've had to set $_GET within the tests. This is not ideal and needs to be addressed if the server gets updated (created #39727).
    44
    55Could this patch please be reviewed?