Plugin Directory

Changeset 1196903


Ignore:
Timestamp:
07/11/2015 08:23:03 AM (11 years ago)
Author:
iTux
Message:

Added a new shortcode parameter to hide the grouping letter and fixed a bug that occurred on PHP installations having E_NOTICE active in the setting error_reporting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • post-index/trunk/php/postadmin.php

    r1196902 r1196903  
    6868         // verify this came from the our screen and with proper authorization,
    6969         // because save_post can be triggered at other times
    70          //if ( !wp_verify_nonce( isset($_POST[POST_INDEX_PLUGIN_PREFIX.'noncename']) ? $_POST[POST_INDEX_PLUGIN_PREFIX.'noncename'] : '', POST_INDEX_PLUGIN_BASENAME ) )
    71          if ( !wp_verify_nonce( $_POST[POST_INDEX_PLUGIN_PREFIX.'noncename'], POST_INDEX_PLUGIN_BASENAME ) )
     70         if ( !wp_verify_nonce( isset($_POST[POST_INDEX_PLUGIN_PREFIX.'noncename']) ? $_POST[POST_INDEX_PLUGIN_PREFIX.'noncename'] : '', POST_INDEX_PLUGIN_BASENAME ) )
    7271            return;
    7372 
Note: See TracChangeset for help on using the changeset viewer.