WPide - Version 2.0.11

Version Description

Download this release

Release Info

Developer WPsites
Plugin Icon 128x128 WPide
Version 2.0.11
Comparing to
See all releases

Code changes from version 2.0.10 to 2.0.11

Files changed (2) hide show
  1. WPide.php +3 -2
  2. readme.txt +1 -1
WPide.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WPide
4
  Plugin URI: https://github.com/WPsites/WPide
5
  Description: WordPress code editor with auto completion of both WordPress and PHP functions with reference, syntax highlighting, line numbers, tabbed editing, automatic backup.
6
- Version: 2.0.10
7
  Author: Simon Dunton
8
  Author URI: http://www.wpsites.co.uk
9
  */
@@ -270,9 +270,10 @@ class wpide
270
 
271
  }else if ($_POST['type'] == "file"){
272
 
 
273
  $write_result = $wp_filesystem->put_contents(
274
  $root . $path . $filename,
275
- ' ',
276
  FS_CHMOD_FILE // predefined mode settings for WP files
277
  );
278
 
3
  Plugin Name: WPide
4
  Plugin URI: https://github.com/WPsites/WPide
5
  Description: WordPress code editor with auto completion of both WordPress and PHP functions with reference, syntax highlighting, line numbers, tabbed editing, automatic backup.
6
+ Version: 2.0.11
7
  Author: Simon Dunton
8
  Author URI: http://www.wpsites.co.uk
9
  */
270
 
271
  }else if ($_POST['type'] == "file"){
272
 
273
+ //write the file
274
  $write_result = $wp_filesystem->put_contents(
275
  $root . $path . $filename,
276
+ '',
277
  FS_CHMOD_FILE // predefined mode settings for WP files
278
  );
279
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: WPsites, Thomas Wieczorek
3
  Tags: code, theme editor, plugin editor, code editor
4
  Requires at least: 3.0
5
  Tested up to: 3.3.2
6
- Stable tag: 2.0.10
7
 
8
  WordPress code editor with auto completion of both WordPress and PHP functions with reference, syntax highlighting, line numbers, tabbed editing, automatic backup.
9
 
3
  Tags: code, theme editor, plugin editor, code editor
4
  Requires at least: 3.0
5
  Tested up to: 3.3.2
6
+ Stable tag: 2.0.11
7
 
8
  WordPress code editor with auto completion of both WordPress and PHP functions with reference, syntax highlighting, line numbers, tabbed editing, automatic backup.
9