Changeset 38147 for trunk/src/wp-admin/includes/post.php
- Timestamp:
- 07/23/2016 01:04:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r38137 r38147 1330 1330 } 1331 1331 } else { 1332 if ( function_exists( 'mb_strlen' ) ) { 1333 if ( mb_strlen( $post_name ) > 34 ) { 1334 $post_name_abridged = mb_substr( $post_name, 0, 16 ) . '…' . mb_substr( $post_name, -16 ); 1335 } else { 1336 $post_name_abridged = $post_name; 1337 } 1332 if ( mb_strlen( $post_name ) > 34 ) { 1333 $post_name_abridged = mb_substr( $post_name, 0, 16 ) . '…' . mb_substr( $post_name, -16 ); 1338 1334 } else { 1339 if ( strlen( $post_name ) > 34 ) { 1340 $post_name_abridged = substr( $post_name, 0, 16 ) . '…' . substr( $post_name, -16 ); 1341 } else { 1342 $post_name_abridged = $post_name; 1343 } 1335 $post_name_abridged = $post_name; 1344 1336 } 1345 1337
Note: See TracChangeset
for help on using the changeset viewer.