Changeset 1368087
- Timestamp:
- 03/10/2016 07:32:15 AM (10 years ago)
- Location:
- php-code-for-posts
- Files:
-
- 37 added
- 1 deleted
- 3 edited
-
tags/2.0.0 (deleted)
-
tags/2.0.1 (added)
-
tags/2.0.1/Classes (added)
-
tags/2.0.1/Classes/Database.php (added)
-
tags/2.0.1/Classes/Install.php (added)
-
tags/2.0.1/Classes/Menu.php (added)
-
tags/2.0.1/Classes/Messages.php (added)
-
tags/2.0.1/Classes/Options.php (added)
-
tags/2.0.1/Classes/PhpCodeForPosts.php (added)
-
tags/2.0.1/Classes/Shortcode.php (added)
-
tags/2.0.1/Classes/Snippet.php (added)
-
tags/2.0.1/Codemirror (added)
-
tags/2.0.1/Codemirror/addon (added)
-
tags/2.0.1/Codemirror/addon/matchbrackets.js (added)
-
tags/2.0.1/Codemirror/lang (added)
-
tags/2.0.1/Codemirror/lang/clike.js (added)
-
tags/2.0.1/Codemirror/lang/css.js (added)
-
tags/2.0.1/Codemirror/lang/htmlmixed.js (added)
-
tags/2.0.1/Codemirror/lang/javascript.js (added)
-
tags/2.0.1/Codemirror/lang/php.js (added)
-
tags/2.0.1/Codemirror/lang/xml.js (added)
-
tags/2.0.1/Codemirror/lib (added)
-
tags/2.0.1/Codemirror/lib/codemirror.css (added)
-
tags/2.0.1/Codemirror/lib/codemirror.js (added)
-
tags/2.0.1/PHPPostCode.js (added)
-
tags/2.0.1/php-code-for-posts.php (added)
-
tags/2.0.1/php-icon.png (added)
-
tags/2.0.1/readme.txt (added)
-
tags/2.0.1/screenshot-1.jpg (added)
-
tags/2.0.1/screenshot-2.jpg (added)
-
tags/2.0.1/style.css (added)
-
tags/2.0.1/templates (added)
-
tags/2.0.1/templates/admin-index-bottom.tpl (added)
-
tags/2.0.1/templates/admin-index-default.tpl (added)
-
tags/2.0.1/templates/admin-index-edit.tpl (added)
-
tags/2.0.1/templates/admin-index-top-edit.tpl (added)
-
tags/2.0.1/templates/admin-index-top.tpl (added)
-
tags/2.0.1/templates/admin-snippet-row.tpl (added)
-
trunk/Classes/Options.php (modified) (2 diffs)
-
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/Options.php
r1367869 r1368087 23 23 } 24 24 25 private function get_default( $option_name ) 26 { 27 $options = $this->get_defaults(); 28 return $options[ $option_name ] ? : false; 29 } 30 25 31 private function load_options() 26 32 { … … 36 42 { 37 43 if (! $this->has_option( $option_name ) ) { 38 return $this->get_default s()[$option_name];44 return $this->get_default( $option_name ) ; 39 45 } 40 46 -
php-code-for-posts/trunk/php-code-for-posts.php
r1367869 r1368087 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. 05 * Version: 2.0.1 6 6 * Author: Jamie Fraser 7 7 * Author uri: http://www.jamiefraser.co.uk/?utm-campaign=PHPCodeForPosts -
php-code-for-posts/trunk/readme.txt
r1367869 r1368087 5 5 Requires at least: 3.3.1 6 6 Tested up to: 4.4.2 7 Stable tag: 2.0. 07 Stable tag: 2.0.1 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 91 91 * Custom shortcode name 92 92 * Translation support 93 = 2.0.1 = 94 * Fixed issue in options class with incompatibility with array accessing a function return i.e. foo()['bar'] 93 95 94 96 == Upgrade Notice == … … 106 108 * Custom shortcode name 107 109 * Translation support 110 = 2.0.1 = 111 * Bug fix 108 112 109 113 == Screenshots ==
Note: See TracChangeset
for help on using the changeset viewer.