Changeset 3291777
- Timestamp:
- 05/12/2025 10:36:44 AM (10 months ago)
- Location:
- uae-aed-currency-symbol-changer-by-ingenidev
- Files:
-
- 3 edited
- 5 copied
-
tags/1.0.11 (copied) (copied from uae-aed-currency-symbol-changer-by-ingenidev/trunk)
-
tags/1.0.11/custom-aed-font.css (copied) (copied from uae-aed-currency-symbol-changer-by-ingenidev/trunk/custom-aed-font.css) (2 diffs)
-
tags/1.0.11/fonts (copied) (copied from uae-aed-currency-symbol-changer-by-ingenidev/trunk/fonts)
-
tags/1.0.11/ingenidev-uae-aed-currency-symbol-changer.php (copied) (copied from uae-aed-currency-symbol-changer-by-ingenidev/trunk/ingenidev-uae-aed-currency-symbol-changer.php) (3 diffs)
-
tags/1.0.11/readme.txt (copied) (copied from uae-aed-currency-symbol-changer-by-ingenidev/trunk/readme.txt) (1 diff)
-
trunk/custom-aed-font.css (modified) (2 diffs)
-
trunk/ingenidev-uae-aed-currency-symbol-changer.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uae-aed-currency-symbol-changer-by-ingenidev/tags/1.0.11/custom-aed-font.css
r3291426 r3291777 2 2 3 3 @font-face { 4 font-family: ' NewAEDSymbolFont';4 font-family: 'igNewAEDSymbolFont'; 5 5 src: url('fonts/font.woff2') format('woff2'); 6 /* url('fonts/ font.woff') format('woff'); */6 /* url('fonts/igfont.woff') format('woff'); */ 7 7 font-weight: normal; 8 8 font-style: normal; … … 10 10 } 11 11 12 . new-uae-dirham-symbol {13 font-family: ' NewAEDSymbolFont',12 .ig-new-uae-dirham-symbol { 13 font-family: 'igNewAEDSymbolFont', 14 14 Arial, 15 15 sans-serif; -
uae-aed-currency-symbol-changer-by-ingenidev/tags/1.0.11/ingenidev-uae-aed-currency-symbol-changer.php
r3291429 r3291777 7 7 * Author URI: https://ingenidev.com 8 8 * Description: By default, WooCommerce uses the currency symbol for the United Arab Emirates Dirham (AED) as "د.إ". This plugin changes it to the new official symbol (as issued by the UAE Central Bank on March 27th 2025). 9 * Version: 1.0.1 09 * Version: 1.0.11 10 10 * Requires Plugins: woocommerce 11 11 * License: GPL v2 or later … … 19 19 20 20 wp_enqueue_style( 21 ' new-aed-symbol-style', // A unique handle for your stylesheet21 'ig-new-aed-symbol-style', // A unique handle for your stylesheet 22 22 plugin_dir_url( __FILE__ ) . 'custom-aed-font.css', // Path to your CSS file 23 23 array(), 24 '1.0.1 0'24 '1.0.11' 25 25 ); 26 26 } … … 32 32 function ingenidev_uaecsc_change_uae_currency_symbol($currency_symbol, $currency) 33 33 { 34 $pua_character_of_new_symbol = json_decode('"ê"');35 $new_symbol_html = '<span class=" new-uae-dirham-symbol">' . $pua_character_of_new_symbol . '</span>';34 $pua_character_of_new_symbol = html_entity_decode('ê', ENT_QUOTES | ENT_HTML5, 'UTF-8'); 35 $new_symbol_html = '<span class="ig-new-uae-dirham-symbol">' . $pua_character_of_new_symbol . '</span>'; 36 36 37 37 switch ($currency) { -
uae-aed-currency-symbol-changer-by-ingenidev/tags/1.0.11/readme.txt
r3291429 r3291777 8 8 Requires PHP: 5.2.17 9 9 Requires Plugins: woocommerce 10 Stable tag: 1.0.1 010 Stable tag: 1.0.11 11 11 License: GPLv2 or later 12 12 -
uae-aed-currency-symbol-changer-by-ingenidev/trunk/custom-aed-font.css
r3291426 r3291777 2 2 3 3 @font-face { 4 font-family: ' NewAEDSymbolFont';4 font-family: 'igNewAEDSymbolFont'; 5 5 src: url('fonts/font.woff2') format('woff2'); 6 /* url('fonts/ font.woff') format('woff'); */6 /* url('fonts/igfont.woff') format('woff'); */ 7 7 font-weight: normal; 8 8 font-style: normal; … … 10 10 } 11 11 12 . new-uae-dirham-symbol {13 font-family: ' NewAEDSymbolFont',12 .ig-new-uae-dirham-symbol { 13 font-family: 'igNewAEDSymbolFont', 14 14 Arial, 15 15 sans-serif; -
uae-aed-currency-symbol-changer-by-ingenidev/trunk/ingenidev-uae-aed-currency-symbol-changer.php
r3291429 r3291777 7 7 * Author URI: https://ingenidev.com 8 8 * Description: By default, WooCommerce uses the currency symbol for the United Arab Emirates Dirham (AED) as "د.إ". This plugin changes it to the new official symbol (as issued by the UAE Central Bank on March 27th 2025). 9 * Version: 1.0.1 09 * Version: 1.0.11 10 10 * Requires Plugins: woocommerce 11 11 * License: GPL v2 or later … … 19 19 20 20 wp_enqueue_style( 21 ' new-aed-symbol-style', // A unique handle for your stylesheet21 'ig-new-aed-symbol-style', // A unique handle for your stylesheet 22 22 plugin_dir_url( __FILE__ ) . 'custom-aed-font.css', // Path to your CSS file 23 23 array(), 24 '1.0.1 0'24 '1.0.11' 25 25 ); 26 26 } … … 32 32 function ingenidev_uaecsc_change_uae_currency_symbol($currency_symbol, $currency) 33 33 { 34 $pua_character_of_new_symbol = json_decode('"ê"');35 $new_symbol_html = '<span class=" new-uae-dirham-symbol">' . $pua_character_of_new_symbol . '</span>';34 $pua_character_of_new_symbol = html_entity_decode('ê', ENT_QUOTES | ENT_HTML5, 'UTF-8'); 35 $new_symbol_html = '<span class="ig-new-uae-dirham-symbol">' . $pua_character_of_new_symbol . '</span>'; 36 36 37 37 switch ($currency) { -
uae-aed-currency-symbol-changer-by-ingenidev/trunk/readme.txt
r3291429 r3291777 8 8 Requires PHP: 5.2.17 9 9 Requires Plugins: woocommerce 10 Stable tag: 1.0.1 010 Stable tag: 1.0.11 11 11 License: GPLv2 or later 12 12
Note: See TracChangeset
for help on using the changeset viewer.