Make WordPress Core

Changeset 36142


Ignore:
Timestamp:
01/01/2016 12:10:00 PM (9 years ago)
Author:
afercia
Message:

Accessibility: Don't mark up "URL" as an abbreviation.

"URL" has essentially entered language as a self-contained concept, there's
no more need to expand it with an <abbr> element and a title attribute.

Fixes #35174.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-permalink.php

    r35604 r36142  
    223223<p><?php
    224224/* translators: %s is a placeholder that must come at the start of the URL. */
    225 printf( __('If you like, you may enter custom structures for your category and tag <abbr title="Universal Resource Locator">URL</abbr>s here. For example, using <code>topics</code> as your category base would make your category links like <code>%s/topics/uncategorized/</code>. If you leave these blank the defaults will be used.'), get_option('home') . $blog_prefix . $prefix ); ?></p>
     225printf( __( 'If you like, you may enter custom structures for your category and tag URLs here. For example, using <code>topics</code> as your category base would make your category links like <code>%s/topics/uncategorized/</code>. If you leave these blank the defaults will be used.' ), get_option( 'home' ) . $blog_prefix . $prefix ); ?></p>
    226226
    227227<table class="form-table">
  • trunk/src/wp-admin/options-writing.php

    r34912 r36142  
    161161<?php if ( 1 == get_option('blog_public') ) : ?>
    162162
    163 <p><label for="ping_sites"><?php _e('When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="https://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service <abbr title="Universal Resource Locator">URL</abbr>s with line breaks.') ?></label></p>
     163<p><label for="ping_sites"><?php _e( 'When you publish a new post, WordPress automatically notifies the following site update services. For more about this, see <a href="https://codex.wordpress.org/Update_Services">Update Services</a> on the Codex. Separate multiple service URLs with line breaks.' ) ?></label></p>
    164164
    165165<textarea name="ping_sites" id="ping_sites" class="large-text code" rows="3"><?php echo esc_textarea( get_option('ping_sites') ); ?></textarea>
Note: See TracChangeset for help on using the changeset viewer.