| 1 | Index: wp-admin/users.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-admin/users.php (revision 6979) |
|---|
| 4 | +++ wp-admin/users.php (working copy) |
|---|
| 5 | @@ -320,8 +320,6 @@ |
|---|
| 6 | <p><a href="users.php"><?php _e('« Back to All Users'); ?></a></p> |
|---|
| 7 | <?php endif; ?> |
|---|
| 8 | |
|---|
| 9 | -<form action="" method="post" name="updateusers" id="updateusers"> |
|---|
| 10 | -<?php wp_nonce_field('bulk-users') ?> |
|---|
| 11 | <table class="widefat"> |
|---|
| 12 | <tbody> |
|---|
| 13 | <tr class="thead"> |
|---|
| 14 | Index: wp-admin/edit-comments.php |
|---|
| 15 | =================================================================== |
|---|
| 16 | --- wp-admin/edit-comments.php (revision 6979) |
|---|
| 17 | +++ wp-admin/edit-comments.php (working copy) |
|---|
| 18 | @@ -96,6 +96,7 @@ |
|---|
| 19 | <input type="hidden" name="page" value="<?php echo $page; ?>" /> |
|---|
| 20 | <input type="hidden" name="s" value="<?php echo attribute_escape(@$_GET['s']); ?>" /> |
|---|
| 21 | <?php wp_nonce_field( 'add-comment', '_ajax_nonce', false ); ?> |
|---|
| 22 | +</form> |
|---|
| 23 | </div> |
|---|
| 24 | <?php endif; // $extra_comments ?> |
|---|
| 25 | |
|---|
| 26 | Index: wp-admin/includes/widgets.php |
|---|
| 27 | =================================================================== |
|---|
| 28 | --- wp-admin/includes/widgets.php (revision 6979) |
|---|
| 29 | +++ wp-admin/includes/widgets.php (working copy) |
|---|
| 30 | @@ -124,7 +124,7 @@ |
|---|
| 31 | ?> |
|---|
| 32 | |
|---|
| 33 | <ul class="widget-control-list"> |
|---|
| 34 | - |
|---|
| 35 | + <li /> |
|---|
| 36 | <?php |
|---|
| 37 | foreach ( $widgets as $key => $widget ) |
|---|
| 38 | wp_widget_control( $key, $widget, $key == $edit_widget ? 'edit' : 'display' ); |
|---|
| 39 | @@ -170,7 +170,7 @@ |
|---|
| 40 | |
|---|
| 41 | <?php else : ?> |
|---|
| 42 | |
|---|
| 43 | - <a class="widget-action widget-control-edit" href="<?php echo add_query_arg( array( 'edit' => $id_format, 'key' => $key ) ); ?>"><?php _e('Edit'); ?></a> |
|---|
| 44 | + <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> |
|---|
| 45 | |
|---|
| 46 | <?php endif; ?> |
|---|
| 47 | |
|---|
| 48 | @@ -196,7 +196,7 @@ |
|---|
| 49 | |
|---|
| 50 | <?php endif; ?> |
|---|
| 51 | |
|---|
| 52 | - <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> |
|---|
| 53 | + <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> |
|---|
| 54 | <br class="clear" /> |
|---|
| 55 | </div> |
|---|
| 56 | </div> |
|---|
| 57 | Index: wp-admin/includes/template.php |
|---|
| 58 | =================================================================== |
|---|
| 59 | --- wp-admin/includes/template.php (revision 6979) |
|---|
| 60 | +++ wp-admin/includes/template.php (working copy) |
|---|
| 61 | @@ -84,7 +84,7 @@ |
|---|
| 62 | '<th scope="row" class="check-column"> <input type="checkbox" name="delete[]" value="' . $category->term_id . '" /></th>' . |
|---|
| 63 | "<td>$edit</td> |
|---|
| 64 | <td>$category->description</td> |
|---|
| 65 | - <td align='center'>$count</td>"; |
|---|
| 66 | + <td align='center'>$count</td></tr>"; |
|---|
| 67 | |
|---|
| 68 | return apply_filters( 'link_cat_row', $output ); |
|---|
| 69 | } |
|---|
| 70 | @@ -236,7 +236,7 @@ |
|---|
| 71 | $out .= '<tr id="tag-' . $tag->term_id . '"' . $class . '>'; |
|---|
| 72 | $out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>'; |
|---|
| 73 | $out .= '<td><a href="edit-tags.php?action=edit&tag_ID=' . $tag->term_id . '">' . |
|---|
| 74 | - apply_filters( 'term_name', $tag->name ) . '</td>'; |
|---|
| 75 | + apply_filters( 'term_name', $tag->name ) . '</a></td>'; |
|---|
| 76 | |
|---|
| 77 | $out .= "<td>$count</td>"; |
|---|
| 78 | $out .= '</tr>'; |
|---|
| 79 | @@ -403,7 +403,7 @@ |
|---|
| 80 | if ( empty($title) ) |
|---|
| 81 | $title = __('(no title)'); |
|---|
| 82 | ?> |
|---|
| 83 | - <td><strong><a href="page.php?action=edit&post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong> |
|---|
| 84 | + <td><strong><a href="page.php?action=edit&post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong> |
|---|
| 85 | <?php if ('private' == $page->post_status) _e(' — <strong>Private</strong>'); ?></td> |
|---|
| 86 | <?php |
|---|
| 87 | break; |
|---|
| 88 | @@ -543,7 +543,7 @@ |
|---|
| 89 | $short_url = substr( $short_url, 0, 32 ).'...'; |
|---|
| 90 | $numposts = get_usernumposts( $user_object->ID ); |
|---|
| 91 | if ( current_user_can( 'edit_user', $user_object->ID ) ) { |
|---|
| 92 | - $edit = add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user_object->ID" ); |
|---|
| 93 | + $edit = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user_object->ID" ) ); |
|---|
| 94 | $edit = "<a href=\"$edit\">$user_object->user_login</a>"; |
|---|
| 95 | } else { |
|---|
| 96 | $edit = $user_object->user_login; |
|---|
| 97 | @@ -616,15 +616,15 @@ |
|---|
| 98 | <?php |
|---|
| 99 | if ( current_user_can('edit_post', $comment->comment_post_ID) ) { |
|---|
| 100 | echo " <a href='comment.php?action=editcomment&c=$id'>" . __('Edit') . '</a>'; |
|---|
| 101 | - $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) ); |
|---|
| 102 | + $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) ); |
|---|
| 103 | echo " | <a href='$url' class='delete:the-comment-list:comment-$id'>" . __('Delete') . '</a> '; |
|---|
| 104 | if ( ('none' != $comment_status) && ( current_user_can('moderate_comments') ) ) { |
|---|
| 105 | - $url = clean_url( wp_nonce_url( "comment.php?action=unapprovecomment&p=$comment->comment_post_ID&c=$id", "unapprove-comment_$id" ) ); |
|---|
| 106 | + $url = clean_url( wp_nonce_url( "comment.php?action=unapprovecomment&p=$comment->comment_post_ID&c=$id", "unapprove-comment_$id" ) ); |
|---|
| 107 | echo "<span class='unapprove'> | <a href='$url' class='dim:the-comment-list:comment-$id:unapproved:FFFF33'>" . __('Unapprove') . '</a> </span>'; |
|---|
| 108 | - $url = clean_url( wp_nonce_url( "comment.php?action=approvecomment&p=$comment->comment_post_ID&c=$id", "approve-comment_$id" ) ); |
|---|
| 109 | + $url = clean_url( wp_nonce_url( "comment.php?action=approvecomment&p=$comment->comment_post_ID&c=$id", "approve-comment_$id" ) ); |
|---|
| 110 | echo "<span class='approve'> | <a href='$url' class='dim:the-comment-list:comment-$id:unapproved:33FF33:33FF33'>" . __('Approve') . '</a> </span>'; |
|---|
| 111 | } |
|---|
| 112 | - $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&dt=spam&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) ); |
|---|
| 113 | + $url = clean_url( wp_nonce_url( "comment.php?action=deletecomment&dt=spam&p=$comment->comment_post_ID&c=$id", "delete-comment_$id" ) ); |
|---|
| 114 | echo " | <a href='$url' class='delete:the-comment-list:comment-$id::spam=1'>" . __('Spam') . '</a> '; |
|---|
| 115 | } |
|---|
| 116 | if ( !is_single() ) { |
|---|
| 117 | Index: wp-admin/includes/media.php |
|---|
| 118 | =================================================================== |
|---|
| 119 | --- wp-admin/includes/media.php (revision 6979) |
|---|
| 120 | +++ wp-admin/includes/media.php (working copy) |
|---|
| 121 | @@ -145,7 +145,7 @@ |
|---|
| 122 | $uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID); |
|---|
| 123 | $multimedia_upload_iframe_src = "media-upload.php?type=multimedia&post_id=$uploading_iframe_ID"; |
|---|
| 124 | $multimedia_upload_iframe_src = apply_filters('multimedia_upload_iframe_src', $multimedia_upload_iframe_src); |
|---|
| 125 | - echo "<a href='$multimedia_upload_iframe_src&TB_iframe=true&height=500&width=640' class='button thickbox'>" . __('Add media'). '</a>'; |
|---|
| 126 | + echo "<a href='$multimedia_upload_iframe_src&TB_iframe=true&height=500&width=640' class='button thickbox'>" . __('Add media'). '</a>'; |
|---|
| 127 | } |
|---|
| 128 | add_action( 'media_buttons', 'media_buttons' ); |
|---|
| 129 | |
|---|
| 130 | Index: wp-admin/edit-post-rows.php |
|---|
| 131 | =================================================================== |
|---|
| 132 | --- wp-admin/edit-post-rows.php (revision 6979) |
|---|
| 133 | +++ wp-admin/edit-post-rows.php (working copy) |
|---|
| 134 | @@ -68,7 +68,7 @@ |
|---|
| 135 | if ( empty($title) ) |
|---|
| 136 | $title = __('(no title)'); |
|---|
| 137 | ?> |
|---|
| 138 | - <td><strong><a href="post.php?action=edit&post=<?php the_ID(); ?>"><?php echo $title ?></a></strong> |
|---|
| 139 | + <td><strong><a href="post.php?action=edit&post=<?php the_ID(); ?>"><?php echo $title ?></a></strong> |
|---|
| 140 | <?php if ('private' == $post->post_status) _e(' — <strong>Private</strong>'); ?></td> |
|---|
| 141 | <?php |
|---|
| 142 | break; |
|---|
| 143 | Index: wp-admin/moderation.php |
|---|
| 144 | =================================================================== |
|---|
| 145 | --- wp-admin/moderation.php (revision 6979) |
|---|
| 146 | +++ wp-admin/moderation.php (working copy) |
|---|
| 147 | @@ -171,9 +171,7 @@ |
|---|
| 148 | | <?php _e( 'IP:' ); ?> <a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php comment_author_IP(); ?>"><?php comment_author_IP(); ?></a> |
|---|
| 149 | </p> |
|---|
| 150 | |
|---|
| 151 | - <p> |
|---|
| 152 | - <?php comment_text(); ?> |
|---|
| 153 | - </p> |
|---|
| 154 | + <?php comment_text(); ?> |
|---|
| 155 | |
|---|
| 156 | <p> |
|---|
| 157 | <?php comment_date( __( 'M j, g:i A' ) ); ?> |
|---|
| 158 | @@ -237,4 +235,4 @@ |
|---|
| 159 | </script> |
|---|
| 160 | </form> |
|---|
| 161 | </div> |
|---|
| 162 | -<?php include_once './admin-footer.php'; ?> |
|---|
| 163 | \ No newline at end of file |
|---|
| 164 | +<?php include_once './admin-footer.php'; ?> |
|---|
| 165 | Index: wp-admin/edit-attachment-rows.php |
|---|
| 166 | =================================================================== |
|---|
| 167 | --- wp-admin/edit-attachment-rows.php (revision 6979) |
|---|
| 168 | +++ wp-admin/edit-attachment-rows.php (working copy) |
|---|
| 169 | @@ -46,7 +46,7 @@ |
|---|
| 170 | |
|---|
| 171 | case 'media': |
|---|
| 172 | ?> |
|---|
| 173 | - <td><strong><a href="# TODO: upload.php?action=edit&post=<?php the_ID(); ?>"><?php the_title(); ?></a></strong><br /> |
|---|
| 174 | + <td><strong><a href="# TODO: upload.php?action=edit&post=<?php the_ID(); ?>"><?php the_title(); ?></a></strong><br /> |
|---|
| 175 | <?php echo strtoupper(preg_replace('/^.*?\.(\w+)$/', '$1', $post->guid)); ?> |
|---|
| 176 | <?php do_action('manage_media_media_column', $post->ID); ?> |
|---|
| 177 | </td> |
|---|
| 178 | @@ -85,7 +85,7 @@ |
|---|
| 179 | if ( empty($title) ) |
|---|
| 180 | $title = __('(no title)'); |
|---|
| 181 | ?> |
|---|
| 182 | - <td><strong><a href="post.php?action=edit&post=<?php echo $post->post_parent; ?>"><?php echo $title ?></a></strong></td> |
|---|
| 183 | + <td><strong><a href="post.php?action=edit&post=<?php echo $post->post_parent; ?>"><?php echo $title ?></a></strong></td> |
|---|
| 184 | <?php |
|---|
| 185 | break; |
|---|
| 186 | |
|---|
| 187 | Index: wp-admin/options-discussion.php |
|---|
| 188 | =================================================================== |
|---|
| 189 | --- wp-admin/options-discussion.php (revision 6979) |
|---|
| 190 | +++ wp-admin/options-discussion.php (working copy) |
|---|
| 191 | @@ -51,8 +51,7 @@ |
|---|
| 192 | <br /> |
|---|
| 193 | <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> |
|---|
| 194 | <br /> |
|---|
| 195 | -<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> |
|---|
| 196 | -</ul> |
|---|
| 197 | +<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> |
|---|
| 198 | </td> |
|---|
| 199 | </tr> |
|---|
| 200 | <tr valign="top"> |
|---|
| 201 | Index: wp-admin/plugins.php |
|---|
| 202 | =================================================================== |
|---|
| 203 | --- wp-admin/plugins.php (revision 6979) |
|---|
| 204 | +++ wp-admin/plugins.php (working copy) |
|---|
| 205 | @@ -152,6 +152,7 @@ |
|---|
| 206 | <?php |
|---|
| 207 | } // endif active/inactive plugin check |
|---|
| 208 | ?> |
|---|
| 209 | + </td> |
|---|
| 210 | </tr> |
|---|
| 211 | |
|---|
| 212 | </table> |
|---|
| 213 | Index: wp-admin/link-manager.php |
|---|
| 214 | =================================================================== |
|---|
| 215 | --- wp-admin/link-manager.php (revision 6979) |
|---|
| 216 | +++ wp-admin/link-manager.php (working copy) |
|---|
| 217 | @@ -211,6 +211,10 @@ |
|---|
| 218 | ?> |
|---|
| 219 | </tbody> |
|---|
| 220 | </table> |
|---|
| 221 | + |
|---|
| 222 | +<?php } else { ?> |
|---|
| 223 | +<p><?php _e('No links found.') ?></p> |
|---|
| 224 | +<?php } ?> |
|---|
| 225 | </form> |
|---|
| 226 | |
|---|
| 227 | <div id="ajax-response"></div> |
|---|
| 228 | @@ -219,7 +223,6 @@ |
|---|
| 229 | <br style="clear:both;" /> |
|---|
| 230 | </div> |
|---|
| 231 | |
|---|
| 232 | -<?php } ?> |
|---|
| 233 | |
|---|
| 234 | </div> |
|---|
| 235 | |
|---|
| 236 | Index: wp-admin/widgets.php |
|---|
| 237 | =================================================================== |
|---|
| 238 | --- wp-admin/widgets.php (revision 6979) |
|---|
| 239 | +++ wp-admin/widgets.php (working copy) |
|---|
| 240 | @@ -181,7 +181,7 @@ |
|---|
| 241 | <h2><?php _e( 'Widgets' ); ?></h2> |
|---|
| 242 | <p id="widget-search"> |
|---|
| 243 | <input type="text" id="widget-search-input" name="s" value="<?php echo attribute_escape( $widget_search ); ?>" /> |
|---|
| 244 | - <input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" class="button" /> |
|---|
| 245 | + <input type="submit" class="button" value="<?php _e( 'Search Widgets' ); ?>" /> |
|---|
| 246 | </p> |
|---|
| 247 | |
|---|
| 248 | <div class="widget-liquid-left-holder"> |
|---|
| 249 | Index: wp-admin/options-permalink.php |
|---|
| 250 | =================================================================== |
|---|
| 251 | --- wp-admin/options-permalink.php (revision 6979) |
|---|
| 252 | +++ wp-admin/options-permalink.php (working copy) |
|---|
| 253 | @@ -130,7 +130,7 @@ |
|---|
| 254 | <table class="niceblue"> |
|---|
| 255 | <tr> |
|---|
| 256 | <th><label><input name="selection" type="radio" value="" class="tog" <?php checked('', $permalink_structure); ?> /> <?php _e('Default'); ?></label></th> |
|---|
| 257 | - <td><code><?php echo get_option('home'); ?>/?p=123</code></span></td> |
|---|
| 258 | + <td><code><?php echo get_option('home'); ?>/?p=123</code></td> |
|---|
| 259 | </tr> |
|---|
| 260 | <tr> |
|---|
| 261 | <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> |
|---|
| 262 | Index: wp-admin/options-writing.php |
|---|
| 263 | =================================================================== |
|---|
| 264 | --- wp-admin/options-writing.php (revision 6979) |
|---|
| 265 | +++ wp-admin/options-writing.php (working copy) |
|---|
| 266 | @@ -76,7 +76,7 @@ |
|---|
| 267 | <label for="medium_size_w"><?php _e('Width'); ?></label> |
|---|
| 268 | <input name="medium_size_w" type="text" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" size="6" /> |
|---|
| 269 | <label for="medium_size_h"><?php _e('Height'); ?></label> |
|---|
| 270 | -<input name="medium_size_h" type="text" id="thumbnail_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" /> |
|---|
| 271 | +<input name="medium_size_h" type="text" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" size="6" /> |
|---|
| 272 | </td> |
|---|
| 273 | </tr> |
|---|
| 274 | </table> |
|---|
| 275 | @@ -128,7 +128,7 @@ |
|---|
| 276 | |
|---|
| 277 | <?php else : ?> |
|---|
| 278 | |
|---|
| 279 | - <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'); ?> |
|---|
| 280 | + <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> |
|---|
| 281 | |
|---|
| 282 | <?php endif; ?> |
|---|
| 283 | |
|---|
| 284 | Index: wp-admin/edit-pages.php |
|---|
| 285 | =================================================================== |
|---|
| 286 | --- wp-admin/edit-pages.php (revision 6979) |
|---|
| 287 | +++ wp-admin/edit-pages.php (working copy) |
|---|
| 288 | @@ -53,7 +53,7 @@ |
|---|
| 289 | } |
|---|
| 290 | |
|---|
| 291 | ?> |
|---|
| 292 | -<script> |
|---|
| 293 | +<script type="text/javascript"> |
|---|
| 294 | /* <![CDATA[ */ |
|---|
| 295 | jQuery(function($){$('#the-list').wpList();}); |
|---|
| 296 | /* ]]> */ |
|---|
| 297 | @@ -146,6 +146,7 @@ |
|---|
| 298 | <?php |
|---|
| 299 | } else { |
|---|
| 300 | ?> |
|---|
| 301 | +</form> |
|---|
| 302 | <p><?php _e('No pages found.') ?></p> |
|---|
| 303 | <?php |
|---|
| 304 | } // end if ($posts) |
|---|