Make WordPress Core

Opened 13 years ago

Last modified 6 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:

Description

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.

Thanks,

Change History (4)

#1 @scribu
13 years ago

  • Keywords needs-patch removed

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

#2 @webord
13 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
10 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.