Changeset 44055 for branches/4.8/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 12/13/2018 01:39:08 AM (8 years ago)
- Location:
- branches/4.8
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-admin/includes/ajax-actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.8
- Property svn:mergeinfo changed
/branches/5.0 merged: 44047
- Property svn:mergeinfo changed
-
branches/4.8/src/wp-admin/includes/ajax-actions.php
r40790 r44055 2088 2088 } 2089 2089 2090 $post_data = isset( $_REQUEST['post_data'] ) ? $_REQUEST['post_data'] : array(); 2090 $post_data = ! empty( $_REQUEST['post_data'] ) ? _wp_get_allowed_postdata( _wp_translate_postdata( false, (array) $_REQUEST['post_data'] ) ) : array(); 2091 2092 if ( is_wp_error( $post_data ) ) { 2093 wp_die( $post_data->get_error_message() ); 2094 } 2091 2095 2092 2096 // If the context is custom header or background, make sure the uploaded file is an image.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)