Make WordPress Core

Opened 11 years ago

Closed 11 years ago

#34076 closed enhancement (duplicate)

edit_post_link add argument to specify link class

Reported by: atomicjack Owned by:
Priority: normal Milestone:
Component: Posts, Post Types Version: 4.4
Severity: normal Keywords:
Cc: Focuses: template

Description

Hi,

edit_post_link does not currently have an argument to allow for custom classes being added to the link on-the-fly.

We have a 'before' and an 'after' but not anything for extra classes.

Adding this would make it much easier to make this link a button, such as adding a 'button' class to it.

Change History (1)

#1 @SergeyBiryukov
11 years ago

  • Component GeneralPosts, Post Types
  • Focuses template added
  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Duplicate of #30563.

Note: See TracTickets for help on using tickets.