Changeset 2074982
- Timestamp:
- 04/25/2019 08:25:47 PM (7 years ago)
- Location:
- code-injection/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-code-injection.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
code-injection/trunk/readme.txt
r2066487 r2074982 5 5 Tested up to: 5.1.1 6 6 Requires PHP: 5.2.4 7 Stable tag: 2.4. 07 Stable tag: 2.4.1 8 8 License: Apache License, Version 2.0 9 9 License URI: https://github.com/Rmanaf/wp-code-injection/blob/master/LICENSE … … 12 12 13 13 == Changelog == 14 15 = 2.4.1 = 16 * [fix] Disabled code error 14 17 15 18 = 2.4.0 = -
code-injection/trunk/wp-code-injection.php
r2066487 r2074982 23 23 Plugin URI: https://wordpress.org/plugins/code-injection 24 24 Description: Allows You to inject code snippets into the pages by just using the Wordpress shortcode 25 Version: 2.4. 025 Version: 2.4.1 26 26 Author: Arman Afzal 27 27 Author URI: https://github.com/Rmanaf … … 55 55 private static $role_version = '1.0.0'; 56 56 57 private static $client_version = '2.4. 0';57 private static $client_version = '2.4.1'; 58 58 59 59 … … 195 195 { 196 196 197 global $post;198 199 $temp_post = $post;200 201 197 extract(shortcode_atts(['id' => ''], $atts)); 202 198 … … 249 245 250 246 } 251 252 $post = $temp_post;253 247 254 248 if ($render_shortcodes) { … … 627 621 $is_plugin = isset($code_is_plugin) && $code_is_plugin == '1'; 628 622 623 if(!isset($code_enabled)) 624 { 625 $code_enabled = false; 626 } 627 629 628 if(!$is_plugin || $code_enabled == false) 630 629 {
Note: See TracChangeset
for help on using the changeset viewer.