X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/7f1521bf193b382565eb753043c161f4cb3fcda7..e8f61417994be715a90671aa87f1cd70d8ba132a:/wp-admin/edit-tag-form.php diff --git a/wp-admin/edit-tag-form.php b/wp-admin/edit-tag-form.php index 7e2d9377..a50685ef 100644 --- a/wp-admin/edit-tag-form.php +++ b/wp-admin/edit-tag-form.php @@ -7,13 +7,8 @@ */ // don't load directly -if ( !defined('ABSPATH') ) - die('-1'); - -if ( empty($tag_ID) ) { ?> -

-
-

labels->edit_item; ?>

+

labels->edit_item; ?>

+ + +
+

+ +

labels->name ); ?>

+ +

labels->name ); ?>

+ +
+ +
+
*/ do_action( "{$taxonomy}_term_edit_form_tag" ); ?>> - - - - + + + + @@ -97,11 +133,13 @@ do_action( "{$taxonomy}_term_edit_form_tag" ); * post URIs and term slugs. * * @since 2.6.0 + * @since 4.4.0 The `$tag` parameter was added. * - * @param string $slug The editable slug. Will be either a term slug or post URI depending - * upon the context in which it is evaluated. + * @param string $slug The editable slug. Will be either a term slug or post URI depending + * upon the context in which it is evaluated. + * @param object|WP_Post $tag Term or WP_Post object. */ - $slug = isset( $tag->slug ) ? apply_filters( 'editable_slug', $tag->slug ) : ''; + $slug = isset( $tag->slug ) ? apply_filters( 'editable_slug', $tag->slug, $tag ) : ''; ?>