Version Description
- As a quick fix I have commentted out the git functionality as the namespacing used is causing issues with old versions of PHP
Download this release
Release Info
Developer | WPsites |
Plugin | WPide |
Version | 2.3.1 |
Comparing to | |
See all releases |
Code changes from version 2.3 to 2.3.1
- WPide.php +4 -3
- readme.txt +4 -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.3
|
7 |
Author: Simon @ WPsites
|
8 |
Author URI: http://www.wpsites.co.uk
|
9 |
*/
|
@@ -354,7 +354,7 @@ class wpide
|
|
354 |
|
355 |
$this->git_repo_path = $root . sanitize_text_field( $_POST['gitpath'] );
|
356 |
$gitbinary = sanitize_text_field( stripslashes($_POST['gitbinary']) );
|
357 |
-
|
358 |
if ( $gitbinary==="I'll guess.." ){ //the binary path
|
359 |
|
360 |
$thebinary = TQ\Git\Cli\Binary::locateBinary();
|
@@ -366,6 +366,7 @@ class wpide
|
|
366 |
$this->git = TQ\Git\Repository\Repository::open($this->git_repo_path, new TQ\Git\Cli\Binary( $thebinary ), 0755 );
|
367 |
|
368 |
}
|
|
|
369 |
|
370 |
}
|
371 |
|
@@ -1384,7 +1385,7 @@ class wpide
|
|
1384 |
<a href="#" id="wpide_save" alt="Keyboard shortcut to save [Ctrl/Cmd + S]" title="Keyboard shortcut to save [Ctrl/Cmd + S]" class="button-primary">SAVE
|
1385 |
FILE</a>
|
1386 |
|
1387 |
-
<a href="#" id="wpide_git" alt="Open the Git overlay" title="Open the Git overlay" class="button-secondary">Git</a>
|
1388 |
|
1389 |
|
1390 |
<input type="hidden" id="filename" name="filename" value="" />
|
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.3.1
|
7 |
Author: Simon @ WPsites
|
8 |
Author URI: http://www.wpsites.co.uk
|
9 |
*/
|
354 |
|
355 |
$this->git_repo_path = $root . sanitize_text_field( $_POST['gitpath'] );
|
356 |
$gitbinary = sanitize_text_field( stripslashes($_POST['gitbinary']) );
|
357 |
+
/*
|
358 |
if ( $gitbinary==="I'll guess.." ){ //the binary path
|
359 |
|
360 |
$thebinary = TQ\Git\Cli\Binary::locateBinary();
|
366 |
$this->git = TQ\Git\Repository\Repository::open($this->git_repo_path, new TQ\Git\Cli\Binary( $thebinary ), 0755 );
|
367 |
|
368 |
}
|
369 |
+
*/
|
370 |
|
371 |
}
|
372 |
|
1385 |
<a href="#" id="wpide_save" alt="Keyboard shortcut to save [Ctrl/Cmd + S]" title="Keyboard shortcut to save [Ctrl/Cmd + S]" class="button-primary">SAVE
|
1386 |
FILE</a>
|
1387 |
|
1388 |
+
<a href="#" style="display:none;" id="wpide_git" alt="Open the Git overlay" title="Open the Git overlay" class="button-secondary">Git</a>
|
1389 |
|
1390 |
|
1391 |
<input type="hidden" id="filename" name="filename" value="" />
|
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.5
|
6 |
-
Stable tag: 2.3
|
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 |
|
@@ -85,6 +85,9 @@ Either the image contains no image data (its a new empty file) or the image is n
|
|
85 |
4. Default colour picker image
|
86 |
|
87 |
== Changelog ==
|
|
|
|
|
|
|
88 |
= 2.3 =
|
89 |
* Added initial git functions using the following library: PHP-Stream-Wrapper-for-Git from https://github.com/teqneers/PHP-Stream-Wrapper-for-Git
|
90 |
* Initial Git functionality added - it's very experimental!
|
3 |
Tags: code, theme editor, plugin editor, code editor
|
4 |
Requires at least: 3.0
|
5 |
Tested up to: 3.5
|
6 |
+
Stable tag: 2.3.1
|
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 |
|
85 |
4. Default colour picker image
|
86 |
|
87 |
== Changelog ==
|
88 |
+
= 2.3.1 =
|
89 |
+
* As a quick fix I have commentted out the git functionality as the namespacing used is causing issues with old versions of PHP
|
90 |
+
|
91 |
= 2.3 =
|
92 |
* Added initial git functions using the following library: PHP-Stream-Wrapper-for-Git from https://github.com/teqneers/PHP-Stream-Wrapper-for-Git
|
93 |
* Initial Git functionality added - it's very experimental!
|