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

Merged
merged 1 commit into from
Dec 30, 2024
Merged

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
bordoni
bordoni previously approved these changes May 3, 2024
@Camwyn Camwyn changed the base branch from master to release/T24.imp December 30, 2024 17:13
@Camwyn Camwyn dismissed bordoni’s stale review December 30, 2024 17:13

The base branch was changed.

@Camwyn Camwyn changed the base branch from release/T24.imp to release/T25.imp December 30, 2024 17:15
@Camwyn Camwyn merged commit 4d3f741 into release/T25.imp Dec 30, 2024
10 of 11 checks passed
@Camwyn Camwyn deleted the fix/read-check branch December 30, 2024 17:15
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