Plugin Directory

Changeset 1206996


Ignore:
Timestamp:
07/26/2015 07:02:17 PM (11 years ago)
Author:
deardooley
Message:

Fixing php warnings on new post/pages.

Location:
wp-admin-quicknav/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-admin-quicknav/trunk/readme.txt

    r973821 r1206996  
    7171== Changelog ==
    7272
     73= 0.2 =
     74* Fixed php warnings when used on a new post/page
     75
    7376= 0.1 =
    7477* First commit
  • wp-admin-quicknav/trunk/wp_admin_quicknav.php

    r973821 r1206996  
    5050    }
    5151
    52     public function edit_form_after_title()
     52    public static function edit_form_after_title()
    5353    {
    5454        $screen = get_current_screen();
     
    8484        if ($options)
    8585        {
    86             $id = $_GET['post'];
     86            $id = isset($_GET['post']) ? $_GET['post'] : '';
    8787
    8888            echo '<select id="wp_admin_quicknav" style="margin-left: 10px;">';
Note: See TracChangeset for help on using the changeset viewer.