Changeset 34833
- Timestamp:
- 10/05/2015 07:28:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r34728 r34833 1328 1328 } else { 1329 1329 if ( function_exists( 'mb_strlen' ) ) { 1330 if ( mb_strlen( $post_name ) > 3 0) {1331 $post_name_abridged = mb_substr( $post_name, 0, 1 4 ) . '…' . mb_substr( $post_name, -14);1330 if ( mb_strlen( $post_name ) > 34 ) { 1331 $post_name_abridged = mb_substr( $post_name, 0, 16 ) . '…' . mb_substr( $post_name, -16 ); 1332 1332 } else { 1333 1333 $post_name_abridged = $post_name; 1334 1334 } 1335 1335 } else { 1336 if ( strlen( $post_name ) > 3 0) {1337 $post_name_abridged = substr( $post_name, 0, 1 4 ) . '…' . substr( $post_name, -14);1336 if ( strlen( $post_name ) > 34 ) { 1337 $post_name_abridged = substr( $post_name, 0, 16 ) . '…' . substr( $post_name, -16 ); 1338 1338 } else { 1339 1339 $post_name_abridged = $post_name;
Note: See TracChangeset
for help on using the changeset viewer.