[wp-trac] [WordPress Trac] #40340: "Attach to existing content" modal shows posts and pages of other users
WordPress Trac
noreply at wordpress.org
Thu Aug 3 17:54:04 UTC 2017
#40340: "Attach to existing content" modal shows posts and pages of other users
-------------------------------------------------+-------------------------
Reporter: menakas | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting
Component: Role/Capability | Review
Severity: normal | Version:
Keywords: has-screenshots needs-patch needs- | Resolution:
unit-tests | Focuses:
-------------------------------------------------+-------------------------
Changes (by johnbillion):
* keywords: has-screenshots => has-screenshots needs-patch needs-unit-
tests
* focuses: ui =>
* version: 4.7.3 =>
Comment:
`WP_Query` has the `perm => editable` parameter just for this (which can
be added to the query args in `wp_ajax_find_posts()`), but it doesn't
appear to work in conjunction with the `status` parameter. Needs some more
investigation.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40340#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list