diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index bf49ed4fc8..83756e695a 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -1327,14 +1327,14 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) { } } else { if ( function_exists( 'mb_strlen' ) ) { - if ( mb_strlen( $post_name ) > 30 ) { - $post_name_abridged = mb_substr( $post_name, 0, 14 ) . '…' . mb_substr( $post_name, -14 ); + if ( mb_strlen( $post_name ) > 34 ) { + $post_name_abridged = mb_substr( $post_name, 0, 16 ) . '…' . mb_substr( $post_name, -16 ); } else { $post_name_abridged = $post_name; } } else { - if ( strlen( $post_name ) > 30 ) { - $post_name_abridged = substr( $post_name, 0, 14 ) . '…' . substr( $post_name, -14 ); + if ( strlen( $post_name ) > 34 ) { + $post_name_abridged = substr( $post_name, 0, 16 ) . '…' . substr( $post_name, -16 ); } else { $post_name_abridged = $post_name; } diff --git a/wp-includes/version.php b/wp-includes/version.php index bc899f773a..81e6a2348e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34832'; +$wp_version = '4.4-alpha-34833'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.