[wp-trac] [WordPress Trac] #49916: Add id attributes to the plugin activate/deactivate buttons

WordPress Trac noreply at wordpress.org
Thu Apr 16 01:42:46 UTC 2020


#49916: Add id attributes to the plugin activate/deactivate buttons
-------------------------+-----------------------------
 Reporter:  shooper      |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Plugins      |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 I'm working on a project that includes browser-based testing of a plugin,
 including it's installation and activation on the build server.

 When trying to activate my plugin, the "Activate" link has no id
 attribute.  Currently you have to drill down from the data-slug in the
 <tr> element to find the link.

 It would be nice to add this with "activate-<slug>" or "deactivate-<slug>"
 so that you can easily find that link using tools like Selenium.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49916>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list