diff --git a/plugin.json b/plugin.json index 74a3e1e..15f6a9a 100644 --- a/plugin.json +++ b/plugin.json @@ -1,7 +1,7 @@ { "name": "woonuxt Settings", - "version": "1.0.49", - "download_url": "https://github.com/scottyzen/woonuxt-settings/releases/download/1.0.49/woonuxt-settings.zip", + "version": "1.0.50", + "download_url": "https://github.com/scottyzen/woonuxt-settings/releases/download/1.0.50/woonuxt-settings.zip", "homepage": "https://woonuxt.com/", "tested": "6.3.2", @@ -13,7 +13,7 @@ "sections": { "description": "WooNuxt is unmatched when it comes to performance and scalability. Reap the benefits of having a online store that out performs all of your competitors.", "installation": "(Recommended) Installation instructions.", - "changelog": "
Add SEO settings
Add functionality to increase max query amount if there are more than 100 products
Fix error when WooCommerce is disabled or not installed
" + "changelog": "Add SEO settings
Add functionality to increase max query amount if there are more than 100 products
Fix error when WooCommerce is disabled or not installed
" }, "icons": { diff --git a/woonuxt.php b/woonuxt.php index 40e6b81..f86d0ed 100644 --- a/woonuxt.php +++ b/woonuxt.php @@ -1,23 +1,20 @@ 'WooGraphQL', 'description' => 'Enables GraphQL to work with WooCommerce.', 'url' => - 'https://github.com/wp-graphql/wp-graphql-woocommerce/releases/download/v' . - WOO_GRAPHQL_VERSION . - '/wp-graphql-woocommerce.zip', + 'https://github.com/wp-graphql/wp-graphql-woocommerce/releases/download/v' . WOO_GRAPHQL_VERSION . '/wp-graphql-woocommerce.zip', 'file' => 'wp-graphql-woocommerce/wp-graphql-woocommerce.php', - 'icon' => - 'https://woographql.com/_next/image?url=https%3A%2F%2Fadasmqnzur.cloudimg.io%2Fsuperduper.axistaylor.com%2Fapp%2Fuploads%2Fsites%2F4%2F2022%2F08%2Flogo-1.png%3Ffunc%3Dbound%26w%3D300%26h%3D300&w=384&q=75', + 'icon' => 'https://woographql.com/_next/image?url=https%3A%2F%2Fadasmqnzur.cloudimg.io%2Fsuperduper.axistaylor.com%2Fapp%2Fuploads%2Fsites%2F4%2F2022%2F08%2Flogo-1.png%3Ffunc%3Dbound%26w%3D300%26h%3D300&w=384&q=75', 'slug' => 'woographql', ], 'wp-graphql-cors' => [ @@ -128,13 +99,9 @@ function pluginActionLinksWoonuxt($links) function getGithubVersionNumber(){ $github_url = 'https://raw.githubusercontent.com/scottyzen/woonuxt-settings/master/woonuxt.php'; $github_file = file_get_contents($github_url); - if (false === $github_file) { - return '0.0.0'; - } + if (false === $github_file) { return '0.0.0'; } preg_match('/WOONUXT_SETTINGS_VERSION\', \'(.*?)\'/', $github_file, $matches); - if (!isset($matches[1])) { - return '0.0.0'; - } + if (!isset($matches[1])) { return '0.0.0'; } return $matches[1]; } @@ -172,11 +139,7 @@ function wooNuxtOptionsPageHtml(){There is an update available for the WooNuxt Settings Plugin. Click %s to update from version %s to %s
', - esc_url($update_url), - esc_html($update_text), - esc_html($current_version), - esc_html($github_version), - ); + printf('There is an update available for the WooNuxt Settings Plugin. Click %s to update from version %s to %s
', esc_url($update_url), esc_html($update_text), esc_html($current_version), esc_html($github_version) ); echo 'These settings are required for WooNuxt to work properly. Click the links below to go to the respective settings page.
Social Media | +Social Media | +Handle | URL | + | @@ -555,9 +500,16 @@ class="w-full" + ++ | @@ -567,9 +519,16 @@ class="w-full" + ++ | @@ -579,9 +538,16 @@ class="w-full" + ++ | @@ -591,9 +557,16 @@ class="w-full" + ++ | @@ -603,14 +576,60 @@ class="w-full" + ++ + | + +
---|---|---|---|
+ + | ++ + | +||
GitHub | ++ + | ++ |
These settings are used to generate the meta tags for social media.