Ticket #35135: 35135.patch
| File 35135.patch, 2.1 KB (added by , 10 years ago) |
|---|
-
src/wp-admin/includes/class-wp-links-list-table.php
160 160 } 161 161 162 162 /** 163 * Handles the checkbox column ou put.163 * Handles the checkbox column output. 164 164 * 165 165 * @since 4.3.0 166 166 * @access public … … 175 175 } 176 176 177 177 /** 178 * Handles the link name column ou put.178 * Handles the link name column output. 179 179 * 180 180 * @since 4.3.0 181 181 * @access public … … 185 185 public function column_name( $link ) { 186 186 $edit_link = get_edit_bookmark_link( $link ); 187 187 ?> 188 <strong><a class="row-title" href="<?php echo $edit_link ?>" title="<?php 189 echo esc_attr( sprintf( __( 'Edit “%s”' ), $link->link_name ) ); 190 ?>"><?php echo $link->link_name ?></a></strong><br /> 188 <strong><a class="row-title" href="<?php echo $edit_link ?>"> 189 <span aria-hidden="true"><?php echo $link->link_name; ?></span> 190 <span class="screen-reader-text"><?php printf( __( 'Edit “%s”' ), $link->link_name ); ?></span> 191 </a></strong><br /> 191 192 <?php 192 193 } 193 194 194 195 /** 195 * Handles the link URL column ou put.196 * Handles the link URL column output. 196 197 * 197 198 * @since 4.3.0 198 199 * @access public … … 201 202 */ 202 203 public function column_url( $link ) { 203 204 $short_url = url_shorten( $link->link_url ); 204 echo "<a href='$link->link_url' title='". esc_attr( sprintf( __( 'Visit %s' ), $link->link_name ) )."'>$short_url</a>";205 echo "<a href='$link->link_url'>$short_url</a>"; 205 206 } 206 207 207 208 /** … … 233 234 } 234 235 235 236 /** 236 * Handles the link relation column ou put.237 * Handles the link relation column output. 237 238 * 238 239 * @since 4.3.0 239 240 * @access public … … 245 246 } 246 247 247 248 /** 248 * Handles the link visibility column ou put.249 * Handles the link visibility column output. 249 250 * 250 251 * @since 4.3.0 251 252 * @access public … … 261 262 } 262 263 263 264 /** 264 * Handles the link rating column ou put.265 * Handles the link rating column output. 265 266 * 266 267 * @since 4.3.0 267 268 * @access public