Fix the editable_slug hook documentation, the PHPDoc must come directly before the hook call, with no HTML inbetween.
Props DrewAPicture. Fixes #31569 Built from https://develop.svn.wordpress.org/trunk@31687 git-svn-id: http://core.svn.wordpress.org/trunk@31668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8a9181d8d4
commit
4f7856aabe
|
@ -95,10 +95,11 @@ do_action( "{$taxonomy}_term_edit_form_tag" );
|
|||
*
|
||||
* @since 2.6.0
|
||||
*
|
||||
* @param string $slug The current term slug.
|
||||
* @param string $tag_slug The current term slug.
|
||||
*/
|
||||
$slug = isset( $tag->slug ) ? apply_filters( 'editable_slug', $tag->slug ) : '';
|
||||
?>
|
||||
<td><input name="slug" id="slug" type="text" value="<?php if ( isset( $tag->slug ) ) echo esc_attr( apply_filters( 'editable_slug', $tag->slug ) ); ?>" size="40" />
|
||||
<td><input name="slug" id="slug" type="text" value="<?php echo esc_attr( $slug ); ?>" size="40" />
|
||||
<p class="description"><?php _e('The “slug” is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.'); ?></p></td>
|
||||
</tr>
|
||||
<?php } ?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-alpha-31686';
|
||||
$wp_version = '4.2-alpha-31687';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue