Changeset 4825
- Timestamp:
- 01/28/2007 09:58:01 PM (19 years ago)
- Files:
-
- 2 edited
-
branches/2.1/wp-includes/capabilities.php (modified) (2 diffs)
-
trunk/wp-includes/capabilities.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/2.1/wp-includes/capabilities.php
r4505 r4825 56 56 unset($this->role_names[$role]); 57 57 unset($this->roles[$role]); 58 58 59 59 if ( $this->use_db ) 60 60 update_option($this->role_key, $this->roles); … … 428 428 429 429 $author_data = get_userdata($user_id); 430 $page_author_data = get_userdata($p ost->post_author);430 $page_author_data = get_userdata($page->post_author); 431 431 if ($user_id == $page_author_data->ID) 432 432 $caps[] = 'read'; -
trunk/wp-includes/capabilities.php
r4505 r4825 56 56 unset($this->role_names[$role]); 57 57 unset($this->roles[$role]); 58 58 59 59 if ( $this->use_db ) 60 60 update_option($this->role_key, $this->roles); … … 428 428 429 429 $author_data = get_userdata($user_id); 430 $page_author_data = get_userdata($p ost->post_author);430 $page_author_data = get_userdata($page->post_author); 431 431 if ($user_id == $page_author_data->ID) 432 432 $caps[] = 'read';
Note: See TracChangeset
for help on using the changeset viewer.