Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40702, comment 25


Ignore:
Timestamp:
05/10/2017 11:35:41 PM (7 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40702, comment 25

    initial v1  
    11Looking at 40702.6.diff, it seems really complicated. All that is needed here is a simple proxy to access the API at wp.org. Replacing ~20 lines of admin-ajax with ~500 lines of REST endpoints is.... too much? :)
    22
    3 There seem to be a lot of "new" things. For example an admin can see another user/admin data. Don't see a good reason for this:
     3There seem to be some "new" things. For example an admin can see another user/admin data. Don't see a good reason for this:
    44{{{
    55 if ( $request['id'] !== get_current_user_id() ) {