Changeset 1553980
- Timestamp:
- 12/13/2016 08:32:32 PM (9 years ago)
- File:
-
- 1 edited
-
fifthestate/trunk/fifthestate.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fifthestate/trunk/fifthestate.php
r1553970 r1553980 10 10 */ 11 11 namespace FifthEstate; 12 const APP_NAME = 'FifthEstate'; 12 13 13 14 if (file_exists(__DIR__ . '/local-config.php')) … … 21 22 22 23 class FifthEstate { 23 const APP_NAME = 'FifthEstate';24 25 24 function __construct() { 26 25 $this->init_options(); … … 57 56 function create_settings_page() { 58 57 add_options_page( 59 self::APP_NAME,60 self::APP_NAME,58 APP_NAME, 59 APP_NAME, 61 60 'manage_options', 62 61 'fifthestate.php', … … 84 83 ?> 85 84 <div class="wrap"> 86 <h1><?php _e( self::APP_NAME) ?></h1>85 <h1><?php _e(APP_NAME) ?></h1> 87 86 <?php 88 87 if ( 'POST' === $_SERVER['REQUEST_METHOD'] ) {
Note: See TracChangeset
for help on using the changeset viewer.