Changeset 1554714
- Timestamp:
- 12/14/2016 03:26:20 PM (9 years ago)
- Location:
- advanced-code-editor/trunk
- Files:
-
- 2 edited
-
advanced-code-editor.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
advanced-code-editor/trunk/advanced-code-editor.php
r985195 r1554714 4 4 Plugin URI: http://en.bainternet.info 5 5 Description: Enables syntax highlighting in the integrated themes and plugins source code editors with line numbers, AutoComplete and much more. Supports PHP, HTML, CSS and JS. 6 Version: 2.2. 66 Version: 2.2.7 7 7 Author: BaInternet 8 8 Author URI: http://en.bainternet.info … … 57 57 * @var string 58 58 */ 59 public $version = '2.2. 6';59 public $version = '2.2.7'; 60 60 61 61 /** 62 62 * Class constarctor 63 63 */ 64 public function advanced_code_editor(){64 public function __construct(){ 65 65 if( is_admin()){ 66 66 $this->tablename = 'filemeta'; … … 598 598 function ajax_create_directory(){ 599 599 check_ajax_referer('create_directory'); 600 global $current_user; 601 get_currentuserinfo(); 600 $current_user = wp_get_current_user(); 602 601 if (isset($_POST['di_name']) && isset($_POST['dir'])){ 603 602 if (current_user_can('manage_options')){ … … 643 642 function ajax_delete_file(){ 644 643 check_ajax_referer('delete_file'); 645 global $current_user; 646 get_currentuserinfo(); 644 $current_user = wp_get_current_user(); 647 645 if(isset($_POST['F_T_D']) && $_POST['F_T_D'] != '' && isset($_POST['f_type'])){ 648 646 $f_name = ''; … … 667 665 function ajax_create_file(){ 668 666 check_ajax_referer('create_new_file'); 669 global $current_user; 670 get_currentuserinfo(); 667 $current_user = wp_get_current_user(); 671 668 if(isset($_POST)){ 672 669 $checks = false; -
advanced-code-editor/trunk/readme.txt
r1549138 r1554714 5 5 Requires at least: 3.0 6 6 Tested up to: 4.7.0 7 Stable tag: 2.2. 67 Stable tag: 2.2.7 8 8 9 9 Enables syntax highlighting in the integrated themes and plugins source code editors with line numbers, AutoComplete and much more. Supports PHP, HTML, CSS and JS. … … 84 84 85 85 == Changelog == 86 2.2.7 87 PHP7 support. 88 removed deprecated functions call. 89 86 90 2.2.6 87 91 Fixed strict errors notice.
Note: See TracChangeset
for help on using the changeset viewer.