Skip to content

Fix status assumptions #663

Description

@Bloke

There are places throughout the core (e.g. txp_article.php and txp_list.php) where status values are assumed to be hierarchical. These should be altered to explicitly target the associated status constants instead of using maths in comparisons. Other status codes could then be introduced (e.g. for editorial workflow escalation) by core or plugins, without enforced baggage.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions