[wp-trac] [WordPress Trac] #2969: Some Admin AJAX tweaks

WordPress Trac wp-trac at lists.automattic.com
Sat Jul 22 22:12:51 GMT 2006


#2969: Some Admin AJAX tweaks
----------------------------+-----------------------------------------------
 Reporter:  mdawaffe        |       Owner:  anonymous                                      
     Type:  defect          |      Status:  new                                            
 Priority:  normal          |   Milestone:  2.1                                            
Component:  Administration  |     Version:  2.1                                            
 Severity:  normal          |    Keywords:  ajax javascript listman has-patch needs-testing
----------------------------+-----------------------------------------------
 Both a defect and an enhancement.

 Attached:

  1. 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".
  1. Allow plugins to use admin-ajax.php by firing 'wp_ajax_$action' if
 there's no hardcoded case.
  1. Use full path for AJAX response handler to avoid nastiness.
  1. Allow plugins to use listMan library with their own AJAX response
 handler.
  1. Make listMan object a little more usable to plugin JS.
  1. Step toward getting rid of nasty eval()s.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2969>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list