Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#24304 closed enhancement (fixed)

Display consistent labels for users with and without unfiltered_html caps

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

Description

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 12 years ago.

Download all attachments as: .zip

Change History (4)

@tollmanz
12 years ago

#1 @SergeyBiryukov
12 years ago

  • Milestone changed from Awaiting Review to 3.6

Related: #24291

#2 @SergeyBiryukov
12 years ago

  • Keywords has-patch added

#3 @SergeyBiryukov
12 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.