Skip to content

Repeated unnecessary API calls when changing theme filter #79187

@dsas

Description

@dsas

When toggling between the different filters free, premium, paid, and all in the theme showcase. We're triggering a network call to https://public-api.wordpress.com/wp/v2/sites/221022448/themes?status=active&_envelope=1 . The active theme is still the same so I'm not sure if we really need to perform that call for the purpose of filtering themes. On the other hand we aren't performing a call to retrieve a list of filtered themes (which makes sense).

Originally posted by @rcrdortiz in #79137 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions