It is 'Alternative Text', not 'Alternate Text'. props alecrust, RyanJKoehler. fixes #21176.
git-svn-id: http://core.svn.wordpress.org/trunk@21917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ef6148ba7e
commit
52320dc5b3
|
@ -807,7 +807,7 @@ function image_attachment_fields_to_edit($form_fields, $post) {
|
|||
|
||||
$form_fields['image_alt'] = array(
|
||||
'value' => $alt,
|
||||
'label' => __('Alternate Text'),
|
||||
'label' => __('Alternative Text'),
|
||||
'helps' => __('Alt text for the image, e.g. “The Mona Lisa”')
|
||||
);
|
||||
|
||||
|
@ -1975,7 +1975,7 @@ function wp_media_insert_url_form( $default_view = 'image' ) {
|
|||
|
||||
<tr class="image-only">
|
||||
<th valign="top" scope="row" class="label">
|
||||
<span class="alignleft"><label for="alt">' . __('Alternate Text') . '</label></span>
|
||||
<span class="alignleft"><label for="alt">' . __('Alternative Text') . '</label></span>
|
||||
</th>
|
||||
<td class="field"><input id="alt" name="alt" value="" type="text" aria-required="true" />
|
||||
<p class="help">' . __('Alt text for the image, e.g. “The Mona Lisa”') . '</p></td>
|
||||
|
|
|
@ -546,7 +546,7 @@ function wp_mce_translation() {
|
|||
's130' => __('130%'),
|
||||
'img_title' => __('Title'),
|
||||
'caption' => __('Caption'),
|
||||
'alt' => __('Alternate Text')
|
||||
'alt' => __('Alternative Text')
|
||||
);
|
||||
|
||||
$locale = _WP_Editors::$mce_locale;
|
||||
|
|
|
@ -1578,7 +1578,7 @@ if ( !function_exists( 'get_avatar' ) ) :
|
|||
* @param int|string|object $id_or_email A user ID, email address, or comment object
|
||||
* @param int $size Size of the avatar image
|
||||
* @param string $default URL to a default image to use if no avatar is available
|
||||
* @param string $alt Alternate text to use in image tag. Defaults to blank
|
||||
* @param string $alt Alternative text to use in image tag. Defaults to blank
|
||||
* @return string <img> tag for the user's avatar
|
||||
*/
|
||||
function get_avatar( $id_or_email, $size = '96', $default = '', $alt = false ) {
|
||||
|
|
Loading…
Reference in New Issue