Ticket #29573: trac_29573.patch
File trac_29573.patch, 676 bytes (added by , 10 years ago) |
---|
-
wp-admin/includes/post.php
1207 1207 } else { 1208 1208 if ( function_exists( 'mb_strlen' ) && mb_strlen( $post_name ) > 30 ) { 1209 1209 $post_name_abridged = mb_substr( $post_name, 0, 14 ) . '…' . mb_substr( $post_name, -14 ); 1210 } elseif ( strlen( $post_name ) > 30 ) {1210 } elseif ( ! function_exists( 'mb_strlen' ) && strlen( $post_name ) > 30 ) { 1211 1211 $post_name_abridged = substr( $post_name, 0, 14 ) . '…' . substr( $post_name, -14 ); 1212 1212 } else { 1213 1213 $post_name_abridged = $post_name;