Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix checks in test that pass a post ID. #2080

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Camwyn
Copy link
Member

@Camwyn Camwyn commented May 2, 2024

current_user_can( 'read', $post_id ) 'read' does not use a post ID. changed to current_user_can( 'read_post', $post_id )

`current_user_can( 'read', $post_id )` 'read' does not use a post ID.
changed to `current_user_can( 'read_post', $post_id )`
@Camwyn Camwyn added code review Status: requires a code review. needs release Needs an associated release in Central before merging. labels May 2, 2024
@Camwyn Camwyn requested a review from bordoni May 2, 2024 19:48
@Camwyn Camwyn self-assigned this May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code review Status: requires a code review. needs release Needs an associated release in Central before merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants