Skip to content

Commit

Permalink
Don't show the Delete button to mortal users
Browse files Browse the repository at this point in the history
  • Loading branch information
nb committed Aug 12, 2012
1 parent db742c8 commit d43a2ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/liveblog-single-entry.php
Expand Up @@ -7,7 +7,9 @@
<div class="liveblog-entry-text">
<?php echo $content; ?>
</div>
<?php if ( $can_edit_liveblog ): ?>
<ul class="liveblog-entry-actions">
<li><button class="liveblog-entry-delete"><?php _e( 'Delete', 'liveblog' ); ?></button></li>
</ul>
<?php endif; ?>
</div>

0 comments on commit d43a2ba

Please sign in to comment.