Make WordPress Core

Changeset 31775


Ignore:
Timestamp:
03/13/2015 11:40:53 PM (11 years ago)
Author:
azaozz
Message:

PressThis: add a wrapped with role = application to the categories section.
Props: afercia. See #31443.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-press-this.php

    r31765 r31775  
    794794            </label>
    795795        </div>
    796         <ul class="categories-select" aria-label="<?php esc_attr_e( 'Categories' ); ?>">
    797             <?php wp_terms_checklist( $post->ID, array( 'taxonomy' => 'category', 'list_only' => true ) ); ?>
    798         </ul>
     796        <div role="application" aria-label="<?php esc_attr_e( 'Categories' ); ?>">
     797            <ul class="categories-select">
     798                <?php wp_terms_checklist( $post->ID, array( 'taxonomy' => 'category', 'list_only' => true ) ); ?>
     799            </ul>
     800        </div>
    799801        <?php
    800802    }
Note: See TracChangeset for help on using the changeset viewer.