Changeset 1368424
- Timestamp:
- 03/10/2016 04:31:06 PM (10 years ago)
- Location:
- php-code-for-posts
- Files:
-
- 37 added
- 1 deleted
- 4 edited
-
tags/2.0.3 (deleted)
-
tags/2.0.4 (added)
-
tags/2.0.4/Classes (added)
-
tags/2.0.4/Classes/Database.php (added)
-
tags/2.0.4/Classes/Install.php (added)
-
tags/2.0.4/Classes/Menu.php (added)
-
tags/2.0.4/Classes/Messages.php (added)
-
tags/2.0.4/Classes/Options.php (added)
-
tags/2.0.4/Classes/PhpCodeForPosts.php (added)
-
tags/2.0.4/Classes/Shortcode.php (added)
-
tags/2.0.4/Classes/Snippet.php (added)
-
tags/2.0.4/Codemirror (added)
-
tags/2.0.4/Codemirror/addon (added)
-
tags/2.0.4/Codemirror/addon/matchbrackets.js (added)
-
tags/2.0.4/Codemirror/lang (added)
-
tags/2.0.4/Codemirror/lang/clike.js (added)
-
tags/2.0.4/Codemirror/lang/css.js (added)
-
tags/2.0.4/Codemirror/lang/htmlmixed.js (added)
-
tags/2.0.4/Codemirror/lang/javascript.js (added)
-
tags/2.0.4/Codemirror/lang/php.js (added)
-
tags/2.0.4/Codemirror/lang/xml.js (added)
-
tags/2.0.4/Codemirror/lib (added)
-
tags/2.0.4/Codemirror/lib/codemirror.css (added)
-
tags/2.0.4/Codemirror/lib/codemirror.js (added)
-
tags/2.0.4/PHPPostCode.js (added)
-
tags/2.0.4/php-code-for-posts.php (added)
-
tags/2.0.4/php-icon.png (added)
-
tags/2.0.4/readme.txt (added)
-
tags/2.0.4/screenshot-1.jpg (added)
-
tags/2.0.4/screenshot-2.jpg (added)
-
tags/2.0.4/style.css (added)
-
tags/2.0.4/templates (added)
-
tags/2.0.4/templates/admin-index-bottom.tpl (added)
-
tags/2.0.4/templates/admin-index-default.tpl (added)
-
tags/2.0.4/templates/admin-index-edit.tpl (added)
-
tags/2.0.4/templates/admin-index-top-edit.tpl (added)
-
tags/2.0.4/templates/admin-index-top.tpl (added)
-
tags/2.0.4/templates/admin-snippet-row.tpl (added)
-
trunk/Classes/PhpCodeForPosts.php (modified) (1 diff)
-
trunk/Classes/Shortcode.php (modified) (1 diff)
-
trunk/php-code-for-posts.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
php-code-for-posts/trunk/Classes/PhpCodeForPosts.php
r1368099 r1368424 145 145 146 146 if( $state ) { 147 PhpCodeForPosts_Messages::add_success_message( __( 'Snippet saved', PhpCodeforPosts::TEXTDOMAIN ) ); 147 $shortcode = '[' . PhpCodeForPosts_Shortcode::get_shortcode() . ' snippet=' . PhpCodeForPosts_Snippet::$last_saved_snippet->get_id() . ']'; 148 PhpCodeForPosts_Messages::add_success_message( __( 'Snippet saved', PhpCodeforPosts::TEXTDOMAIN ) . ' - ' . $shortcode ); 148 149 } else { 149 150 PhpCodeForPosts_Messages::add_error_message( __( 'Failed to save snippet - has it changed?', PhpCodeforPosts::TEXTDOMAIN ) ); -
php-code-for-posts/trunk/Classes/Shortcode.php
r1368099 r1368424 27 27 $snippet_prefix = '?>'; 28 28 29 if( $ param!= '' ) {29 if( $attributes['param'] != '' ) { 30 30 $snippet_prefix = '$_parameters = array(); parse_str(htmlspecialchars_decode("' 31 . $ param. '"), $_parameters);' . $snippet_prefix;31 . $attributes['param'] . '"), $_parameters);' . $snippet_prefix; 32 32 } 33 33 -
php-code-for-posts/trunk/php-code-for-posts.php
r1368398 r1368424 3 3 * Plugin Name: PHP Code For Posts 4 4 * Description: Insert and Execute PHP Code in WordPress Content. This plugin also enables shortcodes for the text widget. 5 * Version: 2.0. 35 * Version: 2.0.4 6 6 * Author: Jamie Fraser 7 7 * Author uri: http://www.jamiefraser.co.uk/?utm-campaign=PHPCodeForPosts -
php-code-for-posts/trunk/readme.txt
r1368408 r1368424 5 5 Requires at least: 3.3.1 6 6 Tested up to: 4.4.2 7 Stable tag: 2.0. 37 Stable tag: 2.0.4 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 97 97 = 2.0.3 = 98 98 * Based on feedback, I have removed an anonymous function 99 = 2.0.4 = 100 * Fixed issue with parameters not passing through correctly 99 101 100 102 == Upgrade Notice == … … 118 120 = 2.0.3 = 119 121 * removal of anonymous function 122 = 2.0.4 = 123 * Fixed issue with parameters not passing through correctly 124 120 125 121 126 == Screenshots ==
Note: See TracChangeset
for help on using the changeset viewer.