Make WordPress Core


Ignore:
Timestamp:
05/23/2017 05:57:42 PM (8 years ago)
Author:
afercia
Message:

Administration: Fix some HTML validation errors.

Fixes some minor HTML issues in the admin and, most notably, changes the rel
attribute used in the List Tables from rel="permalink" to rel="bookmark".

Props mihai2u, pento, arena, topher1kenobe, michalzuber, stubgo.
Fixes #37004.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-media-list-table.php

    r40309 r40823  
    679679            }
    680680            $actions['view'] = sprintf(
    681                 '<a href="%s" aria-label="%s" rel="permalink">%s</a>',
     681                '<a href="%s" aria-label="%s" rel="bookmark">%s</a>',
    682682                get_permalink( $post->ID ),
    683683                /* translators: %s: attachment title */
     
    738738            if ( ! $this->is_trash ) {
    739739                $actions['view'] = sprintf(
    740                     '<a href="%s" aria-label="%s" rel="permalink">%s</a>',
     740                    '<a href="%s" aria-label="%s" rel="bookmark">%s</a>',
    741741                    get_permalink( $post->ID ),
    742742                    /* translators: %s: attachment title */
Note: See TracChangeset for help on using the changeset viewer.