Skip to content

Commit

Permalink
various changes related to vresion bump
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnderson684 committed Nov 6, 2017
1 parent 120eeda commit 5edc3c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ If you are using composer, you should copy the updater.php file into your plugin

updater.php is a very short file. Find this line ...

`new Updraft_Manager_Updater_1_4('https://example.com/your/WP/mothership/homeurl', 1, 'plugin-dir/plugin-file.php');`
`new Updraft_Manager_Updater_1_5('https://example.com/your/WP/mothership/homeurl', 1, 'plugin-dir/plugin-file.php');`

... and:

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"name": "davidanderson684/simba-plugin-manager-updater",
"description": "This class is an updates checker and UI for WordPress plugins that are hosted using the Simba Plugin Manager plugin",
"require": {
"yahnis-elsts/plugin-update-checker": "^4.3"
"yahnis-elsts/plugin-update-checker": "4.3.*"
}
}
4 changes: 2 additions & 2 deletions updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
dirname(__FILE__).'/vendor/davidanderson684/simba-plugin-manager-updater/class-udm-updater.php'
);

if (!class_exists('Updraft_Manager_Updater_1_4')) {
if (!class_exists('Updraft_Manager_Updater_1_5')) {
foreach ($possible_locations as $location) {
if (file_exists($location)) {
require_once($location);
Expand All @@ -20,7 +20,7 @@
}

try {
new Updraft_Manager_Updater_1_4('https://example.com/your/WP/mothership/siteurl', 1, 'plugin-dir/plugin-file.php');
new Updraft_Manager_Updater_1_5('https://example.com/your/WP/mothership/siteurl', 1, 'plugin-dir/plugin-file.php');
} catch (Exception $e) {
error_log($e->getMessage().' at '.$e->getFile().' line '.$e->getLine());
}
Expand Down

0 comments on commit 5edc3c2

Please sign in to comment.