Changeset 45951 for branches/4.4/src/wp-admin/includes/ajax-actions.php
- Timestamp:
- 09/04/2019 04:36:13 PM (7 years ago)
- Location:
- branches/4.4
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-admin/includes/ajax-actions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.4
-
branches/4.4/src/wp-admin/includes/ajax-actions.php
r44850 r45951 1997 1997 'data' => array( 1998 1998 'message' => __( 'You do not have permission to upload files.' ), 1999 'filename' => $_FILES['async-upload']['name'],1999 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2000 2000 ) 2001 2001 ) ); … … 2011 2011 'data' => array( 2012 2012 'message' => __( "You don't have permission to attach files to this post." ), 2013 'filename' => $_FILES['async-upload']['name'],2013 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2014 2014 ) 2015 2015 ) ); … … 2035 2035 'data' => array( 2036 2036 'message' => __( 'The uploaded file is not a valid image. Please try again.' ), 2037 'filename' => $_FILES['async-upload']['name'],2037 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2038 2038 ) 2039 2039 ) ); … … 2050 2050 'data' => array( 2051 2051 'message' => $attachment_id->get_error_message(), 2052 'filename' => $_FILES['async-upload']['name'],2052 'filename' => esc_html( $_FILES['async-upload']['name'] ), 2053 2053 ) 2054 2054 ) );
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)