Add From Server - Version 3.4.5

Version Description

Download this release

Release Info

Developer dd32-githubsync
Plugin Icon wp plugin Add From Server
Version 3.4.5
Comparing to
See all releases

Code changes from version 3.4.4 to 3.4.5

Files changed (4) hide show
  1. add-from-server.php +2 -2
  2. changelog.txt +3 -0
  3. old-versions.php +5 -1
  4. readme.md +4 -1
add-from-server.php CHANGED
@@ -2,7 +2,7 @@
2
  namespace dd32\WordPress\AddFromServer;
3
  /*
4
  * Plugin Name: Add From Server
5
- * Version: 3.4.4
6
  * Plugin URI: https://dd32.id.au/wordpress-plugins/add-from-server/
7
  * Description: Plugin to allow the Media Manager to add files from the webservers filesystem.
8
  * Author: Dion Hulse
@@ -16,7 +16,7 @@ if ( !is_admin() ) {
16
 
17
  const MIN_WP = '5.4';
18
  const MIN_PHP = '7.0';
19
- const VERSION = '3.4.4';
20
 
21
  // Dynamic constants must be define()'d.
22
  define( __NAMESPACE__ . '\PLUGIN', plugin_basename( __FILE__ ) );
2
  namespace dd32\WordPress\AddFromServer;
3
  /*
4
  * Plugin Name: Add From Server
5
+ * Version: 3.4.5
6
  * Plugin URI: https://dd32.id.au/wordpress-plugins/add-from-server/
7
  * Description: Plugin to allow the Media Manager to add files from the webservers filesystem.
8
  * Author: Dion Hulse
16
 
17
  const MIN_WP = '5.4';
18
  const MIN_PHP = '7.0';
19
+ const VERSION = '3.4.5';
20
 
21
  // Dynamic constants must be define()'d.
22
  define( __NAMESPACE__ . '\PLUGIN', plugin_basename( __FILE__ ) );
changelog.txt CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  = 3.4.4 =
2
  * Simplify the date handling
3
 
1
+ = 3.4.5 =
2
+ * Fix a fatal error when WordPress or PHP requirements are not met.
3
+
4
  = 3.4.4 =
5
  * Simplify the date handling
6
 
old-versions.php CHANGED
@@ -2,7 +2,11 @@
2
  namespace dd32\WordPress\AddFromServer;
3
 
4
  class Plugin {
5
- function __construct() {
 
 
 
 
6
  global $wp_version;
7
 
8
  $error = sprintf(
2
  namespace dd32\WordPress\AddFromServer;
3
 
4
  class Plugin {
5
+ public static function instance() {
6
+ return new Plugin();
7
+ }
8
+
9
+ protected function __construct() {
10
  global $wp_version;
11
 
12
  $error = sprintf(
readme.md CHANGED
@@ -5,7 +5,7 @@ Add From Server
5
  * Requires at least: 5.4
6
  * Tested up to: 5.5
7
  * Requires PHP: 7.0
8
- * Stable tag: 3.4.4
9
 
10
  Add From Server is designed to help ease the pain of bad web hosts, allowing you to upload files via FTP or SSH and later import them into WordPress.
11
 
@@ -32,6 +32,9 @@ https://developer.wordpress.org/cli/commands/media/import/
32
 
33
  ## Changelog
34
 
 
 
 
35
  ### 3.4.4
36
  * Simplify the date handling
37
 
5
  * Requires at least: 5.4
6
  * Tested up to: 5.5
7
  * Requires PHP: 7.0
8
+ * Stable tag: 3.4.5
9
 
10
  Add From Server is designed to help ease the pain of bad web hosts, allowing you to upload files via FTP or SSH and later import them into WordPress.
11
 
32
 
33
  ## Changelog
34
 
35
+ ### 3.4.5
36
+ * Fix a fatal error when WordPress or PHP requirements are not met.
37
+
38
  ### 3.4.4
39
  * Simplify the date handling
40