Skip to content

Functions within wp-build templates lack @since X.Y.Z tags #76727

Description

@desrosj

The functions defined in the template files within wp-build lack the ability to add proper @since X.Y.Z tags. The tags cannot easily be added because some routes were included in WP 7.0 and others were not.

Each route needs to be made aware of the version of the Gutenberg plugin and WordPress they were originally shipped in so that the tags can be included correctly based on the surrounding context.

This needs to be considered not just for the @since tag when the original function was introduced, but also for when parameters are added or changed, and the file's docblock at the top.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions