Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #60540


Ignore:
Timestamp:
02/14/2024 06:02:26 PM (13 months ago)
Author:
costdev
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60540

    • Property Milestone changed from Awaiting Review to 6.5
  • Ticket #60540 – Description

    initial v1  
    33The existing code in 6.5 Beta 1 assumes that all responses that are not `WP_Error` instances are produced by the .org API.  However, extenders are able to filter the responses and some premium plugins do that to provide info about the premium plugins.  However, some of those extenders may return responses to that endpoint that do not contain properties that the Plugin Dependencies codebase relies on.
    44
    5 Thus, rather than just checking whether the repsonse is a `WP_Error`, we need to check that all the properties in the response that are used are actually present in said response.
     5Thus, rather than just checking whether the response is a `WP_Error`, we need to check that all the properties in the response that are used are actually present in said response.