Make WordPress Core

Opened 12 years ago

Last modified 5 years ago

#20596 new enhancement

Adding more actions to a widget

Reported by: webord's profile webord Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Widgets Keywords: needs-patch dev-feedback
Focuses: Cc:


On the Widget UI, there is a "Close" button, aside with the "Delete" button, and I that developers should have a way to add more of those.

For exemple, I would see as a good use case when you have a way of previewing the widget.

Because right now the only way is by JS which is kinda of lame.


Change History (4)

#1 @scribu
12 years ago

  • Keywords needs-patch removed

But wouldn't you need a JS handler for the "Preview" button anyway?

#2 @webord
12 years ago

Yes, but why adding the handler with JS if you can have the server generate the HTML for you in this case. Might be a good addition to the Widgets API having these actions built in.

But I see your point.

#4 @chriscct7
9 years ago

  • Keywords needs-patch dev-feedback added; 2nd-opinion removed
  • Type changed from feature request to enhancement
Note: See TracTickets for help on using tickets.