Skip to content

Serve language packs depending on requested version #140

@ocean90

Description

@ocean90

Issue Overview
Since #133 the version of the theme/plugin is used for the version field in the API. But the actual download URL is still the same for all versions.

Expected behavior
The path to the language pack includes the version of the language pack.

Additional context
WP.org API: https://api.wordpress.org/translations/themes/1.0/?slug=twentynineteen

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Component] APIConcerns REST API Endpoints, e.g. for incoming webhooks[Type] BugBugs and regressions in existing functionality

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions