[wp-trac] [WordPress Trac] #33523: WP_List_Table sortable header links break when list table is loaded via Ajax
WordPress Trac
noreply at wordpress.org
Mon Nov 23 17:03:39 UTC 2015
#33523: WP_List_Table sortable header links break when list table is loaded via
Ajax
----------------------------+------------------------------
Reporter: McGuive7 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version: 4.3
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+------------------------------
Changes (by afercia):
* version: => 4.3
Comment:
Replying to [ticket:33523 McGuive7]:
> Is there a workaround for this one? If not, it seems like a bug, right?
hi @McGuive7 I'm not the best person to give an answer and I've seen
you've opted for a different solution in your plugin :) just noticed that
in the terms list table, where AJAX is used for some actions (for example
when creating a new category or tag), a similar issue is solved this way:
{{{
$uri = ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ? wp_get_referer() :
$_SERVER['REQUEST_URI'];
}}}
Wondering if this should be done for all the tables to allow plugins to
play with AJAX. Any thoughts more than welcome. cc @wonderboymusic
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33523#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list