PressThis: add a wrapped with role = application to the categories section.

Props: afercia. See #31443.
Built from https://develop.svn.wordpress.org/trunk@31775


git-svn-id: http://core.svn.wordpress.org/trunk@31755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-03-13 23:41:27 +00:00
parent a4d4c9f82a
commit 634df7e4a4
2 changed files with 6 additions and 4 deletions

View File

@ -793,9 +793,11 @@ class WP_Press_This {
<span class="dashicons dashicons-search"></span><span class="screen-reader-text"><?php _e( 'Search categories' ); ?></span>
</label>
</div>
<ul class="categories-select" aria-label="<?php esc_attr_e( 'Categories' ); ?>">
<?php wp_terms_checklist( $post->ID, array( 'taxonomy' => 'category', 'list_only' => true ) ); ?>
</ul>
<div role="application" aria-label="<?php esc_attr_e( 'Categories' ); ?>">
<ul class="categories-select">
<?php wp_terms_checklist( $post->ID, array( 'taxonomy' => 'category', 'list_only' => true ) ); ?>
</ul>
</div>
<?php
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-beta1-31774';
$wp_version = '4.2-beta1-31775';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.