Make WordPress Core


Ignore:
Timestamp:
04/15/2014 01:15:43 AM (11 years ago)
Author:
nacin
Message:

Theme Installer: Revert to proxying through PHP for WordPress.org API requests.

This is to ensure we have valid installation nonces, though we've run into this as a problem previously (see #27639, #27581, #27055).

A tad slower, but we gained speed in 3.9 by simplifying the request made to the API.

props ocean90.
fixes #27798.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/admin-ajax.php

    r27419 r28126  
    5959    'query-attachments', 'save-attachment', 'save-attachment-compat', 'send-link-to-editor',
    6060    'send-attachment-to-editor', 'save-attachment-order', 'heartbeat', 'get-revision-diffs',
    61     'save-user-color-scheme', 'update-widget',
     61    'save-user-color-scheme', 'update-widget', 'query-themes',
    6262);
    6363
Note: See TracChangeset for help on using the changeset viewer.