Changeset 44064 for branches/4.3/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 12/13/2018 01:50:03 AM (8 years ago)
- Location:
- branches/4.3
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-admin/includes/ajax-actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3
- Property svn:mergeinfo changed
/branches/5.0 merged: 44047
- Property svn:mergeinfo changed
-
branches/4.3/src/wp-admin/includes/ajax-actions.php
r37797 r44064 1918 1918 } 1919 1919 1920 $post_data = isset( $_REQUEST['post_data'] ) ? $_REQUEST['post_data'] : array(); 1920 $post_data = ! empty( $_REQUEST['post_data'] ) ? _wp_get_allowed_postdata( _wp_translate_postdata( false, (array) $_REQUEST['post_data'] ) ) : array(); 1921 1922 if ( is_wp_error( $post_data ) ) { 1923 wp_die( $post_data->get_error_message() ); 1924 } 1921 1925 1922 1926 // 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)