humanmade / authorship

A modern approach to author attribution in WordPress.
GNU General Public License v3.0
67 stars 7 forks source link

Update to use capabilities queries #93

Closed robindevitt closed 2 years ago

robindevitt commented 2 years ago

WP 5.9 includes new capabilities user queries that replace the role based who query parameter.

This PR includes the capabilities query.

Issue #523

robindevitt commented 2 years ago

@shadyvb & @roborourke, I have noticed that all the checks have failed. Should I review each and fix appropriately? From what I have seen they don't appear to be directly related to the code changes made, a few are falling at "Install PHP Dependencies".

robindevitt commented 2 years ago

Hey @shadyvb

Thanks for the review and direction (slack thread).

I have updated the PR.

I have one check failing, is this the same as what you referenced in your review earlier?