Making WordPress.org

Changes between Initial Version and Version 1 of Ticket #7979


Ignore:
Timestamp:
05/19/2025 12:49:41 AM (6 months ago)
Author:
dd32
Comment:

reformatted report for readability.

Realistically the remove fields functionality is included/supported for historical reasons, but is likely to be removed in a future API revision (or the client-specified list to be deprecated)

But correct, certain fields can't be removed from the output, that includes, but is not limited to, author, and support_threads. There's a whole bunch of others that likely aren't supported.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7979

    • Property Priority changed from normal to lowest
    • Property Summary changed from REST API: Fields filtering is not working as expect to Plugins API: Fields filtering doesn't remove all fields.
  • Ticket #7979 – Description

    initial v1  
    55Headers: `User.Agent = "WordPress/6.9-alpha-60093-src; http://localhost:8889/"`
    66Params:
    7 ```
     7{{{
    88{
    99        "action": "plugin_information",
    10         "request%5Bslug%5D": "secupress",
    11         "request%5Bfields%5D%5Bcontributors%5D": "0",
    12         "request%5Bfields%5D%5Bauthor%5D": "0",
    13         "request%5Bfields%5D%5Bsupport_threads%5D": "0",
    14         "request%5Blocale%5D": "en_US",
    15         "request%5Bwp_version%5D": "6.9"
     10        "request[slug]": "secupress",
     11        "request[fields][contributors]": "0",
     12        "request[fields][author]": "0",
     13        "request[fields][support_threads]": "0",
     14        "request[locale]": "en_US",
     15        "request[wp_version]": "6.9"
    1616}
    17 ```
     17}}}
    1818
    1919Despite explicitly asking to not include, resulting response is including:
     
    3030
    3131Are not even being handled there, so it's impossible to decide to filter them out even manually.
    32 
    33