Ticket #16538: 16538.diff
| File 16538.diff, 2.2 KB (added by solarissmoke, 2 years ago) |
|---|
-
wp-includes/general-template.php
156 156 require($search_form_template); 157 157 return; 158 158 } 159 159 160 $search_str = esc_attr__('Search'); 160 161 $form = '<form role="search" method="get" id="searchform" action="' . home_url( '/' ) . '" > 161 162 <div><label class="screen-reader-text" for="s">' . __('Search for:') . '</label> 162 <input type=" text" value="' . get_search_query() . '" name="s" id="s" />163 <input type="submit" id="searchsubmit" value="'. esc_attr__('Search').'" />163 <input type="search" value="' . get_search_query() . '" name="s" id="s" placeholder="' . $search_str . '" /> 164 <input type="submit" id="searchsubmit" value="'. $search_str .'" /> 164 165 </div> 165 166 </form>'; 166 167 -
wp-admin/js/post.dev.js
591 591 real_slug.attr('value', this.value); 592 592 }).focus(); 593 593 } 594 595 // fire editPermalink when page parent is modified 596 $("#parent_id").change( function() { 597 editPermalink( $("#post_ID").val() ); 598 }); 594 599 595 600 makeSlugeditClickable = function() { 596 601 $('#editable-post-name').click(function() { -
wp-admin/edit-form-advanced.php
210 210 <?php endif; ?> 211 211 <form name="post" action="post.php" method="post" id="post"<?php do_action('post_edit_form_tag'); ?>> 212 212 <?php wp_nonce_field($nonce_action); ?> 213 <input type="hidden" id="parent_id"name="parent_id" value="<?php echo esc_attr( $post->post_parent ); ?>" />213 <input type="hidden" name="parent_id" value="<?php echo esc_attr( $post->post_parent ); ?>" /> 214 214 <input type="hidden" id="user-id" name="user_ID" value="<?php echo (int) $user_ID ?>" /> 215 215 <input type="hidden" id="hiddenaction" name="action" value="<?php echo esc_attr( $form_action ) ?>" /> 216 216 <input type="hidden" id="originalaction" name="originalaction" value="<?php echo esc_attr( $form_action ) ?>" />
