diff --git a/docs/dist/envato-market.zip b/docs/dist/envato-market.zip
index 531b24c..8c7dd4e 100644
Binary files a/docs/dist/envato-market.zip and b/docs/dist/envato-market.zip differ
diff --git a/docs/dist/update-check.json b/docs/dist/update-check.json
index 7898bcf..0e2f852 100644
--- a/docs/dist/update-check.json
+++ b/docs/dist/update-check.json
@@ -1,7 +1,7 @@
{
"name": "Envato Market",
"slug": "envato-market",
- "version": "2.0.11",
+ "version": "2.0.12",
"author": "Envato",
"author_profile": "https://envato.com/market-plugin/",
"contributors": {
@@ -23,7 +23,7 @@
"homepage": "https://envato.com/market-plugin/",
"sections": {
"description": "WordPress Theme & Plugin management for the Envato Market.",
- "changelog": "
v2.0.11
- Perform additional current_user_can checks during theme installation
v2.0.10
- Fix a bug where themes didn't load in version 2.0.9. Sorry about that folks.
- Improvements to the development environment
v2.0.9
- PHP 8.2 compatibility / deprecation warning fixes
- Improvements to the development environment
v2.0.8
- Ensure compatibility with 6.1
- Fix blank page bug when items had no reviews
v2.0.7
- Fix global notice hidden bug
v2.0.6
- Add health check information to help diagnose common plugin issues
v2.0.5
- Fix javascript compatibility with broken jQuery in 3rd party themes/plugins
"
+ "changelog": "v2.0.12
- Rebrand with the new Envato logo
v2.0.11
- Perform additional current_user_can checks during theme installation
v2.0.10
- Fix a bug where themes didn't load in version 2.0.9. Sorry about that folks.
- Improvements to the development environment
v2.0.9
- PHP 8.2 compatibility / deprecation warning fixes
- Improvements to the development environment
v2.0.8
- Ensure compatibility with 6.1
- Fix blank page bug when items had no reviews
v2.0.7
- Fix global notice hidden bug
v2.0.6
- Add health check information to help diagnose common plugin issues
v2.0.5
- Fix javascript compatibility with broken jQuery in 3rd party themes/plugins
"
},
"short_description": "WordPress Theme & Plugin management for the Envato Market.",
"download_link": "http://envato.github.io/wp-envato-market/dist/envato-market.zip",
diff --git a/envato-market.php b/envato-market.php
index 5cdbac7..d529ac2 100644
--- a/envato-market.php
+++ b/envato-market.php
@@ -3,7 +3,7 @@
* Plugin Name: Envato Market
* Plugin URI: https://envato.com/market-plugin/
* Description: WordPress Theme & Plugin management for the Envato Market.
- * Version: 2.0.11
+ * Version: 2.0.12
* Author: Envato
* Author URI: https://envato.com
* Requires at least: 5.1
@@ -21,7 +21,7 @@
/* Set plugin version constant. */
-define( 'ENVATO_MARKET_VERSION', '2.0.11' );
+define( 'ENVATO_MARKET_VERSION', '2.0.12' );
/* Debug output control. */
define( 'ENVATO_MARKET_DEBUG_OUTPUT', 0 );
diff --git a/fonts/envato-market.eot b/fonts/envato-market.eot
deleted file mode 100644
index b56e926..0000000
Binary files a/fonts/envato-market.eot and /dev/null differ
diff --git a/fonts/envato-market.svg b/fonts/envato-market.svg
deleted file mode 100644
index 16fe5fc..0000000
--- a/fonts/envato-market.svg
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/fonts/envato-market.ttf b/fonts/envato-market.ttf
deleted file mode 100644
index 779b097..0000000
Binary files a/fonts/envato-market.ttf and /dev/null differ
diff --git a/fonts/envato-market.woff b/fonts/envato-market.woff
deleted file mode 100644
index ef81656..0000000
Binary files a/fonts/envato-market.woff and /dev/null differ
diff --git a/images/envato-market-logo.svg b/images/envato-market-logo.svg
index 9844d3f..065ed2e 100644
--- a/images/envato-market-logo.svg
+++ b/images/envato-market-logo.svg
@@ -1,14 +1 @@
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/inc/admin/class-envato-market-admin.php b/inc/admin/class-envato-market-admin.php
index f26612d..d794a05 100644
--- a/inc/admin/class-envato-market-admin.php
+++ b/inc/admin/class-envato-market-admin.php
@@ -120,9 +120,6 @@ public function init_actions() {
// Maybe delete the site transients.
add_action( 'init', array( $this, 'maybe_delete_transients' ), 11 );
- // Add the menu icon.
- add_action( 'admin_head', array( $this, 'add_menu_icon' ) );
-
// Add the menu.
add_action( 'admin_menu', array( $this, 'add_menu_page' ) );
@@ -351,52 +348,6 @@ public static function do_settings_sections( $page, $columns = 2 ) {
}
}
- /**
- * Add a font based menu icon
- *
- * @since 1.0.0
- */
- public function add_menu_icon() {
- // Fonts directory URL.
- $fonts_dir_url = envato_market()->get_plugin_url() . 'fonts/';
-
- // Create font styles.
- $style = '';
-
- // Remove space after colons.
- $style = str_replace( ': ', ':', $style );
-
- // Remove whitespace.
- echo str_replace( array( "\r\n", "\r", "\n", "\t", ' ', ' ', ' ', ' ', ' ' ), '', $style );
- }
-
/**
* Adds the menu.
*
@@ -409,6 +360,8 @@ public function add_menu_page() {
return;
}
+ $svg_icon = '';
+
$page = add_menu_page(
__( 'Envato Market', 'envato-market' ),
__( 'Envato Market', 'envato-market' ),
@@ -417,7 +370,8 @@ public function add_menu_page() {
array(
$this,
'render_admin_callback',
- )
+ ),
+ 'data:image/svg+xml;base64,' . base64_encode($svg_icon)
);
// Enqueue admin CSS.
diff --git a/languages/envato-market.pot b/languages/envato-market.pot
index 489613a..3527b0e 100644
--- a/languages/envato-market.pot
+++ b/languages/envato-market.pot
@@ -1,14 +1,14 @@
-# Copyright (C) 2023 Envato
+# Copyright (C) 2024 Envato
# This file is distributed under the same license as the Envato Market package.
msgid ""
msgstr ""
-"Project-Id-Version: Envato Market 2.0.11\n"
+"Project-Id-Version: Envato Market 2.0.12\n"
"Report-Msgid-Bugs-To: Envato Support Team \n"
-"POT-Creation-Date: 2023-12-11 02:54:11+00:00\n"
+"POT-Creation-Date: 2024-08-14 01:28:42+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"PO-Revision-Date: 2023-MO-DA HO:MI+ZONE\n"
+"PO-Revision-Date: 2024-MO-DA HO:MI+ZONE\n"
"Last-Translator: Envato Support Team \n"
"Language-Team: Envato Support Team \n"
"X-Generator: grunt-wp-i18n 1.0.3\n"
@@ -34,7 +34,7 @@ msgstr ""
msgid "Cheatin’ huh?"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:285
+#: inc/admin/class-envato-market-admin.php:282
msgid "You do not have sufficient permissions to delete transients."
msgstr ""
@@ -42,172 +42,172 @@ msgstr ""
msgid "Envato Market"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:483
+#: inc/admin/class-envato-market-admin.php:437
msgid "Save"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:484
+#: inc/admin/class-envato-market-admin.php:438
msgid "Remove"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:485
+#: inc/admin/class-envato-market-admin.php:439
msgid "Cancel"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:486
+#: inc/admin/class-envato-market-admin.php:440
msgid "An unknown error occurred. Try again."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:509
+#: inc/admin/class-envato-market-admin.php:463
#: inc/admin/view/partials/settings.php:21
msgid "Test API Connection"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:514
+#: inc/admin/class-envato-market-admin.php:468
#: inc/admin/view/callback/setting/items.php:22
msgid "ID"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:517 inc/admin/functions.php:341
+#: inc/admin/class-envato-market-admin.php:471 inc/admin/functions.php:341
#: inc/admin/view/callback/setting/items.php:24
msgid "Delete"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:538
+#: inc/admin/class-envato-market-admin.php:492
msgid "Remove Item"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:539
+#: inc/admin/class-envato-market-admin.php:493
msgid ""
"You are about to remove the connection between the Envato Market API and "
"this item. You cannot undo this action."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:544
+#: inc/admin/class-envato-market-admin.php:498
#: inc/admin/view/callback/setting/items.php:37
msgid "Add Item"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:547
-#: inc/admin/class-envato-market-admin.php:624
+#: inc/admin/class-envato-market-admin.php:501
+#: inc/admin/class-envato-market-admin.php:578
msgid "Token"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:550
+#: inc/admin/class-envato-market-admin.php:504
msgid "Enter the Envato API Personal Token."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:551
+#: inc/admin/class-envato-market-admin.php:505
msgid "Item ID"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:553
+#: inc/admin/class-envato-market-admin.php:507
msgid "Enter the Envato Item ID."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:577 inc/admin/functions.php:165
+#: inc/admin/class-envato-market-admin.php:531 inc/admin/functions.php:165
#: inc/admin/functions.php:166 inc/admin/functions.php:407
#: inc/admin/functions.php:408
msgid "Version %s"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:577
+#: inc/admin/class-envato-market-admin.php:531
msgid "Version"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:586 inc/admin/functions.php:176
+#: inc/admin/class-envato-market-admin.php:540 inc/admin/functions.php:176
#: inc/admin/functions.php:418
msgid "By"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:593
-#: inc/admin/class-envato-market-admin.php:594 inc/admin/functions.php:146
+#: inc/admin/class-envato-market-admin.php:547
+#: inc/admin/class-envato-market-admin.php:548 inc/admin/functions.php:146
#: inc/admin/functions.php:388
msgid "Install"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:616
+#: inc/admin/class-envato-market-admin.php:570
msgid "Getting Started (Simple)"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:633
+#: inc/admin/class-envato-market-admin.php:587
msgid "Single Item Tokens (Advanced)"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:641
+#: inc/admin/class-envato-market-admin.php:595
msgid "Envato Market Items"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1069
-#: inc/admin/class-envato-market-admin.php:1094
+#: inc/admin/class-envato-market-admin.php:1023
+#: inc/admin/class-envato-market-admin.php:1048
msgid "Installing Plugin..."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1070
+#: inc/admin/class-envato-market-admin.php:1024
msgid "You do not have sufficient permissions to install plugins on this site."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1071
-#: inc/admin/class-envato-market-admin.php:1096
-#: inc/admin/class-envato-market-admin.php:1154
+#: inc/admin/class-envato-market-admin.php:1025
+#: inc/admin/class-envato-market-admin.php:1050
+#: inc/admin/class-envato-market-admin.php:1108
#: inc/admin/class-envato-market-theme-installer-skin.php:113
msgid "Return to Plugin Installer"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1095
-#: inc/admin/class-envato-market-admin.php:1153
+#: inc/admin/class-envato-market-admin.php:1049
+#: inc/admin/class-envato-market-admin.php:1107
msgid "An error occurred, please check that the item ID is correct."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1101
+#: inc/admin/class-envato-market-admin.php:1055
msgid "Installing Plugin: %s"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1127
-#: inc/admin/class-envato-market-admin.php:1152
+#: inc/admin/class-envato-market-admin.php:1081
+#: inc/admin/class-envato-market-admin.php:1106
msgid "Installing Theme..."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1128
+#: inc/admin/class-envato-market-admin.php:1082
msgid "You do not have sufficient permissions to install themes on this site."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1129
+#: inc/admin/class-envato-market-admin.php:1083
#: inc/admin/class-envato-market-theme-installer-skin.php:67
msgid "Return to Theme Installer"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1161
+#: inc/admin/class-envato-market-admin.php:1115
msgid "Installing Theme: %s"
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1189
+#: inc/admin/class-envato-market-admin.php:1143
msgid "The Token is missing."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1191
-#: inc/admin/class-envato-market-admin.php:1294
+#: inc/admin/class-envato-market-admin.php:1145
+#: inc/admin/class-envato-market-admin.php:1248
msgid "The Item ID is missing."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1193
-#: inc/admin/class-envato-market-admin.php:1340
+#: inc/admin/class-envato-market-admin.php:1147
+#: inc/admin/class-envato-market-admin.php:1294
msgid "User not allowed to install items."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1204
+#: inc/admin/class-envato-market-admin.php:1158
msgid "The Token or Item ID is incorrect."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1208
+#: inc/admin/class-envato-market-admin.php:1162
msgid "The item cannot be downloaded."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1277
+#: inc/admin/class-envato-market-admin.php:1231
msgid "An unknown error occurred."
msgstr ""
-#: inc/admin/class-envato-market-admin.php:1296
+#: inc/admin/class-envato-market-admin.php:1250
#: inc/class-envato-market-github.php:358
msgid "User not allowed to update items."
msgstr ""
diff --git a/package-lock.json b/package-lock.json
index 683e6da..708ff2a 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "envato-market",
- "version": "2.0.11",
+ "version": "2.0.12",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "envato-market",
- "version": "2.0.11",
+ "version": "2.0.12",
"license": "GPL-2.0+",
"devDependencies": {
"eslint": "^8.47.0",
diff --git a/package.json b/package.json
index caa025b..32891da 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "envato-market",
"title": "Envato Market",
- "version": "2.0.11",
+ "version": "2.0.12",
"homepage": "https://envato.com/market-plugin/",
"repository": {
"type": "git",
diff --git a/readme.txt b/readme.txt
index 3af08ed..403830f 100644
--- a/readme.txt
+++ b/readme.txt
@@ -3,7 +3,7 @@ Website: https://www.envato.com/lp/market-plugin/
Contributors: valendesigns, dtbaker, aaronrutley
Requires at least: 5.1
Tested up to: 6.1
-Stable tag: 2.0.11
+Stable tag: 2.0.12
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html