Opened 19 years ago
Closed 19 years ago
#2969 closed defect (bug) (fixed)
Some Admin AJAX tweaks
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | Administration | Keywords: | ajax javascript listman has-patch needs-testing |
Focuses: | Cc: |
Description
Both a defect and an enhancement.
Attached:
- Remove wp_clean_ajax_input() from admin-ajax.php. I can't remember why it's there. It may have been necessary at one point, but now it just urldecodes strings that are already udecoded. To test, try adding the category "no amp here: %26" via ajax cat. Pre-patch, you'll see: "no amp here: &". Post-patch you'll see "no amp here: %26".
- Allow plugins to use admin-ajax.php by firing 'wp_ajax_$action' if there's no hardcoded case.
- Use full path for AJAX response handler to avoid nastiness.
- Allow plugins to use listMan library with their own AJAX response handler.
- Make listMan object a little more usable to plugin JS.
- Step toward getting rid of nasty eval()s.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
tweaks to list-manipulation-js.php and admin-ajax.php