Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#24304 closed enhancement (fixed)

Display consistent labels for users with and without unfiltered_html caps

Reported by: tollmanz Owned by: SergeyBiryukov
Milestone: 3.6 Priority: normal
Severity: minor Version: 3.6
Component: Post Formats Keywords: has-patch
Focuses: Cc:


Above the textarea in the image post format UI, different labels are printed depending on whether or not a user has "unfiltered_html" caps. The link that toggles the box from the upload area to the textarea only prints a single message for all users:

use an image URL or HTML

I think that this should be consistent with the labels above the textarea in that it should change based on the user's caps.

Attachments (1)

24304.diff (1.3 KB) - added by tollmanz 2 years ago.

Download all attachments as: .zip

Change History (4)

@tollmanz2 years ago

comment:1 @SergeyBiryukov2 years ago

  • Milestone changed from Awaiting Review to 3.6

Related: #24291

comment:2 @SergeyBiryukov2 years ago

  • Keywords has-patch added

comment:3 @SergeyBiryukov2 years ago

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

In 24232:

Display consistent labels in Image post format UI for users with and without unfiltered_html capability. props tollmanz. fixes #24304. see #24291.

Note: See TracTickets for help on using tickets.