humanmade / humanmade/authorship

Adding attribute_post_type does not allow you to attribute_post_type

Open
#111 7 comments 0 reactions 0 assignees View on GitHub
Bug Help Wanted
Dominant language
PHP
Stars
68
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Because of a user cap meta filter, this capability is never actually checked for and is overriden by:

https://github.com/humanmade/authorship/blob/ad162b111f778d51d66ea6412887ffe258407225/inc/namespace.php#L267

This means it's not possible for an author to write a post with guest authors, even if they have the `attribute_post_type` capability

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.