Don't show post author box unless there is more than one author to show.
git-svn-id: https://develop.svn.wordpress.org/trunk@4213 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4b52d9c981
commit
62dbcb5ded
@ -115,7 +115,10 @@ addLoadEvent(focusit);
|
|||||||
</fieldset>
|
</fieldset>
|
||||||
<?php endif; ?>
|
<?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">
|
<fieldset id="authordiv" class="dbx-box">
|
||||||
<h3 class="dbx-handle"><?php _e('Post Author'); ?>:</h3>
|
<h3 class="dbx-handle"><?php _e('Post Author'); ?>:</h3>
|
||||||
<div class="dbx-content">
|
<div class="dbx-content">
|
||||||
|
Loading…
Reference in New Issue
Block a user