Skip to content

Commit 1cb12d8

Browse files
committed
update notifiction note icon url fixed
1 parent 9013f9a commit 1cb12d8

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

README.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: codeboxr, manchumahara
33
Tags: currency converter,currency conversion,currency exchange,currency calculator,bitcoin
44
Requires at least: 5.3
55
Tested up to: 6.7.1
6-
Stable tag: 3.1.5
6+
Stable tag: 3.1.6
77
PHP:7.4.*
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -95,6 +95,9 @@ How to install the plugin and get it working.
9595
== Screenshots ==
9696

9797
== Changelog ==
98+
= 3.1.6 =
99+
* [fixed] Update notification note icon url fixed
100+
98101
= 3.1.5 =
99102
* [improvement] Style and minor improvement
100103
* [updated] WordPress Core 6.7.1 compatible

admin/class-cbcurrencyconverter-admin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ public function plugin_activate_upgrade_notices() {
563563
if ( get_transient( 'cbcurrencyconverter_activated_notice' ) ) {
564564
$notice_html = '<div style="border-left-color:#fb4e24;" class="notice notice-success is-dismissible">';
565565
/* translators: %s : plugin core version */
566-
$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
566+
$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
567567
/* translators: 1. Plugin internal url 2. External plugin's author website link */
568568
$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>';
569569
$notice_html .= '</div>';
@@ -581,7 +581,7 @@ public function plugin_activate_upgrade_notices() {
581581
if ( get_transient( 'cbcurrencyconverter_upgraded_notice' ) ) {
582582
$notice_html = '<div style="border-left-color:#fb4e24;" class="notice notice-success is-dismissible">';
583583
/* translators: %s: plugin core version */
584-
$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
584+
$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
585585
/* translators:1. Plugin internal url 2. Plugin author's website url for this plugin */
586586
$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>';
587587
$notice_html .= '</div>';

cbcurrencyconverter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Plugin Name: CBX Currency Converter
99
* Plugin URI: https://codeboxr.com/product/cbx-currency-converter-for-wordpress/
1010
* Description: Currency Converter and rate display
11-
* Version: 3.1.5
11+
* Version: 3.1.6
1212
* Author: codeboxr
1313
* Author URI: https://codeboxr.com
1414
* License: GPL-2.0+
@@ -24,7 +24,7 @@
2424
}
2525

2626
defined( 'CBCURRENCYCONVERTER_NAME' ) or define( 'CBCURRENCYCONVERTER_NAME', 'cbcurrencyconverter' );
27-
defined( 'CBCURRENCYCONVERTER_VERSION' ) or define( 'CBCURRENCYCONVERTER_VERSION', '3.1.5' );
27+
defined( 'CBCURRENCYCONVERTER_VERSION' ) or define( 'CBCURRENCYCONVERTER_VERSION', '3.1.6' );
2828
defined( 'CBCURRENCYCONVERTER_ROOT_PATH' ) or define( 'CBCURRENCYCONVERTER_ROOT_PATH', plugin_dir_path( __FILE__ ) );
2929
defined( 'CBCURRENCYCONVERTER_ROOT_URL' ) or define( 'CBCURRENCYCONVERTER_ROOT_URL', plugin_dir_url( __FILE__ ) );
3030
defined( 'CBCURRENCYCONVERTER_BASE_NAME' ) or define( 'CBCURRENCYCONVERTER_BASE_NAME', plugin_basename( __FILE__ ) );

templates/admin/support.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,14 @@ class="button outline primary pull-right"><?php esc_html_e( 'Global Settings', '
106106
</div>
107107
</div>
108108
<div class="content">
109+
<div class="cbx-backend-settings-row">
110+
<p>
111+
Version - 3.1.6
112+
</p>
113+
<ul>
114+
<li>[fixed] Update notification note icon url fixed</li>
115+
</ul>
116+
</div>
109117
<div class="cbx-backend-settings-row">
110118
<p>
111119
Version - 3.1.5

0 commit comments

Comments
 (0)