Skip to content

Commit

Permalink
layout
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAnderson684 committed Oct 30, 2020
1 parent 1df990f commit b97c09e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion woocommerce-printnode-mpdf.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public function __construct() {

// Sanity check for version >= 3.0
if (!method_exists('WP_Dependency_Installer', 'json_file_decode')) {
add_action('admin_notices', function() {
add_action('admin_notices', function() {
$class = 'notice notice-error is-dismissible';
$label = __('WooCommerce PrintNode mPDF engine', 'woocommerce-printorders');
$file = (new ReflectionClass('WP_Dependency_Installer'))->getFilename();
Expand Down
11 changes: 11 additions & 0 deletions wp-dependencies.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[
{
"name": "GitHub Updater",
"host": "github",
"slug": "github-updater/github-updater.php",
"uri": "afragen/github-updater",
"branch": "develop",
"optional": true,
"token": null
}
]

0 comments on commit b97c09e

Please sign in to comment.