Changeset 2211669
- Timestamp:
- 12/13/2019 03:29:53 PM (6 years ago)
- File:
-
- 1 edited
-
the-insertr/trunk/the-insertr.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
the-insertr/trunk/the-insertr.php
r2211656 r2211669 6 6 * Description: Wordpress dynamic keyword insertion plugin. 7 7 * Author: Herdl 8 * Version: 1. 0.08 * Version: 1.2.0 9 9 * Author URI: https://herdl.com 10 10 */ … … 19 19 20 20 function theinsertr_settings() { 21 $user = wp_get_current_user();22 23 21 if (!current_user_can('administrator')) { 24 echo '<p> You are not allowed to access this page.</p>';22 echo '<p>Sorry, you are not allowed to access this page.</p>'; 25 23 return; 26 24 }
Note: See TracChangeset
for help on using the changeset viewer.