Ticket #35135: 35135.2.patch
| File 35135.2.patch, 2.0 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="<?php189 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 189 echo $edit_link ?>" aria-label="<?php esc_attr_e( sprintf( __( 'Edit “%s”' ), $link->link_name ) ); 190 ?>"><?php echo $link->link_name; ?></a></strong><br /> 191 191 <?php 192 192 } 193 193 194 194 /** 195 * Handles the link URL column ou put.195 * Handles the link URL column output. 196 196 * 197 197 * @since 4.3.0 198 198 * @access public … … 201 201 */ 202 202 public function column_url( $link ) { 203 203 $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>";204 echo "<a href='$link->link_url'>$short_url</a>"; 205 205 } 206 206 207 207 /** … … 233 233 } 234 234 235 235 /** 236 * Handles the link relation column ou put.236 * Handles the link relation column output. 237 237 * 238 238 * @since 4.3.0 239 239 * @access public … … 245 245 } 246 246 247 247 /** 248 * Handles the link visibility column ou put.248 * Handles the link visibility column output. 249 249 * 250 250 * @since 4.3.0 251 251 * @access public … … 261 261 } 262 262 263 263 /** 264 * Handles the link rating column ou put.264 * Handles the link rating column output. 265 265 * 266 266 * @since 4.3.0 267 267 * @access public