From 9d689627622ccdc41929589be39c4e46be565840 Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 25 Nov 2009 15:11:57 +0000 Subject: [PATCH] Apply editable_slug filter in more places. Props dwright. fixes #10966 git-svn-id: http://svn.automattic.com/wordpress/trunk@12277 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 832cf509aa..2a75fe57bd 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -177,14 +177,14 @@ function _cat_row( $category, $level, $name_override = false ) { $output .= "$edit"; $output .= ''; break; case 'description': $output .= "$category->description"; break; case 'slug': - $output .= "$category->slug"; + $output .= "" . apply_filters('editable_slug', $category->slug) . ""; break; case 'posts': $attributes = 'class="posts column-posts num"' . $style; @@ -347,14 +347,14 @@ function link_cat_row( $category, $name_override = false ) { $output .= "$edit"; $output .= ''; break; case 'description': $output .= "$category->description"; break; case 'slug': - $output .= "$category->slug"; + $output .= "" . apply_filters('editable_slug', $category->slug) . ""; break; case 'links': $attributes = 'class="links column-links num"' . $style; @@ -681,13 +681,13 @@ function _tag_row( $tag, $class = '', $taxonomy = 'post_tag' ) { $out .= ''; $out .= ''; + $out .= '
' . apply_filters('editable_slug', $qe_data->slug) . '
'; break; case 'description': $out .= "$tag->description"; break; case 'slug': - $out .= "$tag->slug"; + $out .= "" . apply_filters('editable_slug', $tag->slug) . ""; break; case 'posts': $attributes = 'class="posts column-posts num"' . $style; @@ -1295,7 +1295,7 @@ function get_inline_data($post) { echo '