[wpmu-trac] Re: [WordPress MU Trac] #180: Another bug with /wp-admin/profile.php

WordPress MU Trac wpmu-trac at lists.automattic.com
Thu Oct 12 15:51:56 GMT 2006


#180: Another bug with /wp-admin/profile.php
------------------------+---------------------------------------------------
 Reporter:  dan-daemon  |        Owner:  somebody
     Type:  defect      |       Status:  new     
 Priority:  normal      |    Milestone:  WPMU 1.0
Component:  component1  |      Version:  1.0     
 Severity:  normal      |   Resolution:          
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by dan-daemon):

 I changed lines is /wp-adin/profile.php from:

 <p><label for="rich_editing"><input name="rich_editing" type="checkbox"
 id="rich_editing" value="true" <?php checked('true',
 get_user_option('rich_editing')); ?> />
 <?php _e('Use the visual editor when writing') ?></label></p>

 to:

 <?php if ( current_user_can('manage_options') ) { ?>
 <p><label for="rich_editing"><input name="rich_editing" type="checkbox"
 id="rich_editing" value="true" <?php checked('true',
 get_user_option('rich_editing')); ?> />
 <?php _e('Use the visual editor when writing') ?></label></p>
 <?php } ?>


 Is it correct?

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/180#comment:1>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list