Skip to content

Commit

Permalink
update notifiction note icon url fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
manchumahara committed Jan 3, 2025
1 parent 9013f9a commit 1cb12d8
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 5 deletions.
5 changes: 4 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: codeboxr, manchumahara
Tags: currency converter,currency conversion,currency exchange,currency calculator,bitcoin
Requires at least: 5.3
Tested up to: 6.7.1
Stable tag: 3.1.5
Stable tag: 3.1.6
PHP:7.4.*
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -95,6 +95,9 @@ How to install the plugin and get it working.
== Screenshots ==

== Changelog ==
= 3.1.6 =
* [fixed] Update notification note icon url fixed

= 3.1.5 =
* [improvement] Style and minor improvement
* [updated] WordPress Core 6.7.1 compatible
Expand Down
4 changes: 2 additions & 2 deletions admin/class-cbcurrencyconverter-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ public function plugin_activate_upgrade_notices() {
if ( get_transient( 'cbcurrencyconverter_activated_notice' ) ) {
$notice_html = '<div style="border-left-color:#fb4e24;" class="notice notice-success is-dismissible">';
/* translators: %s : plugin core version */
$notice_html .= '<p><img style="float: left; display: inline-block; margin-right: 15px;" alt="icon" src="' . esc_url(plugins_url('assets/images/icon_48.png')) . '" />' . sprintf( wp_kses(__( 'Thanks for installing/deactivating <strong>CBX Currency Converter</strong> V%s - Codeboxr Team', 'cbcurrencyconverter' ), ['strong' => []]), esc_attr(CBCURRENCYCONVERTER_VERSION) ) . '</p>'; //phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage
$notice_html .= '<p><img style="float: left; display: inline-block; margin-right: 15px;" alt="icon" src="' . esc_url(plugins_url('assets/images/icon_48.png', dirname(__FILE__))) . '" />' . sprintf( wp_kses(__( 'Thanks for installing/deactivating <strong>CBX Currency Converter</strong> V%s - Codeboxr Team', 'cbcurrencyconverter' ), ['strong' => []]), esc_attr(CBCURRENCYCONVERTER_VERSION) ) . '</p>'; //phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage
/* translators: 1. Plugin internal url 2. External plugin's author website link */
$notice_html .= '<p>' . sprintf( __( 'Check <a style="color: #fb4e24; font-weight: bold;" href="%1$s">Plugin Setting</a> | <a style="color: #fb4e24; font-weight: bold;" href="%2$s" target="_blank">Documentation</a>', 'cbcurrencyconverter' ), esc_url(admin_url( 'options-general.php?page=cbcurrencyconverter' )), 'https://codeboxr.com/product/cbx-currency-converter-for-wordpress/' ) . '</p>';
$notice_html .= '</div>';
Expand All @@ -581,7 +581,7 @@ public function plugin_activate_upgrade_notices() {
if ( get_transient( 'cbcurrencyconverter_upgraded_notice' ) ) {
$notice_html = '<div style="border-left-color:#fb4e24;" class="notice notice-success is-dismissible">';
/* translators: %s: plugin core version */
$notice_html .= '<p><img style="float: left; display: inline-block; margin-right: 15px;" alt="icon" src="' . esc_url(plugins_url('assets/images/icon_48.png')) . '"/>' . sprintf( wp_kses(__( 'Thanks for upgrading <strong>CBX Currency Converter</strong> V%s , enjoy the new features and bug fixes - Codeboxr Team', 'cbcurrencyconverter' ), ['strong' => []]), esc_attr(CBCURRENCYCONVERTER_VERSION) ) . '</p>'; //phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage
$notice_html .= '<p><img style="float: left; display: inline-block; margin-right: 15px;" alt="icon" src="' . esc_url(plugins_url('assets/images/icon_48.png', dirname(__FILE__))) . '"/>' . sprintf( wp_kses(__( 'Thanks for upgrading <strong>CBX Currency Converter</strong> V%s , enjoy the new features and bug fixes - Codeboxr Team', 'cbcurrencyconverter' ), ['strong' => []]), esc_attr(CBCURRENCYCONVERTER_VERSION) ) . '</p>'; //phpcs:ignore PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage
/* translators:1. Plugin internal url 2. Plugin author's website url for this plugin */
$notice_html .= '<p>' . sprintf( wp_kses(__( 'Check <a style="color: #fb4e24; font-weight: bold;" href="%1$s" >Plugin Setting</a> | <a style="color: #fb4e24; font-weight: bold;" href="%2$s" target="_blank">Documentation</a>', 'cbcurrencyconverter' ), ['a' => ['href' => [], 'style' => [], 'target' => [], 'class' => []]]), esc_url(admin_url( 'options-general.php?page=cbcurrencyconverter' )), 'https://codeboxr.com/product/cbx-currency-converter-for-wordpress/' ) . '</p>';
$notice_html .= '</div>';
Expand Down
4 changes: 2 additions & 2 deletions cbcurrencyconverter.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Plugin Name: CBX Currency Converter
* Plugin URI: https://codeboxr.com/product/cbx-currency-converter-for-wordpress/
* Description: Currency Converter and rate display
* Version: 3.1.5
* Version: 3.1.6
* Author: codeboxr
* Author URI: https://codeboxr.com
* License: GPL-2.0+
Expand All @@ -24,7 +24,7 @@
}

defined( 'CBCURRENCYCONVERTER_NAME' ) or define( 'CBCURRENCYCONVERTER_NAME', 'cbcurrencyconverter' );
defined( 'CBCURRENCYCONVERTER_VERSION' ) or define( 'CBCURRENCYCONVERTER_VERSION', '3.1.5' );
defined( 'CBCURRENCYCONVERTER_VERSION' ) or define( 'CBCURRENCYCONVERTER_VERSION', '3.1.6' );
defined( 'CBCURRENCYCONVERTER_ROOT_PATH' ) or define( 'CBCURRENCYCONVERTER_ROOT_PATH', plugin_dir_path( __FILE__ ) );
defined( 'CBCURRENCYCONVERTER_ROOT_URL' ) or define( 'CBCURRENCYCONVERTER_ROOT_URL', plugin_dir_url( __FILE__ ) );
defined( 'CBCURRENCYCONVERTER_BASE_NAME' ) or define( 'CBCURRENCYCONVERTER_BASE_NAME', plugin_basename( __FILE__ ) );
Expand Down
8 changes: 8 additions & 0 deletions templates/admin/support.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,14 @@ class="button outline primary pull-right"><?php esc_html_e( 'Global Settings', '
</div>
</div>
<div class="content">
<div class="cbx-backend-settings-row">
<p>
Version - 3.1.6
</p>
<ul>
<li>[fixed] Update notification note icon url fixed</li>
</ul>
</div>
<div class="cbx-backend-settings-row">
<p>
Version - 3.1.5
Expand Down

0 comments on commit 1cb12d8

Please sign in to comment.