[wp-trac] [WordPress Trac] #57719: UpdateURI fails to prevent it's intended purpose
WordPress Trac
noreply at wordpress.org
Tue Feb 14 22:00:48 UTC 2023
#57719: UpdateURI fails to prevent it's intended purpose
-------------------------------+------------------------------
Reporter: edouble74 | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 6.1.1
Severity: normal | Resolution: worksforme
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by edouble74):
* status: new => closed
* resolution: => worksforme
Comment:
Replying to [comment:3 afragen]:
> When I test this by setting the local version of Akismet to 5.0 and
adding `Update URI: true` to the headers, no update shows.
>
> Are you seeing something different ?
After testing again, I now see that the server side repo endpoint response
is filtering out elements with an UpdateURI. My mistake, I hadn't
expected that behavior, and not sure now how I was getting a different
result.
Still a bit confused as to how an update could then be present in isset(
$updates->response[ $plugin_file ] ), but maybe its related to the older
endpoint and backwards compatibility.
I'll do a bit of further testing and see if I can reproduce, but looks
like we can close this.
Apologies!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57719#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list