[wp-trac] [WordPress Trac] #26930: Support custom `theme action links` again

WordPress Trac noreply at wordpress.org
Tue Jan 28 16:24:28 UTC 2014


#26930: Support custom `theme action links` again
-----------------------------+------------------------------
 Reporter:  georgestephanis  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:  3.8
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:  javascript
-----------------------------+------------------------------

Comment (by georgestephanis):

 ^^ what he said.

 You can see both implementations here:

 https://github.com/georgestephanis/theme-downloader/blob/master/theme-
 downloader.php

 In the old way, it was just a case of shoving the link into an array and
 wp_list_table would take care of the output.

 The new way, you actually need to modify the backbone template to expect
 it and prepare a place, in addition to adding the link to the $theme
 object that's output in the js.

 I also discussed this with @matveb here:
 https://twitter.com/daljo628/status/426835088278437888

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26930#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list