Plugin Directory

Changeset 1713269


Ignore:
Timestamp:
08/14/2017 04:22:42 PM (9 years ago)
Author:
rigorousrich
Message:

Fixed PHP warning when adding a menu item

Location:
dovetail/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • dovetail/trunk/FP-members.php

    r1713261 r1713269  
    1414     *  Description: Dovetail adds basic yet beautiful membership tools to your WordPress website. Use and enjoy.
    1515     *  Author: Rigorous & Factory Pattern
    16      *  Version: 1.2.11
     16     *  Version: 1.2.12
    1717     *  Author URI: https://rigorous-digital.co.uk/author/admin
    1818     */
  • dovetail/trunk/classes/class.role-editor.php

    r874081 r1713269  
    7171
    7272                // If this isn't a 'book' post, don't update it.
    73                 if ( $slug != $_POST['post_type'] ) {
     73                if ( !isset( $_POST['post_type'] ) && $slug != $_POST['post_type'] ) {
    7474                    return;
    7575                }
  • dovetail/trunk/readme.txt

    r1713261 r1713269  
    5151
    5252== Changelog ==
     53
     54= 1.2.12 =
     55
     56* Fixed PHP warning for undefined index when checking created post type
    5357
    5458= 1.2.11 =
Note: See TracChangeset for help on using the changeset viewer.