Plugin Directory

Changeset 3446576


Ignore:
Timestamp:
01/25/2026 03:29:50 PM (2 months ago)
Author:
idevelopit
Message:

Update to version 1.2.3 from GitHub

Location:
idevelop-floating-circle-button
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • idevelop-floating-circle-button/tags/1.2.3/idevelop-floating-circle-button.css

    r3446439 r3446576  
    7676    align-items: center;
    7777    justify-content: center;
    78     background-color: #25d366;
    7978    color: white;
    8079    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
     
    8483}
    8584
     85.idevelop-fcb-hub-toggle.icon1 {
     86    background-color: #333;
     87}
     88
     89.idevelop-fcb-hub-toggle.icon2 {
     90    background-color: #25d366;
     91}
     92
    8693.idevelop-fcb-hub-container.active .idevelop-fcb-hub-toggle {
    8794    transform: rotate(45deg);
    88     background-color: #333;
     95    background-color: #ff3b30; /* Red color for cancel/close */
    8996}
    9097
  • idevelop-floating-circle-button/tags/1.2.3/idevelop-floating-circle-button.php

    r3446572 r3446576  
    44 * Plugin URI: https://idevelop.vip/plugins/plugin/idevelop-floating-circle-button/
    55 * Description: Adds a sticky Floating Circle button to your WordPress site with customizable options.
    6  * Version: 1.2.2
     6 * Version: 1.2.3
    77 * Author: iDevelop
    88 * Author URI: https://idevelop.vip/plugins
     
    5353     */
    5454    public function settings_init() {
    55         register_setting( 'idevelop_floating_button_group', 'idevelop_floating_button_options', array( $this, 'sanitize_floating_button_options' ) );
     55        register_setting( 'idevelop_floating_button_group', 'idevelop_floating_button_options', array(
     56            'type'              => 'array',
     57            'sanitize_callback' => array( $this, 'sanitize_floating_button_options' ),
     58            'default'           => array(),
     59        ) );
    5660
    5761        add_settings_section(
     
    631635     */
    632636    public function settings_page_html() {
    633         if ( isset( $_GET['idevelop_fcb_reset_stats'] ) && check_admin_referer( 'idevelop_fcb_reset_stats' ) ) {
     637        // Handle reset stats separately to avoid interfering with form submission
     638        if ( isset( $_GET['idevelop_fcb_reset_stats'] ) && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'idevelop_fcb_reset_stats') ) {
    634639            update_option( 'idevelop_fcb_total_clicks', 0 );
    635             echo '<div class="updated"><p>' . esc_html__( 'Statistics reset successfully.', 'idevelop-floating-circle-button' ) . '</p></div>';
     640            add_settings_error( 'idevelop_floating_button_options', 'stats_reset', __( 'Statistics reset successfully.', 'idevelop-floating-circle-button' ), 'updated' );
    636641        }
    637642        ?>
    638643        <div class="wrap">
    639644            <h1><?php echo esc_html( get_admin_page_title() ); ?></h1>
     645            <?php settings_errors(); ?>
    640646            <form action="options.php" method="post">
    641647                <?php
     
    837843                'width'   => array(),
    838844                'height'  => array(),
     845                'style'   => array(),
    839846            ),
    840847            'path' => array(
     
    855862                if ( $icon_style === 'icon2' ) {
    856863                    // Standard Square/Rounded WhatsApp
    857                     return '<svg viewBox="0 0 24 24"><path fill="currentColor" d="M19.05 4.91A10 10 0 0 0 3.19 17.67L2 22l4.47-1.17A9.97 9.97 0 0 0 11.23 22h.01a10 10 0 0 0 7.81-17.09m-7.82 15.41h-.01a8.2 8.2 0 0 1-4.21-1.16l-.3-.18-2.62.69.7-2.56-.2-.31A8.25 8.25 0 0 1 3.24 8.52 8.3 8.3 0 0 1 11.23 3.8h.01a8.3 8.3 0 0 1 8.24 8.3 8.2 8.2 0 0 1-8.25 8.22m4.52-6.19c-.25-.13-1.46-.72-1.69-.81-.23-.08-.39-.12-.56.13-.17.25-.64.81-.78.97-.14.17-.29.19-.54.06-.25-.13-1.05-.39-2-1.24-.74-.66-1.24-1.47-1.38-1.72-.14-.25-.01-.39.11-.51.12-.11.25-.29.38-.44.13-.15.17-.25.26-.41.08-.17.04-.33-.02-.45s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.44.06-.67.31-.22.25-.86.84-.86 2.05s.89 2.37 1.01 2.53c.12.16 1.74 2.66 4.22 3.73.59.26 1.05.41 1.41.52.59.19 1.13.16 1.55.1.47-.07 1.46-.6 1.67-1.18.21-.58.21-1.07.14-1.18s-.23-.16-.48-.28z"/></svg>';
     864                    return '<svg viewBox="0 0 24 24" style="color:#fff;"><path fill="currentColor" d="M19.05 4.91A10 10 0 0 0 3.19 17.67L2 22l4.47-1.17A9.97 9.97 0 0 0 11.23 22h.01a10 10 0 0 0 7.81-17.09m-7.82 15.41h-.01a8.2 8.2 0 0 1-4.21-1.16l-.3-.18-2.62.69.7-2.56-.2-.31A8.25 8.25 0 0 1 3.24 8.52 8.3 8.3 0 0 1 11.23 3.8h.01a8.3 8.3 0 0 1 8.24 8.3 8.2 8.2 0 0 1-8.25 8.22m4.52-6.19c-.25-.13-1.46-.72-1.69-.81-.23-.08-.39-.12-.56.13-.17.25-.64.81-.78.97-.14.17-.29.19-.54.06-.25-.13-1.05-.39-2-1.24-.74-.66-1.24-1.47-1.38-1.72-.14-.25-.01-.39.11-.51.12-.11.25-.29.38-.44.13-.15.17-.25.26-.41.08-.17.04-.33-.02-.45s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.44.06-.67.31-.22.25-.86.84-.86 2.05s.89 2.37 1.01 2.53c.12.16 1.74 2.66 4.22 3.73.59.26 1.05.41 1.41.52.59.19 1.13.16 1.55.1.47-.07 1.46-.6 1.67-1.18.21-.58.21-1.07.14-1.18s-.23-.16-.48-.28z"/></svg>';
    858865                }
    859866                // Default Plain WhatsApp
    860                 return '<svg viewBox="0 0 24 24"><path fill="currentColor" d="M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.81 9.81 0 0 0 12.04 2m.01 1.67c2.2 0 4.26.86 5.82 2.42a8.225 8.225 0 0 1 2.41 5.83c0 4.54-3.7 8.23-8.24 8.23-1.48 0-2.93-.39-4.19-1.15l-.3-.17-3.12.82.83-3.04-.19-.3a8.132 8.132 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24m-3.93 3.06c-.14 0-.38.05-.59.28-.2.23-.79.77-.79 1.88s.81 2.19.92 2.34c.11.15 1.59 2.43 3.84 3.39.54.23.95.37 1.28.47.54.17 1.03.15 1.41.09.43-.07 1.32-.54 1.51-1.06.19-.53.19-.98.13-1.08-.06-.1-.21-.15-.45-.27-.24-.12-1.41-.69-1.63-.77-.22-.08-.38-.12-.53.12-.15.24-.59.74-.72.89-.13.15-.27.17-.5.05-.24-.12-.99-.36-1.89-1.15-.7-.63-1.17-1.4-1.31-1.64-.14-.24-.01-.37.1-.49.1-.1.24-.28.37-.42.12-.15.17-.25.25-.41.08-.17.04-.31-.02-.42-.06-.11-.53-1.27-.72-1.74-.18-.46-.37-.4-.53-.4z"/></svg>';
     867                return '<svg viewBox="0 0 24 24" style="color:#fff;"><path fill="currentColor" d="M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.81 9.81 0 0 0 12.04 2m.01 1.67c2.2 0 4.26.86 5.82 2.42a8.225 8.225 0 0 1 2.41 5.83c0 4.54-3.7 8.23-8.24 8.23-1.48 0-2.93-.39-4.19-1.15l-.3-.17-3.12.82.83-3.04-.19-.3a8.132 8.132 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24m-3.93 3.06c-.14 0-.38.05-.59.28-.2.23-.79.77-.79 1.88s.81 2.19.92 2.34c.11.15 1.59 2.43 3.84 3.39.54.23.95.37 1.28.47.54.17 1.03.15 1.41.09.43-.07 1.32-.54 1.51-1.06.19-.53.19-.98.13-1.08-.06-.1-.21-.15-.45-.27-.24-.12-1.41-.69-1.63-.77-.22-.08-.38-.12-.53.12-.15.24-.59.74-.72.89-.13.15-.27.17-.5.05-.24-.12-.99-.36-1.89-1.15-.7-.63-1.17-1.4-1.31-1.64-.14-.24-.01-.37.1-.49.1-.1.24-.28.37-.42.12-.15.17-.25.25-.41.08-.17.04-.31-.02-.42-.06-.11-.53-1.27-.72-1.74-.18-.46-.37-.4-.53-.4z"/></svg>';
    861868            case 'email':
    862869                return '<svg viewBox="0 0 24 24"><path fill="currentColor" d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>';
  • idevelop-floating-circle-button/tags/1.2.3/readme.txt

    r3446572 r3446576  
    33Plugin URI: https://idevelop.vip/
    44Description: A premium, multi-channel floating contact hub for WordPress. Includes WhatsApp fanning buttons, Office Hours, Smart Nudge, and GDPR-compliant analytics.
    5 Version: 1.2.2
     5Version: 1.2.3
    66Author: iDevelop
    77Author URI: https://idevelop.vip/
     
    1010Requires at least: 5.0
    1111Tested up to: 7.0
    12 Stable tag: 1.2.2
     12Stable tag: 1.2.3
    1313License: GPLv2 or later
    1414License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • idevelop-floating-circle-button/trunk/idevelop-floating-circle-button.css

    r3446439 r3446576  
    7676    align-items: center;
    7777    justify-content: center;
    78     background-color: #25d366;
    7978    color: white;
    8079    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
     
    8483}
    8584
     85.idevelop-fcb-hub-toggle.icon1 {
     86    background-color: #333;
     87}
     88
     89.idevelop-fcb-hub-toggle.icon2 {
     90    background-color: #25d366;
     91}
     92
    8693.idevelop-fcb-hub-container.active .idevelop-fcb-hub-toggle {
    8794    transform: rotate(45deg);
    88     background-color: #333;
     95    background-color: #ff3b30; /* Red color for cancel/close */
    8996}
    9097
  • idevelop-floating-circle-button/trunk/idevelop-floating-circle-button.php

    r3446572 r3446576  
    44 * Plugin URI: https://idevelop.vip/plugins/plugin/idevelop-floating-circle-button/
    55 * Description: Adds a sticky Floating Circle button to your WordPress site with customizable options.
    6  * Version: 1.2.2
     6 * Version: 1.2.3
    77 * Author: iDevelop
    88 * Author URI: https://idevelop.vip/plugins
     
    5353     */
    5454    public function settings_init() {
    55         register_setting( 'idevelop_floating_button_group', 'idevelop_floating_button_options', array( $this, 'sanitize_floating_button_options' ) );
     55        register_setting( 'idevelop_floating_button_group', 'idevelop_floating_button_options', array(
     56            'type'              => 'array',
     57            'sanitize_callback' => array( $this, 'sanitize_floating_button_options' ),
     58            'default'           => array(),
     59        ) );
    5660
    5761        add_settings_section(
     
    631635     */
    632636    public function settings_page_html() {
    633         if ( isset( $_GET['idevelop_fcb_reset_stats'] ) && check_admin_referer( 'idevelop_fcb_reset_stats' ) ) {
     637        // Handle reset stats separately to avoid interfering with form submission
     638        if ( isset( $_GET['idevelop_fcb_reset_stats'] ) && isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'idevelop_fcb_reset_stats') ) {
    634639            update_option( 'idevelop_fcb_total_clicks', 0 );
    635             echo '<div class="updated"><p>' . esc_html__( 'Statistics reset successfully.', 'idevelop-floating-circle-button' ) . '</p></div>';
     640            add_settings_error( 'idevelop_floating_button_options', 'stats_reset', __( 'Statistics reset successfully.', 'idevelop-floating-circle-button' ), 'updated' );
    636641        }
    637642        ?>
    638643        <div class="wrap">
    639644            <h1><?php echo esc_html( get_admin_page_title() ); ?></h1>
     645            <?php settings_errors(); ?>
    640646            <form action="options.php" method="post">
    641647                <?php
     
    837843                'width'   => array(),
    838844                'height'  => array(),
     845                'style'   => array(),
    839846            ),
    840847            'path' => array(
     
    855862                if ( $icon_style === 'icon2' ) {
    856863                    // Standard Square/Rounded WhatsApp
    857                     return '<svg viewBox="0 0 24 24"><path fill="currentColor" d="M19.05 4.91A10 10 0 0 0 3.19 17.67L2 22l4.47-1.17A9.97 9.97 0 0 0 11.23 22h.01a10 10 0 0 0 7.81-17.09m-7.82 15.41h-.01a8.2 8.2 0 0 1-4.21-1.16l-.3-.18-2.62.69.7-2.56-.2-.31A8.25 8.25 0 0 1 3.24 8.52 8.3 8.3 0 0 1 11.23 3.8h.01a8.3 8.3 0 0 1 8.24 8.3 8.2 8.2 0 0 1-8.25 8.22m4.52-6.19c-.25-.13-1.46-.72-1.69-.81-.23-.08-.39-.12-.56.13-.17.25-.64.81-.78.97-.14.17-.29.19-.54.06-.25-.13-1.05-.39-2-1.24-.74-.66-1.24-1.47-1.38-1.72-.14-.25-.01-.39.11-.51.12-.11.25-.29.38-.44.13-.15.17-.25.26-.41.08-.17.04-.33-.02-.45s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.44.06-.67.31-.22.25-.86.84-.86 2.05s.89 2.37 1.01 2.53c.12.16 1.74 2.66 4.22 3.73.59.26 1.05.41 1.41.52.59.19 1.13.16 1.55.1.47-.07 1.46-.6 1.67-1.18.21-.58.21-1.07.14-1.18s-.23-.16-.48-.28z"/></svg>';
     864                    return '<svg viewBox="0 0 24 24" style="color:#fff;"><path fill="currentColor" d="M19.05 4.91A10 10 0 0 0 3.19 17.67L2 22l4.47-1.17A9.97 9.97 0 0 0 11.23 22h.01a10 10 0 0 0 7.81-17.09m-7.82 15.41h-.01a8.2 8.2 0 0 1-4.21-1.16l-.3-.18-2.62.69.7-2.56-.2-.31A8.25 8.25 0 0 1 3.24 8.52 8.3 8.3 0 0 1 11.23 3.8h.01a8.3 8.3 0 0 1 8.24 8.3 8.2 8.2 0 0 1-8.25 8.22m4.52-6.19c-.25-.13-1.46-.72-1.69-.81-.23-.08-.39-.12-.56.13-.17.25-.64.81-.78.97-.14.17-.29.19-.54.06-.25-.13-1.05-.39-2-1.24-.74-.66-1.24-1.47-1.38-1.72-.14-.25-.01-.39.11-.51.12-.11.25-.29.38-.44.13-.15.17-.25.26-.41.08-.17.04-.33-.02-.45s-.56-1.34-.76-1.84c-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.44.06-.67.31-.22.25-.86.84-.86 2.05s.89 2.37 1.01 2.53c.12.16 1.74 2.66 4.22 3.73.59.26 1.05.41 1.41.52.59.19 1.13.16 1.55.1.47-.07 1.46-.6 1.67-1.18.21-.58.21-1.07.14-1.18s-.23-.16-.48-.28z"/></svg>';
    858865                }
    859866                // Default Plain WhatsApp
    860                 return '<svg viewBox="0 0 24 24"><path fill="currentColor" d="M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.81 9.81 0 0 0 12.04 2m.01 1.67c2.2 0 4.26.86 5.82 2.42a8.225 8.225 0 0 1 2.41 5.83c0 4.54-3.7 8.23-8.24 8.23-1.48 0-2.93-.39-4.19-1.15l-.3-.17-3.12.82.83-3.04-.19-.3a8.132 8.132 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24m-3.93 3.06c-.14 0-.38.05-.59.28-.2.23-.79.77-.79 1.88s.81 2.19.92 2.34c.11.15 1.59 2.43 3.84 3.39.54.23.95.37 1.28.47.54.17 1.03.15 1.41.09.43-.07 1.32-.54 1.51-1.06.19-.53.19-.98.13-1.08-.06-.1-.21-.15-.45-.27-.24-.12-1.41-.69-1.63-.77-.22-.08-.38-.12-.53.12-.15.24-.59.74-.72.89-.13.15-.27.17-.5.05-.24-.12-.99-.36-1.89-1.15-.7-.63-1.17-1.4-1.31-1.64-.14-.24-.01-.37.1-.49.1-.1.24-.28.37-.42.12-.15.17-.25.25-.41.08-.17.04-.31-.02-.42-.06-.11-.53-1.27-.72-1.74-.18-.46-.37-.4-.53-.4z"/></svg>';
     867                return '<svg viewBox="0 0 24 24" style="color:#fff;"><path fill="currentColor" d="M12.04 2c-5.46 0-9.91 4.45-9.91 9.91 0 1.75.46 3.45 1.32 4.95L2.05 22l5.25-1.38c1.45.79 3.08 1.21 4.74 1.21 5.46 0 9.91-4.45 9.91-9.91 0-2.65-1.03-5.14-2.9-7.01A9.81 9.81 0 0 0 12.04 2m.01 1.67c2.2 0 4.26.86 5.82 2.42a8.225 8.225 0 0 1 2.41 5.83c0 4.54-3.7 8.23-8.24 8.23-1.48 0-2.93-.39-4.19-1.15l-.3-.17-3.12.82.83-3.04-.19-.3a8.132 8.132 0 0 1-1.26-4.38c0-4.54 3.7-8.24 8.24-8.24m-3.93 3.06c-.14 0-.38.05-.59.28-.2.23-.79.77-.79 1.88s.81 2.19.92 2.34c.11.15 1.59 2.43 3.84 3.39.54.23.95.37 1.28.47.54.17 1.03.15 1.41.09.43-.07 1.32-.54 1.51-1.06.19-.53.19-.98.13-1.08-.06-.1-.21-.15-.45-.27-.24-.12-1.41-.69-1.63-.77-.22-.08-.38-.12-.53.12-.15.24-.59.74-.72.89-.13.15-.27.17-.5.05-.24-.12-.99-.36-1.89-1.15-.7-.63-1.17-1.4-1.31-1.64-.14-.24-.01-.37.1-.49.1-.1.24-.28.37-.42.12-.15.17-.25.25-.41.08-.17.04-.31-.02-.42-.06-.11-.53-1.27-.72-1.74-.18-.46-.37-.4-.53-.4z"/></svg>';
    861868            case 'email':
    862869                return '<svg viewBox="0 0 24 24"><path fill="currentColor" d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>';
  • idevelop-floating-circle-button/trunk/readme.txt

    r3446572 r3446576  
    33Plugin URI: https://idevelop.vip/
    44Description: A premium, multi-channel floating contact hub for WordPress. Includes WhatsApp fanning buttons, Office Hours, Smart Nudge, and GDPR-compliant analytics.
    5 Version: 1.2.2
     5Version: 1.2.3
    66Author: iDevelop
    77Author URI: https://idevelop.vip/
     
    1010Requires at least: 5.0
    1111Tested up to: 7.0
    12 Stable tag: 1.2.2
     12Stable tag: 1.2.3
    1313License: GPLv2 or later
    1414License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.