Changeset 3665
- Timestamp:
- 03/30/2006 11:12:54 PM (19 years ago)
- Location:
- trunk
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.php
r3660 r3665 24 24 25 25 case 'addcat': 26 27 check_admin_referer(); 26 28 27 29 if ( !current_user_can('manage_categories') ) … … 94 96 95 97 case 'editedcat': 98 check_admin_referer(); 99 96 100 if ( !current_user_can('manage_categories') ) 97 101 die (__('Cheatin’ uh?')); -
trunk/wp-admin/comment.php
r3566 r3665 165 165 case 'approvecomment': 166 166 167 check_admin_referer(); 168 167 169 $comment = (int) $_GET['comment']; 168 170 $p = (int) $_GET['p']; … … 195 197 case 'editedcomment': 196 198 199 check_admin_referer(); 200 197 201 edit_comment(); 198 202 -
trunk/wp-admin/edit-comments.php
r3660 r3665 52 52 <?php 53 53 if ( !empty( $_POST['delete_comments'] ) ) : 54 check_admin_referer(); 55 54 56 $i = 0; 55 57 foreach ($_POST['delete_comments'] as $comment) : // Check the permissions on each -
trunk/wp-admin/inline-uploading.php
r3544 r3665 2 2 3 3 require_once('admin.php'); 4 5 check_admin_referer(); 4 6 5 7 header('Content-Type: text/html; charset=' . get_option('blog_charset')); -
trunk/wp-admin/link-import.php
r3570 r3665 64 64 65 65 case 1: { 66 check_admin_referer(); 67 66 68 include_once('admin-header.php'); 67 69 if ( !current_user_can('manage_links') ) -
trunk/wp-admin/moderation.php
r3599 r3665 32 32 33 33 case 'update': 34 35 check_admin_referer(); 34 36 35 37 if ( ! current_user_can('moderate_comments') ) -
trunk/wp-admin/options-permalink.php
r3517 r3665 59 59 60 60 if ( isset($_POST) ) { 61 check_admin_referer(); 62 61 63 if ( isset($_POST['permalink_structure']) ) { 62 64 $permalink_structure = $_POST['permalink_structure']; -
trunk/wp-admin/plugin-editor.php
r3541 r3665 34 34 35 35 case 'update': 36 37 check_admin_referer(); 36 38 37 39 if ( !current_user_can('edit_plugins') ) -
trunk/wp-admin/templates.php
r3541 r3665 37 37 case 'update': 38 38 39 check_admin_referer(); 40 39 41 if ( ! current_user_can('edit_files') ) 40 die('<p>'.__('You have do not have sufficient permissions to edit templates for this blog.').'</p>');42 die('<p>'.__('You have do not have sufficient permissions to edit templates for this blog.').'</p>'); 41 43 42 44 $newcontent = stripslashes($_POST['newcontent']); -
trunk/wp-admin/theme-editor.php
r3541 r3665 47 47 48 48 case 'update': 49 50 check_admin_referer(); 49 51 50 52 if ( !current_user_can('edit_themes') ) -
trunk/wp-includes/classes.php
r3639 r3665 41 41 continue; 42 42 $fulltext = strtolower($comment->email.' '.$comment->url.' '.$comment->ip.' '.$comment->text); 43 if( strpos( $fulltext, strtolower($word) ) != FALSE) {43 if( false !== strpos( $fulltext, strtolower($word) ) ) { 44 44 $this->found_comments[] = $comment->ID; 45 45 break;
Note: See TracChangeset
for help on using the changeset viewer.