Ticket #19254: 19254-refresh.diff

File 19254-refresh.diff, 2.4 KB (added by DrewAPicture, 7 months ago)
Line 
1Index: wp-admin/includes/media.php
2===================================================================
3--- wp-admin/includes/media.php (revision 22359)
4+++ wp-admin/includes/media.php (working copy)
5@@ -1945,7 +1945,7 @@
6                $caption = '
7                <tr class="image-only">
8                        <th valign="top" scope="row" class="label">
9-                               <span class="alignleft"><label for="caption">' . __('Image Caption') . '</label></span>
10+                               <label for="caption"><span class="alignleft">' . __( 'Image Caption' ) . '</span></label>
11                        </th>
12                        <td class="field"><textarea id="caption" name="caption"></textarea></td>
13                </tr>
14@@ -1970,7 +1970,7 @@
15        <table class="describe ' . $table_class . '"><tbody>
16                <tr>
17                        <th valign="top" scope="row" class="label" style="width:130px;">
18-                               <span class="alignleft"><label for="src">' . __('URL') . '</label></span>
19+                               <label for="src"><span class="alignleft">' . __( 'URL' ) . '</span></label>
20                                <span class="alignright"><abbr id="status_img" title="required" class="required">*</abbr></span>
21                        </th>
22                        <td class="field"><input id="src" name="src" value="" type="text" aria-required="true" onblur="addExtImage.getImageData()" /></td>
23@@ -1978,7 +1978,7 @@
24 
25                <tr>
26                        <th valign="top" scope="row" class="label">
27-                               <span class="alignleft"><label for="title">' . __('Title') . '</label></span>
28+                               <label for="title"><span class="alignleft">' . __( 'Title' ) . '</span></label>
29                                <span class="alignright"><abbr title="required" class="required">*</abbr></span>
30                        </th>
31                        <td class="field"><input id="title" name="title" value="" type="text" aria-required="true" /></td>
32@@ -1988,7 +1988,7 @@
33 
34                <tr class="image-only">
35                        <th valign="top" scope="row" class="label">
36-                               <span class="alignleft"><label for="alt">' . __('Alternative Text') . '</label></span>
37+                               <label for="alt"><span class="alignleft">' . __( 'Alternative Text' ) . '</span></label>
38                        </th>
39                        <td class="field"><input id="alt" name="alt" value="" type="text" aria-required="true" />
40                        <p class="help">' . __('Alt text for the image, e.g. &#8220;The Mona Lisa&#8221;') . '</p></td>
41@@ -2010,7 +2010,7 @@
42 
43                <tr class="image-only">
44                        <th valign="top" scope="row" class="label">
45-                               <span class="alignleft"><label for="url">' . __('Link Image To:') . '</label></span>
46+                               <label for="url"><span class="alignleft">' . __( 'Link Image To:' ) . '</span></label>
47                        </th>
48                        <td class="field"><input id="url" name="url" value="" type="text" /><br />
49