mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 13:41:24 +01:00
Media: Improve form fields labels association in the Edit Media screen.
Fixes #34548. Built from https://develop.svn.wordpress.org/trunk@35493 git-svn-id: http://core.svn.wordpress.org/trunk@35457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d7485cf10b
commit
862cf19772
@ -2778,7 +2778,7 @@ function edit_form_image_editor( $post ) {
|
|||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<label for="content"><strong><?php _e( 'Description' ); ?></strong><?php
|
<label for="attachment_content"><strong><?php _e( 'Description' ); ?></strong><?php
|
||||||
if ( preg_match( '#^(audio|video)/#', $post->post_mime_type ) ) {
|
if ( preg_match( '#^(audio|video)/#', $post->post_mime_type ) ) {
|
||||||
echo ': ' . __( 'Displayed on attachment pages.' );
|
echo ': ' . __( 'Displayed on attachment pages.' );
|
||||||
} ?></label>
|
} ?></label>
|
||||||
@ -2813,7 +2813,7 @@ function attachment_submitbox_metadata() {
|
|||||||
?>
|
?>
|
||||||
<div class="misc-pub-section misc-pub-attachment">
|
<div class="misc-pub-section misc-pub-attachment">
|
||||||
<label for="attachment_url"><?php _e( 'File URL:' ); ?></label>
|
<label for="attachment_url"><?php _e( 'File URL:' ); ?></label>
|
||||||
<input type="text" class="widefat urlfield" readonly="readonly" name="attachment_url" value="<?php echo esc_attr($att_url); ?>" />
|
<input type="text" class="widefat urlfield" readonly="readonly" name="attachment_url" id="attachment_url" value="<?php echo esc_attr( $att_url ); ?>" />
|
||||||
</div>
|
</div>
|
||||||
<div class="misc-pub-section misc-pub-filename">
|
<div class="misc-pub-section misc-pub-filename">
|
||||||
<?php _e( 'File name:' ); ?> <strong><?php echo $filename; ?></strong>
|
<?php _e( 'File name:' ); ?> <strong><?php echo $filename; ?></strong>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-beta2-35492';
|
$wp_version = '4.4-beta2-35493';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user