Plugin Directory

Changeset 1553980


Ignore:
Timestamp:
12/13/2016 08:32:32 PM (9 years ago)
Author:
fifthestate
Message:

Removed self

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fifthestate/trunk/fifthestate.php

    r1553970 r1553980  
    1010*/
    1111namespace FifthEstate;
     12const APP_NAME = 'FifthEstate';
    1213
    1314if (file_exists(__DIR__ . '/local-config.php'))
     
    2122
    2223class FifthEstate {
    23     const APP_NAME = 'FifthEstate';
    24 
    2524    function __construct() {
    2625        $this->init_options();
     
    5756    function create_settings_page() {
    5857        add_options_page(
    59             self::APP_NAME,
    60             self::APP_NAME,
     58            APP_NAME,
     59            APP_NAME,
    6160            'manage_options',
    6261            'fifthestate.php',
     
    8483        ?>
    8584        <div class="wrap">
    86         <h1><?php _e(self::APP_NAME) ?></h1>
     85        <h1><?php _e(APP_NAME) ?></h1>
    8786        <?php
    8887        if ( 'POST' === $_SERVER['REQUEST_METHOD'] ) {
Note: See TracChangeset for help on using the changeset viewer.