From 03602f19e673f173fdae8a62e462e86b7b89b06c Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@18094 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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">
  • +