WordPress.org

Plugin Directory

Changeset 910784


Ignore:
Timestamp:
05/08/14 22:38:23 (3 years ago)
Author:
brandonferens
Message:

Updated some if statement logic

Location:
perfect-quotes/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • perfect-quotes/trunk/perfect_quotes.php

    r828794 r910784  
    44Plugin URI: http://www.perfectspace.com/perfect-quotes 
    55Description: An easy to use plugin for quotes and testimonials! It integrates easily using a widget or shortcode. It does quotes perfectly! 
    6 Version: 0.3.4.3 
     6Version: 0.3.4.4 
    77Author: Brandon Ferens 
    88Author URI: http://www.perfectspace.com 
     
    119119 
    120120  // Check user permissions 
    121   if ($_POST['post_type'] == 'page') { 
     121  if (isset($_POST['post_type']) && $_POST['post_type'] == 'page') { 
    122122    if (!current_user_can('edit_page', $post_id)) return $post_id; 
    123123  } else { 
  • perfect-quotes/trunk/readme.txt

    r828794 r910784  
    55Requires at least: 3.0 
    66Tested up to: 3.8 
    7 Stable tag: 0.3.4.3 
     7Stable tag: 0.3.4.4 
    88 
    99== Description == 
     
    9696== Changelog == 
    9797 
     98= 0.3.4.4 = 
     99* Fixed some code that was throwing a php error 
     100 
    98101= 0.3.4.3 = 
    99102* Fixed a few small code errors and updated a few files with better coding standards 
     
    133136== Upgrade Notice == 
    134137 
     138= 0.3.4.4 = 
     139* Small, but irritating bug fix. 
     140 
    135141= 0.3.4.3 = 
    136142* Minor updates to coding standards in a few places. Small bug fix. 
Note: See TracChangeset for help on using the changeset viewer.