mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Banishing ASCII quotes and apostrophes, props demetris, fixes #9655
git-svn-id: https://develop.svn.wordpress.org/trunk@11190 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -195,7 +195,7 @@ function validate_file_to_edit( $file, $allowed_files = '' ) {
|
||||
|
||||
switch ( $code ) {
|
||||
case 1 :
|
||||
wp_die( __('Sorry, can’t edit files with ".." in the name. If you are trying to edit a file in your WordPress home directory, you can just type the name of the file in.' ));
|
||||
wp_die( __('Sorry, can’t edit files with “..” in the name. If you are trying to edit a file in your WordPress home directory, you can just type the name of the file in.' ));
|
||||
|
||||
case 2 :
|
||||
wp_die( __('Sorry, can’t call files with their real path.' ));
|
||||
|
||||
Reference in New Issue
Block a user