WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #38130, comment 4


Ignore:
Timestamp:
09/22/2016 09:22:32 PM (3 years ago)
Author:
JazZ7
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38130, comment 4

    v1 v2  
    2929}}}
    3030
    31 The return is
     31The result is :
    3232{{{
    3333WP_Role::__set_state(array( 'name' => 'subscriber', 'capabilities' => array ( 'read' => true, 'level_0' => true, 'upload_files' => true, ), ))
     
    4343{'success': false, 'data':{'message': 'Sorry, you are not allowed to upload files.', 'filename': 'filename.jpg'}}
    4444}}}
    45 
    46 Any idea ? Need more infos ?