Skip to content

Commit

Permalink
Use the new Pronamic updater library.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Nov 1, 2023
1 parent 86ea0b1 commit 32b5ad0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
},
"require": {
"php": ">=8.0",
"automattic/jetpack-autoloader": "^2.12"
"automattic/jetpack-autoloader": "^2.12",
"pronamic/pronamic-wp-updater": "^1.0"
},
"require-dev": {
"phpcompatibility/php-compatibility": "^9.3",
Expand Down
2 changes: 2 additions & 0 deletions pronamic-client.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@
* Bootstrap
*/
\Pronamic\WordPress\PronamicClient\Plugin::get_instance( __FILE__ );

\Pronamic\WordPress\Updater\Plugin::instance()->setup();

0 comments on commit 32b5ad0

Please sign in to comment.