Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#33672 closed enhancement (fixed)

Cheatin' uh?: Update in wp-admin/media-upload.php

Reported by: kraftbj's profile kraftbj Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.4 Priority: normal
Severity: normal Version:
Component: Role/Capability Keywords:
Focuses: ui Cc:

Description

Spin off of #14530 to track updating the Cheatin error message to something context specific. Patch needs to be split off of original ticket.

Attachments (1)

33672.diff (1.2 KB) - added by kraftbj 9 years ago.
original props ericlewis. modified from original

Download all attachments as: .zip

Change History (4)

@kraftbj
9 years ago

original props ericlewis. modified from original

#1 @kraftbj
9 years ago

Copied over the original patch and added error message for an additional Cheatin' not previously present. While nearby, a bit of code cleanup and added 403 to another wp_die. I did not add Cheatin' there.

#2 @SergeyBiryukov
9 years ago

  • Milestone changed from Awaiting Review to 4.4

#3 @SergeyBiryukov
9 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 33853:

Provide more helful feedback than just "Cheatin' uh?" for permission errors in wp-admin/media-upload.php.

props ericlewis, kraftbj, lukecarbis, mrmist.
fixes #33672. see #14530.

Note: See TracTickets for help on using tickets.