Plugin Directory

Changeset 3291777


Ignore:
Timestamp:
05/12/2025 10:36:44 AM (10 months ago)
Author:
ingenidev
Message:

tagging version 1.0.11 bug fix

Location:
uae-aed-currency-symbol-changer-by-ingenidev
Files:
3 edited
5 copied

Legend:

Unmodified
Added
Removed
  • uae-aed-currency-symbol-changer-by-ingenidev/tags/1.0.11/custom-aed-font.css

    r3291426 r3291777  
    22
    33@font-face {
    4     font-family: 'NewAEDSymbolFont';
     4    font-family: 'igNewAEDSymbolFont';
    55    src: url('fonts/font.woff2') format('woff2');
    6          /* url('fonts/font.woff') format('woff'); */
     6         /* url('fonts/igfont.woff') format('woff'); */
    77    font-weight: normal;
    88    font-style: normal;
     
    1010}
    1111
    12 .new-uae-dirham-symbol {
    13     font-family: 'NewAEDSymbolFont',
     12.ig-new-uae-dirham-symbol {
     13    font-family: 'igNewAEDSymbolFont',
    1414                 Arial,
    1515                 sans-serif;
  • uae-aed-currency-symbol-changer-by-ingenidev/tags/1.0.11/ingenidev-uae-aed-currency-symbol-changer.php

    r3291429 r3291777  
    77 * Author URI: https://ingenidev.com
    88 * 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.10
     9 * Version: 1.0.11
    1010 * Requires Plugins: woocommerce
    1111 * License: GPL v2 or later
     
    1919
    2020    wp_enqueue_style(
    21         'new-aed-symbol-style', // A unique handle for your stylesheet
     21        'ig-new-aed-symbol-style', // A unique handle for your stylesheet
    2222        plugin_dir_url( __FILE__ ) . 'custom-aed-font.css', // Path to your CSS file
    2323        array(),
    24         '1.0.10'
     24        '1.0.11'
    2525    );
    2626}
     
    3232function ingenidev_uaecsc_change_uae_currency_symbol($currency_symbol, $currency)
    3333{
    34     $pua_character_of_new_symbol = json_decode('"&#x00EA"');
    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('&#x00EA;', ENT_QUOTES | ENT_HTML5, 'UTF-8');
     35    $new_symbol_html = '<span class="ig-new-uae-dirham-symbol">' . $pua_character_of_new_symbol . '</span>';
    3636
    3737    switch ($currency) {
  • uae-aed-currency-symbol-changer-by-ingenidev/tags/1.0.11/readme.txt

    r3291429 r3291777  
    88Requires PHP: 5.2.17
    99Requires Plugins: woocommerce
    10 Stable tag: 1.0.10
     10Stable tag: 1.0.11
    1111License: GPLv2 or later
    1212
  • uae-aed-currency-symbol-changer-by-ingenidev/trunk/custom-aed-font.css

    r3291426 r3291777  
    22
    33@font-face {
    4     font-family: 'NewAEDSymbolFont';
     4    font-family: 'igNewAEDSymbolFont';
    55    src: url('fonts/font.woff2') format('woff2');
    6          /* url('fonts/font.woff') format('woff'); */
     6         /* url('fonts/igfont.woff') format('woff'); */
    77    font-weight: normal;
    88    font-style: normal;
     
    1010}
    1111
    12 .new-uae-dirham-symbol {
    13     font-family: 'NewAEDSymbolFont',
     12.ig-new-uae-dirham-symbol {
     13    font-family: 'igNewAEDSymbolFont',
    1414                 Arial,
    1515                 sans-serif;
  • uae-aed-currency-symbol-changer-by-ingenidev/trunk/ingenidev-uae-aed-currency-symbol-changer.php

    r3291429 r3291777  
    77 * Author URI: https://ingenidev.com
    88 * 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.10
     9 * Version: 1.0.11
    1010 * Requires Plugins: woocommerce
    1111 * License: GPL v2 or later
     
    1919
    2020    wp_enqueue_style(
    21         'new-aed-symbol-style', // A unique handle for your stylesheet
     21        'ig-new-aed-symbol-style', // A unique handle for your stylesheet
    2222        plugin_dir_url( __FILE__ ) . 'custom-aed-font.css', // Path to your CSS file
    2323        array(),
    24         '1.0.10'
     24        '1.0.11'
    2525    );
    2626}
     
    3232function ingenidev_uaecsc_change_uae_currency_symbol($currency_symbol, $currency)
    3333{
    34     $pua_character_of_new_symbol = json_decode('"&#x00EA"');
    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('&#x00EA;', ENT_QUOTES | ENT_HTML5, 'UTF-8');
     35    $new_symbol_html = '<span class="ig-new-uae-dirham-symbol">' . $pua_character_of_new_symbol . '</span>';
    3636
    3737    switch ($currency) {
  • uae-aed-currency-symbol-changer-by-ingenidev/trunk/readme.txt

    r3291429 r3291777  
    88Requires PHP: 5.2.17
    99Requires Plugins: woocommerce
    10 Stable tag: 1.0.10
     10Stable tag: 1.0.11
    1111License: GPLv2 or later
    1212
Note: See TracChangeset for help on using the changeset viewer.