From d66facad6c0888759940264a68085d0ea9d54ace Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 1 Jun 2011 16:14:58 +0000 Subject: [PATCH] url_encode file names in theme and plugin editor urls. Props kawauso. fixes #17038 git-svn-id: https://develop.svn.wordpress.org/trunk@18094 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/plugin-editor.php | 2 +- wp-admin/theme-editor.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index 5c0b60b672..2c710dff32 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -215,7 +215,7 @@ foreach ( $plugin_files as $plugin_file ) : continue; } ?> - > + > diff --git a/wp-admin/theme-editor.php b/wp-admin/theme-editor.php index 7760d50717..c41f0c8347 100644 --- a/wp-admin/theme-editor.php +++ b/wp-admin/theme-editor.php @@ -192,7 +192,7 @@ if ($allowed_files) : ksort( $template_mapping ); while ( list( $template_sorted_key, list( $template_file, $filedesc ) ) = each( $template_mapping ) ) : ?> -
  • &theme=&dir=theme">
  • +
  • @@ -214,7 +214,7 @@ if ($allowed_files) : ksort( $template_mapping ); while ( list( $template_sorted_key, list( $style_file, $filedesc ) ) = each( $template_mapping ) ) : ?> -
  • &theme=&dir=style">
  • +