Ticket #5962: invalid-html.diff
| File invalid-html.diff, 13.9 KB (added by , 18 years ago) |
|---|
-
wp-admin/users.php
320 320 <p><a href="users.php"><?php _e('« Back to All Users'); ?></a></p> 321 321 <?php endif; ?> 322 322 323 <form action="" method="post" name="updateusers" id="updateusers">324 <?php wp_nonce_field('bulk-users') ?>325 323 <table class="widefat"> 326 324 <tbody> 327 325 <tr class="thead"> -
wp-admin/edit-comments.php
96 96 <input type="hidden" name="page" value="<?php echo $page; ?>" /> 97 97 <input type="hidden" name="s" value="<?php echo attribute_escape(@$_GET['s']); ?>" /> 98 98 <?php wp_nonce_field( 'add-comment', '_ajax_nonce', false ); ?> 99 </form> 99 100 </div> 100 101 <?php endif; // $extra_comments ?> 101 102 -
wp-admin/includes/widgets.php
124 124 ?> 125 125 126 126 <ul class="widget-control-list"> 127 127 <li /> 128 128 <?php 129 129 foreach ( $widgets as $key => $widget ) 130 130 wp_widget_control( $key, $widget, $key == $edit_widget ? 'edit' : 'display' ); … … 170 170 171 171 <?php else : ?> 172 172 173 <a class="widget-action widget-control-edit" href="<?php echo add_query_arg( array( 'edit' => $id_format, 'key' => $key) ); ?>"><?php _e('Edit'); ?></a>173 <a class="widget-action widget-control-edit" href="<?php echo clean_url( add_query_arg( array( 'edit' => $id_format, 'key' => $key ) ) ); ?>"><?php _e('Edit'); ?></a> 174 174 175 175 <?php endif; ?> 176 176 … … 196 196 197 197 <?php endif; ?> 198 198 199 <a class="widget-action widget-control-remove delete alignright" href="<?php echo add_query_arg( array( 'remove' => $id_format, 'key' => $key ), wp_nonce_url( null, "remove-widget_$widget[id]") ); ?>"><?php _e('Remove'); ?></a>199 <a class="widget-action widget-control-remove delete alignright" href="<?php echo clean_url( add_query_arg( array( 'remove' => $id_format, 'key' => $key ), wp_nonce_url( null, "remove-widget_$widget[id]" ) ) ); ?>"><?php _e('Remove'); ?></a> 200 200 <br class="clear" /> 201 201 </div> 202 202 </div> -
wp-admin/includes/template.php
84 84 '<th scope="row" class="check-column"> <input type="checkbox" name="delete[]" value="' . $category->term_id . '" /></th>' . 85 85 "<td>$edit</td> 86 86 <td>$category->description</td> 87 <td align='center'>$count</td> ";87 <td align='center'>$count</td></tr>"; 88 88 89 89 return apply_filters( 'link_cat_row', $output ); 90 90 } … … 236 236 $out .= '<tr id="tag-' . $tag->term_id . '"' . $class . '>'; 237 237 $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>'; 238 238 $out .= '<td><a href="edit-tags.php?action=edit&tag_ID=' . $tag->term_id . '">' . 239 apply_filters( 'term_name', $tag->name ) . '</ td>';239 apply_filters( 'term_name', $tag->name ) . '</a></td>'; 240 240 241 241 $out .= "<td>$count</td>"; 242 242 $out .= '</tr>'; … … 403 403 if ( empty($title) ) 404 404 $title = __('(no title)'); 405 405 ?> 406 <td><strong><a href="page.php?action=edit& post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong>406 <td><strong><a href="page.php?action=edit&post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong> 407 407 <?php if ('private' == $page->post_status) _e(' — <strong>Private</strong>'); ?></td> 408 408 <?php 409 409 break; … … 543 543 $short_url = substr( $short_url, 0, 32 ).'...'; 544 544 $numposts = get_usernumposts( $user_object->ID ); 545 545 if ( current_user_can( 'edit_user', $user_object->ID ) ) { 546 $edit = add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user_object->ID");546 $edit = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user_object->ID" ) ); 547 547 $edit = "<a href=\"$edit\">$user_object->user_login</a>"; 548 548 } else { 549 549 $edit = $user_object->user_login; … … 616 616 <?php 617 617 if ( current_user_can('edit_post', $comment->comment_post_ID) ) { 618 618 echo " <a href='comment.php?action=editcomment&c=$id'>" . __('Edit') . '</a>'; 619 $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment& p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) );619 $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) ); 620 620 echo " | <a href='$url' class='delete:the-comment-list:comment-$id'>" . __('Delete') . '</a> '; 621 621 if ( ('none' != $comment_status) && ( current_user_can('moderate_comments') ) ) { 622 $url = clean_url( wp_nonce_url( "comment.php?action=unapprovecomment& p=$comment->comment_post_ID&c=$id", "unapprove-comment_$id" ) );622 $url = clean_url( wp_nonce_url( "comment.php?action=unapprovecomment&p=$comment->comment_post_ID&c=$id", "unapprove-comment_$id" ) ); 623 623 echo "<span class='unapprove'> | <a href='$url' class='dim:the-comment-list:comment-$id:unapproved:FFFF33'>" . __('Unapprove') . '</a> </span>'; 624 $url = clean_url( wp_nonce_url( "comment.php?action=approvecomment& p=$comment->comment_post_ID&c=$id", "approve-comment_$id" ) );624 $url = clean_url( wp_nonce_url( "comment.php?action=approvecomment&p=$comment->comment_post_ID&c=$id", "approve-comment_$id" ) ); 625 625 echo "<span class='approve'> | <a href='$url' class='dim:the-comment-list:comment-$id:unapproved:33FF33:33FF33'>" . __('Approve') . '</a> </span>'; 626 626 } 627 $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment& dt=spam&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) );627 $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&dt=spam&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) ); 628 628 echo " | <a href='$url' class='delete:the-comment-list:comment-$id::spam=1'>" . __('Spam') . '</a> '; 629 629 } 630 630 if ( !is_single() ) { -
wp-admin/includes/media.php
145 145 $uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID); 146 146 $multimedia_upload_iframe_src = "media-upload.php?type=multimedia&post_id=$uploading_iframe_ID"; 147 147 $multimedia_upload_iframe_src = apply_filters('multimedia_upload_iframe_src', $multimedia_upload_iframe_src); 148 echo "<a href='$multimedia_upload_iframe_src& TB_iframe=true&height=500&width=640' class='button thickbox'>" . __('Add media'). '</a>';148 echo "<a href='$multimedia_upload_iframe_src&TB_iframe=true&height=500&width=640' class='button thickbox'>" . __('Add media'). '</a>'; 149 149 } 150 150 add_action( 'media_buttons', 'media_buttons' ); 151 151 -
wp-admin/edit-post-rows.php
68 68 if ( empty($title) ) 69 69 $title = __('(no title)'); 70 70 ?> 71 <td><strong><a href="post.php?action=edit& post=<?php the_ID(); ?>"><?php echo $title ?></a></strong>71 <td><strong><a href="post.php?action=edit&post=<?php the_ID(); ?>"><?php echo $title ?></a></strong> 72 72 <?php if ('private' == $post->post_status) _e(' — <strong>Private</strong>'); ?></td> 73 73 <?php 74 74 break; -
wp-admin/moderation.php
171 171 | <?php _e( 'IP:' ); ?> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP(); ?>"><?php comment_author_IP(); ?></a> 172 172 </p> 173 173 174 <p> 175 <?php comment_text(); ?> 176 </p> 174 <?php comment_text(); ?> 177 175 178 176 <p> 179 177 <?php comment_date( __( 'M j, g:i A' ) ); ?> … … 237 235 </script> 238 236 </form> 239 237 </div> 240 <?php include_once './admin-footer.php'; ?> 241 No newline at end of file 238 <?php include_once './admin-footer.php'; ?> -
wp-admin/edit-attachment-rows.php
46 46 47 47 case 'media': 48 48 ?> 49 <td><strong><a href="# TODO: upload.php?action=edit& post=<?php the_ID(); ?>"><?php the_title(); ?></a></strong><br />49 <td><strong><a href="# TODO: upload.php?action=edit&post=<?php the_ID(); ?>"><?php the_title(); ?></a></strong><br /> 50 50 <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', $post->guid)); ?> 51 51 <?php do_action('manage_media_media_column', $post->ID); ?> 52 52 </td> … … 85 85 if ( empty($title) ) 86 86 $title = __('(no title)'); 87 87 ?> 88 <td><strong><a href="post.php?action=edit& post=<?php echo $post->post_parent; ?>"><?php echo $title ?></a></strong></td>88 <td><strong><a href="post.php?action=edit&post=<?php echo $post->post_parent; ?>"><?php echo $title ?></a></strong></td> 89 89 <?php 90 90 break; 91 91 -
wp-admin/options-discussion.php
51 51 <br /> 52 52 <label for="require_name_email"><input type="checkbox" name="require_name_email" id="require_name_email" value="1" <?php checked('1', get_option('require_name_email')); ?> /> <?php _e('Comment author must fill out name and e-mail') ?></label> 53 53 <br /> 54 <label for="comment_whitelist"><input type="checkbox" name="comment_whitelist" id="comment_whitelist" value="1" <?php checked('1', get_option('comment_whitelist')); ?> /> <?php _e('Comment author must have a previously approved comment') ?></label></li> 55 </ul> 54 <label for="comment_whitelist"><input type="checkbox" name="comment_whitelist" id="comment_whitelist" value="1" <?php checked('1', get_option('comment_whitelist')); ?> /> <?php _e('Comment author must have a previously approved comment') ?></label> 56 55 </td> 57 56 </tr> 58 57 <tr valign="top"> -
wp-admin/plugins.php
152 152 <?php 153 153 } // endif active/inactive plugin check 154 154 ?> 155 </td> 155 156 </tr> 156 157 157 158 </table> -
wp-admin/link-manager.php
211 211 ?> 212 212 </tbody> 213 213 </table> 214 215 <?php } else { ?> 216 <p><?php _e('No links found.') ?></p> 217 <?php } ?> 214 218 </form> 215 219 216 220 <div id="ajax-response"></div> … … 219 223 <br style="clear:both;" /> 220 224 </div> 221 225 222 <?php } ?>223 226 224 227 </div> 225 228 -
wp-admin/widgets.php
181 181 <h2><?php _e( 'Widgets' ); ?></h2> 182 182 <p id="widget-search"> 183 183 <input type="text" id="widget-search-input" name="s" value="<?php echo attribute_escape( $widget_search ); ?>" /> 184 <input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" class="button"/>184 <input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" /> 185 185 </p> 186 186 187 187 <div class="widget-liquid-left-holder"> -
wp-admin/options-permalink.php
130 130 <table class="niceblue"> 131 131 <tr> 132 132 <th><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th> 133 <td><code><?php echo get_option('home'); ?>/?p=123</code></ span></td>133 <td><code><?php echo get_option('home'); ?>/?p=123</code></td> 134 134 </tr> 135 135 <tr> 136 136 <th><label><input name="selection" type="radio" value="<?php echo $structures[1]; ?>" class="tog" <?php checked($structures[1], $permalink_structure); ?> /> <?php _e('Date and name based'); ?></label></th> -
wp-admin/options-writing.php
76 76 <label for="medium_size_w"><?php _e('Width'); ?></label> 77 77 <input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" size="6" /> 78 78 <label for="medium_size_h"><?php _e('Height'); ?></label> 79 <input name="medium_size_h" type="text" id=" thumbnail_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" />79 <input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" /> 80 80 </td> 81 81 </tr> 82 82 </table> … … 128 128 129 129 <?php else : ?> 130 130 131 <p><?php printf(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your blog\'s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?> 131 <p><?php printf(__('WordPress is not notifying any <a href="http://codex.wordpress.org/Update_Services">Update Services</a> because of your blog\'s <a href="%s">privacy settings</a>.'), 'options-privacy.php'); ?></p> 132 132 133 133 <?php endif; ?> 134 134 -
wp-admin/edit-pages.php
53 53 } 54 54 55 55 ?> 56 <script >56 <script type="text/javascript"> 57 57 /* <![CDATA[ */ 58 58 jQuery(function($){$('#the-list').wpList();}); 59 59 /* ]]> */ … … 146 146 <?php 147 147 } else { 148 148 ?> 149 </form> 149 150 <p><?php _e('No pages found.') ?></p> 150 151 <?php 151 152 } // end if ($posts)
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)