[wp-trac] [WordPress Trac] #40193: wp_ajax_crop_image capability checks too strict
WordPress Trac
noreply at wordpress.org
Sat Aug 19 13:29:05 UTC 2017
#40193: wp_ajax_crop_image capability checks too strict
-------------------------------------+-----------------------------
Reporter: Cybr | Owner: johnbillion
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.9
Component: Media | Version: 4.3
Severity: normal | Resolution: fixed
Keywords: has-patch needs-testing | Focuses: administration
-------------------------------------+-----------------------------
Changes (by johnbillion):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"41270"]:
{{{
#!CommitTicketReference repository="" revision="41270"
Media: bring the capability check in `wp_ajax_crop_image()` inline with
those in `wp_ajax_imgedit_preview()` and `wp_ajax_image_editor()`.
This change means that a user can crop an image if they have the ability
to edit its attachment post, without requiring the ability to access the
Customizer.
Fixes #40193
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40193#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list