[wp-trac] [WordPress Trac] #34799: Tell admin-post.php to check for $_REQUEST['action2'] ?

WordPress Trac noreply at wordpress.org
Fri Nov 27 11:49:20 UTC 2015


#34799: Tell admin-post.php to check for $_REQUEST['action2'] ?
----------------------------+------------------------------
 Reporter:  jlambe          |       Owner:
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  administration
----------------------------+------------------------------

Comment (by swissspidy):

 Replying to [comment:2 jlambe]:
 > Replying to [comment:1 swissspidy]:
 > > I think this is better fixed by syncing those two dropdowns, see
 #16185.
 >
 > I haven't tested the #16185 patch but it should fix it as it makes sure
 the `action` select tag has a value different than `-1`. I know that the
 mentioned patch needs JS for this to work and I can't think of WordPress
 working without JS but what if we make sure the `admin-post.php` is still
 looking after the `action2` value as well as a fallback?
 >

 Or we could just set the second element's name to `action` as well and
 apply `hide-if-no-js` to it.

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


More information about the wp-trac mailing list