mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-04 18:01:42 +01:00
Don't show post author box unless there is more than one author to show.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
43c41ff8b2
commit
9c9a429320
@ -115,7 +115,10 @@ addLoadEvent(focusit);
|
||||
</fieldset>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( $authors = get_editable_authors( $current_user->id ) ) : // TODO: ROLE SYSTEM ?>
|
||||
<?php
|
||||
$authors = get_editable_authors( $current_user->id ); // TODO: ROLE SYSTEM
|
||||
if ( $authors && count( $authors ) > 1 ) :
|
||||
?>
|
||||
<fieldset id="authordiv" class="dbx-box">
|
||||
<h3 class="dbx-handle"><?php _e('Post Author'); ?>:</h3>
|
||||
<div class="dbx-content">
|
||||
|
Loading…
Reference in New Issue
Block a user