[wp-trac] [WordPress Trac] #56819: inline-edit-post.js looks up page author name incorrectly when author no longer has edit capabilities
WordPress Trac
noreply at wordpress.org
Tue Dec 6 02:05:21 UTC 2022
#56819: inline-edit-post.js looks up page author name incorrectly when author no
longer has edit capabilities
-----------------------------+---------------------------------------------
Reporter: OllieJones | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.2
Component: Quick/Bulk Edit | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, javascript, administration
-----------------------------+---------------------------------------------
Changes (by azaozz):
* keywords: has-patch needs-testing => has-patch
Comment:
@OllieJones @costdev Thanks for testing!
Seems this bug is also present for hierarchical CPTs. The `t.type` is set
to `page` there too, and the patch fixes it by hard-coding that to
`post`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56819#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list