Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix status assumptions #663

@Bloke

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions