[wp-trac] [WordPress Trac] #14579: Ajaxify list-type screens in the admin
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 20 13:08:35 UTC 2010
#14579: Ajaxify list-type screens in the admin
----------------------------+-----------------------------------------------
Reporter: scribu | Owner: scribu
Type: task (blessed) | Status: accepted
Priority: normal | Milestone: 3.1
Component: Administration | Version:
Severity: normal | Keywords: has-patch needs-testing
----------------------------+-----------------------------------------------
Comment(by duck_):
Replying to [comment:66 demetris]:
> The bottom group of bulk actions in plugins screens has not been working
for some time now. I suppose it is something to do with the
ajaxification.
>
> I can look and narrow it down to a revision, if needed.
This is because $_REQUEST['action'] is never empty as it will either be
the bulk action selected (from the top dropdown) or
[http://core.trac.wordpress.org/browser/trunk/wp-admin/includes/list-
table.php#L241 "-1" by default], therefore $_REQUEST['action2'] (set by
the lower bulk actions dropdown) never gets a chance. See attached patch
for fix, change the default value of the bulk actions to be value='0' or
alternatively could just be left blank (I think this is the case pre-3.1:
value="")
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14579#comment:67>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list