Ticket #21754: 21754.patch
File 21754.patch, 4.1 KB (added by , 12 years ago) |
---|
-
wp-admin/includes/dashboard.php
503 503 ?> 504 504 505 505 <form name="post" action="<?php echo esc_url( admin_url( 'post.php' ) ); ?>" method="post" id="quick-press"> 506 <h4 id="quick-post-title"><label for="title"><?php _e('Title') ?></label></h4>507 506 <div class="input-text-wrap"> 508 <input type="text" name="post_title" id="title" autocomplete="off" value="<?php echo esc_attr( $post->post_title ); ?>" /> 507 <label class="screen-reader-text" for="title"><?php _e( 'Enter title here' ); ?></label> 508 <input type="text" name="post_title" id="title" placeholder="<?php esc_attr_e( 'Enter title here' ) ?>" autocomplete="off" value="<?php echo esc_attr( $post->post_title ); ?>" /> 509 509 </div> 510 510 511 511 <?php if ( current_user_can( 'upload_files' ) ) : ?> … … 514 514 </div> 515 515 <?php endif; ?> 516 516 517 <h4 id="content-label"><label for="content"><?php _e('Content') ?></label></h4>518 517 <div class="textarea-wrap"> 518 <label class="screen-reader-text" for="content"><?php _e( 'Content' ); ?></label> 519 519 <textarea name="content" id="content" class="mceEditor" rows="3" cols="15"><?php echo esc_textarea( $post->post_content ); ?></textarea> 520 520 </div> 521 521 522 522 <script type="text/javascript">edCanvas = document.getElementById('content');edInsertContent = null;</script> 523 523 524 <h4><label for="tags-input"><?php _e('Tags') ?></label></h4>525 524 <div class="input-text-wrap"> 526 <input type="text" name="tags_input" id="tags-input" value="<?php echo get_tags_to_edit( $post->ID ); ?>" /> 525 <label class="screen-reader-text" for="tags-input"><?php _e( 'Tags (separate with commas)' ); ?></label> 526 <input type="text" name="tags_input" id="tags-input" placeholder="<?php esc_attr_e( 'Tags (separate with commas)' ) ?>" value="<?php echo get_tags_to_edit( $post->ID ); ?>" /> 527 527 </div> 528 528 529 529 <p class="submit"> -
wp-admin/css/wp-admin.css
6018 6018 } 6019 6019 6020 6020 /* QuickPress */ 6021 #dashboard_quick_press h4 { 6022 font-family: sans-serif; 6023 float: left; 6024 width: 5em; 6025 clear: both; 6026 font-weight: normal; 6027 text-align: right; 6028 font-size: 12px; 6021 #dashboard_quick_press #title { 6022 padding: 1px 5px; 6023 font-size: 1.5em; 6024 line-height: 100%; 6029 6025 } 6030 6026 6031 #dashboard_quick_press h4 label {6032 margin-right: 10px;6033 }6034 6035 6027 #dashboard_quick_press .input-text-wrap, 6036 6028 #dashboard_quick_press .textarea-wrap { 6037 margin: 0 0 1em 5em;6029 margin: 0 0 1em 0; 6038 6030 } 6039 6031 6040 6032 #dashboard_quick_press .wp-media-buttons { 6041 margin: 0 0 .5em 5em;6033 margin: 0 0 .5em 0; 6042 6034 padding: 0; 6043 6035 } 6044 6036 … … 6046 6038 color: #777; 6047 6039 } 6048 6040 6049 #dashboard-widgets #dashboard_quick_press form p.submit {6050 margin-left: 4.6em;6051 }6052 6053 6041 #dashboard-widgets #dashboard_quick_press form p.submit input { 6054 6042 float: left; 6055 6043 } 6056 6044 6057 6045 #dashboard-widgets #dashboard_quick_press form p.submit #save-post { 6058 margin: 0 1em 0 10px;6046 margin: 0 1em 0 0; 6059 6047 } 6060 6048 6061 6049 #dashboard-widgets #dashboard_quick_press form p.submit #publish { -
wp-admin/css/wp-admin-rtl.css
1850 1850 } 1851 1851 1852 1852 /* QuickPress */ 1853 #dashboard_quick_press h4 {1854 float: right;1855 text-align: left;1856 }1857 1858 #dashboard_quick_press .wp-media-buttons {1859 margin: 0 5em 0.5em 0;1860 }1861 1862 #dashboard_quick_press h4 label {1863 margin-right: 0;1864 margin-left: 10px;1865 }1866 1867 #dashboard_quick_press .input-text-wrap,1868 #dashboard_quick_press .textarea-wrap {1869 margin: 0 5em 1em 0;1870 }1871 1872 #dashboard_quick_press #media-buttons {1873 margin: 0 5em .5em 0;1874 padding: 0;1875 }1876 1877 #dashboard-widgets #dashboard_quick_press form p.submit {1878 margin-left: 0;1879 margin-right: 4.6em;1880 }1881 1882 1853 #dashboard-widgets #dashboard_quick_press form p.submit input { 1883 1854 float: right; 1884 1855 } 1885 1856 1886 1857 #dashboard-widgets #dashboard_quick_press form p.submit #save-post { 1887 margin: 0 10px0 1em;1858 margin: 0 0 0 1em; 1888 1859 } 1889 1860 1890 1861 #dashboard-widgets #dashboard_quick_press form p.submit #publish {