Ticket #23938: 23938-4.patch
| File 23938-4.patch, 4.7 KB (added by , 13 years ago) |
|---|
-
wp-admin/css/wp-admin.css
3167 3167 display: block; 3168 3168 } 3169 3169 3170 .wp-format-quote .wp-format-link input::-webkit-input-placeholder, 3171 .wp-format-image .wp-format-link input::-webkit-input-placeholder { 3172 color: transparent; 3173 } 3174 3175 .wp-format-quote .wp-format-link input:-moz-placeholder, 3176 .wp-format-image .wp-format-link input:-moz-placeholder { 3177 color: transparent; 3178 } 3179 3180 .wp-format-quote .wp-format-link input::-moz-placeholder, 3181 .wp-format-image .wp-format-link input::-moz-placeholder { 3182 color: transparent; 3183 } 3184 3185 .wp-format-quote .wp-format-link input:-ms-input-placeholder, 3186 .wp-format-image .wp-format-link input:-ms-input-placeholder { 3187 color: transparent; 3188 } 3189 3190 .wp-format-quote .wp-format-link label.screen-reader-text, 3191 .wp-format-image .wp-format-link label.screen-reader-text { 3192 position: static; 3193 height: auto; 3194 width: auto; 3195 overflow: visible; 3196 } 3197 3198 .wp-format-quote label, 3199 .wp-format-image .wp-format-link label { 3200 padding: 2px; 3201 } 3202 3170 3203 .post-formats-fields .field { 3171 3204 display: none; 3172 3205 margin-bottom: 10px; -
wp-admin/includes/post-formats.php
9 9 <input type="hidden" name="post_format" id="post_format" value="<?php echo esc_attr( $post_format ); ?>" /> 10 10 11 11 <div class="field wp-format-quote"> 12 <label for="_wp_format_quote" class="screen-reader-text"><?php _e( 'Quote' ); ?>:</label>13 <textarea name="_wp_format_quote" placeholder="<?php esc_attr_e( 'Quote' ); ?>"class="widefat"><?php echo esc_textarea( $format_meta['quote'] ); ?></textarea>12 <label for="_wp_format_quote"><?php _e( 'Quote' ); ?></label> 13 <textarea name="_wp_format_quote" class="widefat"><?php echo esc_textarea( $format_meta['quote'] ); ?></textarea> 14 14 </div> 15 15 16 16 <div class="field wp-format-quote"> 17 <label for="_wp_format_quote_source" class="screen-reader-text"><?php _e( 'Quote source' ); ?>:</label>18 <input type="text" name="_wp_format_quote_source" value="<?php echo esc_attr( $format_meta['quote_source'] ); ?>" placeholder="<?php esc_attr_e( 'Quote source' ); ?>"class="widefat" />17 <label for="_wp_format_quote_source"><?php _e( 'Quote source' ); ?></label> 18 <input type="text" name="_wp_format_quote_source" value="<?php echo esc_attr( $format_meta['quote_source'] ); ?>" class="widefat" /> 19 19 </div> 20 20 21 21 <?php … … 38 38 ?> 39 39 </a> 40 40 </div> 41 <label for="_wp_format_image" class="screen-reader-text"><?php _e( 'Attachment ID' ); ?> :</label>41 <label for="_wp_format_image" class="screen-reader-text"><?php _e( 'Attachment ID' ); ?></label> 42 42 <input id="wp_format_image" type="hidden" name="_wp_format_image" value="<?php echo esc_attr( $format_meta['image'] ); ?>" placeholder="<?php esc_attr_e( 'Attachment ID' ); ?>" class="widefat" /> 43 43 </div> 44 44 45 45 <div class="field wp-format-link wp-format-quote wp-format-image"> 46 <label for="_wp_format_url" class="screen-reader-text"><?php _e( 'Link URL' ); ?> :</label>46 <label for="_wp_format_url" class="screen-reader-text"><?php _e( 'Link URL' ); ?></label> 47 47 <input type="text" name="_wp_format_url" value="<?php echo esc_url( $format_meta['url'] ); ?>" placeholder="<?php esc_attr_e( 'Link URL' ); ?>" class="widefat" /> 48 48 </div> 49 49 … … 70 70 ?> 71 71 </div> 72 72 <?php endif ?> 73 <label for="_wp_format_video" class="screen-reader-text"><?php _e( 'Video embed code or URL' ); ?> :</label>73 <label for="_wp_format_video" class="screen-reader-text"><?php _e( 'Video embed code or URL' ); ?></label> 74 74 <textarea id="wp_format_video" type="text" name="_wp_format_video" placeholder="<?php esc_attr_e( 'Video embed code or URL' ); ?>" class="widefat"><?php esc_html_e( $format_meta['video'] ); ?></textarea> 75 75 <div data-format="video" class="wp-format-media-holder hide-if-no-js<?php if ( ! $image ) echo ' empty'; ?>"> 76 76 <a href="#" class="wp-format-media-select" … … 104 104 ?> 105 105 </div> 106 106 <?php endif ?> 107 <label for="_wp_format_audio" class="screen-reader-text"><?php _e( 'Audio embed code or URL' ); ?> :</label>107 <label for="_wp_format_audio" class="screen-reader-text"><?php _e( 'Audio embed code or URL' ); ?></label> 108 108 <textarea id="wp_format_audio" name="_wp_format_audio" placeholder="<?php esc_attr_e( 'Audio embed code or URL' ); ?>" class="widefat"><?php esc_html_e( $format_meta['audio'] ); 109 109 ?></textarea> 110 110 <div data-format="audio" class="wp-format-media-holder hide-if-no-js<?php if ( empty( $format_meta['audio'] ) ) echo ' empty'; ?>"> … … 113 113 </a> 114 114 </div> 115 115 </div> 116 </div> 117 No newline at end of file 116 </div>