[wp-trac] [WordPress Trac] #34117: Remove unnecessary dynamic portion from the `plugin_action_links` filters

WordPress Trac noreply at wordpress.org
Thu Oct 1 16:38:10 UTC 2015


#34117: Remove unnecessary dynamic portion from the `plugin_action_links` filters
----------------------------+---------------------------
 Reporter:  johnbillion     |       Owner:  DrewAPicture
     Type:  enhancement     |      Status:  reviewing
 Priority:  normal          |   Milestone:  4.4
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  docs
----------------------------+---------------------------
Changes (by johnbillion):

 * keywords:   => has-patch
 * owner:   => DrewAPicture
 * status:  new => reviewing


Comment:

 [attachment:34117.diff] looks complicated but all it's doing is removing
 the dynamic `$prefix` portion and replacing it with an `if (
 $screen->in_admin( 'network' ) ) { ... } else { ... }` statement.

 Indentation needs correcting before commit.

 Drew, mind reviewing?

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


More information about the wp-trac mailing list