Plugin Directory

Changeset 1369461


Ignore:
Timestamp:
03/11/2016 07:52:17 PM (10 years ago)
Author:
The.Missing.Code
Message:

Fixed another issue with compatibility with PHP 5.2 - seriously, why is anyone using it?!

Location:
php-code-for-posts
Files:
37 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • php-code-for-posts/trunk/Classes/Snippet.php

    r1369272 r1369461  
    141141    {
    142142        $snippet_id = isset( $post_fields['item'] ) ? $post_fields['item'] : 0;
    143         $snippet = $snippet_id > 0 ? PhpCodeForPosts_Database::load_single_snippet( $snippet_id ) : new static;
     143        $snippet = $snippet_id > 0 ? PhpCodeForPosts_Database::load_single_snippet( $snippet_id ) : new PhpCodeForPosts_Snippet();
    144144
    145145        $snippet->set_name( stripslashes($post_fields['name']) );
  • php-code-for-posts/trunk/php-code-for-posts.php

    r1369272 r1369461  
    33 * Plugin Name: PHP Code For Posts
    44 * Description: Insert and Execute PHP Code in WordPress Content.  This plugin also enables shortcodes for the text widget.
    5  * Version: 2.0.8
     5 * Version: 2.0.9
    66 * Author: Jamie Fraser
    77 * Author uri: http://www.jamiefraser.co.uk/?utm-campaign=PHPCodeForPosts
  • php-code-for-posts/trunk/readme.txt

    r1369272 r1369461  
    55Requires at least: 3.3.1
    66Tested up to: 4.4.2
    7 Stable tag: 2.0.8
     7Stable tag: 2.0.9
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    109109= 2.0.8 =
    110110* Fixed the stripping of backslashes from code
     111= 2.0.9 =
     112* Fixed another issue with compatibility with PHP 5.2 - seriously, why is anyone using it?!
    111113
    112114== Upgrade Notice ==
     
    140142= 2.0.8 =
    141143* Fixed the stripping of backslashes from code
     144= 2.0.9 =
     145* Fixed another issue with compatibility with PHP 5.2
    142146
    143147== Screenshots ==
Note: See TracChangeset for help on using the changeset viewer.