[wp-cvs] wordpress/wp-includes functions-post.php,1.15,1.16

Ernest MacDougal Campbell III emc3 at users.sourceforge.net
Tue Nov 23 15:09:27 UTC 2004


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8388/wp-includes

Modified Files:
	functions-post.php 
Log Message:
Use new user_can_foo() functions, clean up comment editing

Index: functions-post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions-post.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -d -r1.15 -r1.16
*** functions-post.php	18 Nov 2004 19:40:36 -0000	1.15
--- functions-post.php	23 Nov 2004 15:09:24 -0000	1.16
***************
*** 343,347 ****
  
  	if ( ($user_id == $post_author_data->ID)
! 	     || ($author_data->user_level > $post_author_data->user_level) ) {
  		return true;
  	} else {
--- 343,348 ----
  
  	if ( ($user_id == $post_author_data->ID)
! 	     || ($author_data->user_level > $post_author_data->user_level)
! 	     || ($author_data->user_level >= 10) ) {
  		return true;
  	} else {




More information about the cvs mailing list