Changeset 24597
- Timestamp:
- 07/09/2013 02:22:57 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/class-wp-xmlrpc-server.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r24593 r24597 3200 3200 function _getOptions($options) { 3201 3201 $data = array(); 3202 $can_manage = current_user_can( 'manage_options' ); 3202 3203 foreach ( $options as $option ) { 3203 3204 if ( array_key_exists( $option, $this->blog_options ) ) { … … 3208 3209 unset($data[$option]['option']); 3209 3210 } 3211 3212 if ( ! $can_manage ) 3213 $data[$option]['readonly'] = true; 3210 3214 } 3211 3215 }
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)