urldecode slugs in the Edit Post screen permalink. props janbrasna. fixes #8418
git-svn-id: http://svn.automattic.com/wordpress/trunk@10108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
7162109255
commit
c7e8e8d9d0
|
@ -158,6 +158,7 @@ add_filter('option_category_base', '_wp_filter_taxonomy_base');
|
||||||
add_filter( 'the_posts', '_close_comments_for_old_posts' );
|
add_filter( 'the_posts', '_close_comments_for_old_posts' );
|
||||||
add_filter( 'comments_open', '_close_comments_for_old_post', 10, 2 );
|
add_filter( 'comments_open', '_close_comments_for_old_post', 10, 2 );
|
||||||
add_filter( 'pings_open', '_close_comments_for_old_post', 10, 2 );
|
add_filter( 'pings_open', '_close_comments_for_old_post', 10, 2 );
|
||||||
|
add_filter( 'editable_slug', 'urldecode' );
|
||||||
|
|
||||||
// Atom SSL support
|
// Atom SSL support
|
||||||
add_filter('atom_service_url','atom_service_url_filter');
|
add_filter('atom_service_url','atom_service_url_filter');
|
||||||
|
|
Loading…
Reference in New Issue