Make WordPress Core

Ticket #35135: 35135.2.patch

File 35135.2.patch, 2.0 KB (added by afercia, 10 years ago)
  • src/wp-admin/includes/class-wp-links-list-table.php

     
    160160        }
    161161
    162162        /**
    163          * Handles the checkbox column ouput.
     163         * Handles the checkbox column output.
    164164         *
    165165         * @since 4.3.0
    166166         * @access public
     
    175175        }
    176176
    177177        /**
    178          * Handles the link name column ouput.
     178         * Handles the link name column output.
    179179         *
    180180         * @since 4.3.0
    181181         * @access public
     
    185185        public function column_name( $link ) {
    186186                $edit_link = get_edit_bookmark_link( $link );
    187187                ?>
    188                 <strong><a class="row-title" href="<?php echo $edit_link ?>" title="<?php
    189                         echo esc_attr( sprintf( __( 'Edit &#8220;%s&#8221;' ), $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 &#8220;%s&#8221;' ), $link->link_name ) );
     190                ?>"><?php echo $link->link_name; ?></a></strong><br />
    191191                <?php
    192192        }
    193193
    194194        /**
    195          * Handles the link URL column ouput.
     195         * Handles the link URL column output.
    196196         *
    197197         * @since 4.3.0
    198198         * @access public
     
    201201         */
    202202        public function column_url( $link ) {
    203203                $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>";
    205205        }
    206206
    207207        /**
     
    233233        }
    234234
    235235        /**
    236          * Handles the link relation column ouput.
     236         * Handles the link relation column output.
    237237         *
    238238         * @since 4.3.0
    239239         * @access public
     
    245245        }
    246246
    247247        /**
    248          * Handles the link visibility column ouput.
     248         * Handles the link visibility column output.
    249249         *
    250250         * @since 4.3.0
    251251         * @access public
     
    261261        }
    262262
    263263        /**
    264          * Handles the link rating column ouput.
     264         * Handles the link rating column output.
    265265         *
    266266         * @since 4.3.0
    267267         * @access public