WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#31494 closed enhancement (fixed)

Press This: Add filter to modify cite tag

Reported by: kraftbj Owned by:
Milestone: 4.2 Priority: normal
Severity: normal Version: 4.2
Component: Press This Keywords:
Focuses: administration Cc:

Description

In press-this.js, a <cite> tag is automatically added surrounding the source link. As noted in ticket:31493#comment3, you can not remove this without jumping into the text editor and the default styling is the same as italics, making it confusing UX.

Proposal: Default the current cite tag to i while adding a filter to make it extendable to use other html tags per the site administrator's preference.

Additional discussion in Slack

Change History (2)

#1 @kraftbj
5 years ago

  • Keywords close added

[31595] adds a groovy filter for the entire suggested HTML. That works to resolve this one.

Last edited 5 years ago by kraftbj (previous) (diff)

#2 @SergeyBiryukov
5 years ago

  • Keywords close removed
  • Milestone changed from Awaiting Review to 4.2
  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.