Add notice for when user has no access

This commit is contained in:
Brian Miyaji
2016-06-15 12:45:19 +10:00
parent fbf6dfb390
commit c8e0833ba7
2 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
<?php
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>
<div id="message" class="error">
<p><?php _e( 'You are not allowed to edit this item.', 'sportspress' ); ?></p>
</div>