Ticket #29573: 29573.5.patch
File 29573.5.patch, 1.7 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/edit.css
114 114 115 115 #editable-post-name { 116 116 background-color: #fffbcc; 117 overflow: hidden; 118 max-width: 16em; 119 display: inline-block; 120 white-space: nowrap; 121 vertical-align: top; 122 text-overflow: ellipsis; 117 123 } 118 124 119 125 #editable-post-name input { 120 126 font-size: 13px; 121 height: 2 2px;127 height: 24px; 122 128 margin: 0; 123 129 width: 16em; 124 130 } -
src/wp-admin/includes/post.php
1214 1214 $return .= '<span id="change-permalinks"><a href="options-permalink.php" class="button button-small" target="_blank">' . __('Change Permalinks') . "</a></span>\n"; 1215 1215 } 1216 1216 } else { 1217 if ( function_exists( 'mb_strlen' ) && mb_strlen( $post_name ) > 30 ) { 1218 $post_name_abridged = mb_substr( $post_name, 0, 14 ) . '…' . mb_substr( $post_name, -14 ); 1219 } elseif ( strlen( $post_name ) > 30 ) { 1220 $post_name_abridged = substr( $post_name, 0, 14 ) . '…' . substr( $post_name, -14 ); 1221 } else { 1222 $post_name_abridged = $post_name; 1223 } 1224 1225 $post_name_html = '<span id="editable-post-name" title="' . $title . '">' . $post_name_abridged . '</span>'; 1217 $post_name_html = '<span id="editable-post-name" title="' . $title . '">' . $post_name . '</span>'; 1226 1218 $display_link = str_replace( array( '%pagename%', '%postname%' ), $post_name_html, urldecode( $permalink ) ); 1227 1219 1228 1220 $return = '<strong>' . __( 'Permalink:' ) . "</strong>\n";