Plugin Directory

Changeset 2912229


Ignore:
Timestamp:
05/14/2023 06:42:50 PM (3 years ago)
Author:
rafacarvalhido
Message:

0.2.2 - May 14th, 2023

  • Fix - Fixed code to be more careful when checking empty.
  • Fix - Fixed jquery issues.
  • Fix - Fixed colorpicker issues.
  • Fix - Fixed Read me text.
  • Update - Added the screenshots for plugin page
Location:
racar-message-me
Files:
4 added
4 edited

Legend:

Unmodified
Added
Removed
  • racar-message-me/trunk/includes/admin/class-rmm-admin-options.php

    r2912110 r2912229  
    285285                $new_input['rmm_main_text'] = sanitize_text_field( $input['rmm_main_text'] );
    286286
    287             if( isset( $input['rmm_main_background_color'] ) ) {
     287            if( isset( $input['rmm_main_background_color'] ) && ! empty( $input['rmm_main_background_color'] ) ) {
    288288                $textcolor = trim( $input['rmm_main_background_color'] );
    289289                $textcolor = strip_tags( stripslashes( $textcolor ) );
     
    295295            }
    296296
    297             if( isset( $input['rmm_main_icon_color'] ) ) {
     297            if( isset( $input['rmm_main_icon_color'] ) && ! empty( $input['rmm_main_icon_color'] ) ) {
    298298                $textcolor = trim( $input['rmm_main_icon_color'] );
    299299                $textcolor = strip_tags( stripslashes( $textcolor ) );
  • racar-message-me/trunk/includes/class-rmm-plugin.php

    r2912110 r2912229  
    6969            global $rmm_DIR_JAVASCRIPT;
    7070            global $rmm_EXT_JAVASCRIPT;
    71             wp_register_script( $rmm_NOME_JAVASCRIPT, $rmm_DIR_JAVASCRIPT.$rmm_NOME_JAVASCRIPT.$rmm_EXT_JAVASCRIPT );
     71            wp_register_script( $rmm_NOME_JAVASCRIPT, $rmm_DIR_JAVASCRIPT.$rmm_NOME_JAVASCRIPT.$rmm_EXT_JAVASCRIPT, array('jquery') );
    7272            wp_enqueue_script( $rmm_NOME_JAVASCRIPT );
    7373           
     
    121121            global $rmm_DIR_ADMIN_JAVASCRIPT;
    122122            global $rmm_EXT_ADMIN_JAVASCRIPT;
    123             wp_register_script( $rmm_NOME_ADMIN_JAVASCRIPT, $rmm_DIR_ADMIN_JAVASCRIPT.$rmm_NOME_ADMIN_JAVASCRIPT.$rmm_EXT_ADMIN_JAVASCRIPT , array( 'jquery'/*, 'wp-color-picker'*/ ) , '1.0' , true );
     123            wp_register_script( $rmm_NOME_ADMIN_JAVASCRIPT, $rmm_DIR_ADMIN_JAVASCRIPT.$rmm_NOME_ADMIN_JAVASCRIPT.$rmm_EXT_ADMIN_JAVASCRIPT , array( 'jquery', 'wp-color-picker' ) , '1.0' , true );
    124124            wp_enqueue_script( $rmm_NOME_ADMIN_JAVASCRIPT );
    125125        }
  • racar-message-me/trunk/racar-message-me.php

    r2912110 r2912229  
    44 * Plugin URI:  https://profissionalwp.dev.br/
    55 * Description: This plugin allows you to add a customizable button with your social networks inboxes (direct message). The button appears on the left bottom corner of your website. When clicked, it'll take the user to your social network private message inbox.
    6  * Version:     0.2.1
     6 * Version:     0.2.2
    77 * Author:      Rafa Carvalhido
    88 * Author URI:  https://profissionalwp.dev.br/blog/contato/rafa-carvalhido/
     
    5555
    5656    $rmm_plugin_name = "RaCar Message Me";
    57     $rmm_VERSION = '0.2.1';
     57    $rmm_VERSION = '0.2.2';
    5858   
    5959    $rmm_NOME_STYLESHEET = 'rmm-stylesheet';
  • racar-message-me/trunk/readme.txt

    r2912110 r2912229  
    22Contributors: rafacarvalhido
    33Donate link: https://www.paypal.me/RafaCarvalhido
    4 Tags: chat, whatsapp, facebook, messenger, skype, instagram, dm, telegram
     4Tags: chat, whatsapp, facebook, messenger, skype, instagram, dm, telegram, message, inbox
    55Requires at least: 4.9.8
    66Tested up to: 6.2
    7 Stable tag: 0.2.1
     7Stable tag: 0.2.2
    88Requires PHP: 7.0
    99License: GPLv2
     
    1414== Description ==
    1515
    16 This plugin allows you to add a customizable button with your social networks inboxes (direct message). The button appears on the left bottom corner of your website. When clicked, it'll take the user to your social network private message inbox.
     16This plugin allows you to add a customizable button with your social networks inboxes (direct message). The button appears on the left bottom corner of your website by default, but you can change it to the right. When clicked, it'll take the user to your social network private message inbox. Currently supports WhatsApp, Instagram DM, Facebook Messenger, Microsoft Skype and Telegram.
    1717
    1818= AFTER INSTALL =
     
    2222= HOW TO USE IT =
    2323
    24 On settings page, choose your options such as colors and text and enable the plugin so the button will show.
     24On settings page, choose the desired options and what social networks you want to use, then add the required information. It will automatically appear in your site's front end. If anything looks weird, hit Ctrl + F5 (or Command + F5).
    2525
    26 The button itself is a '<button type="submit">' HTML tag, has the 'class="button"' and 'id="clear-cart"', so you're welcome to add your own CSS to it. If doing so, leave the options on options page blank. In failing to do so, you'll have to use the '!important' to some of the elements such as 'background' and 'color'.
    2726
    2827= RESET SETTINGS =
     
    3635
    3736Below, you'll find the screenshots. Follow these captions:
    38 1. Plugin Enabled
    39 2. Confirmation
    40 3. Cleared Cart
    41 4. Plugin Options
    42 5. Frontend With Option set
     371. Find plugin and activate it
     382. Admin options
     393. Mouse over icon
     404. Button pressed and show options
    4341
    4442
     
    4745= Minimum Requirements =
    4846
    49 * PHP version 5.6 or greater (PHP 7.2 or greater is recommended)
     47* PHP version 5.6 or greater (PHP 7.4 or greater is recommended)
    5048* MySQL version 5.6 or greater
    5149
     
    104102
    105103== Screenshots ==
    106 1. Plugin Enabled
    107 2. Confirmation
    108 3. Cleared Cart
    109 4. Plugin Options
    110 5. Frontend With Option set
     1041. Find plugin and activate it
     1052. Admin options
     1063. Mouse over icon
     1074. Button pressed and show options
    111108
    112109
    113110
    114111== Changelog ==
     112= 0.2.2 - May 14th, 2023 =
     113* **Fix** - Fixed code to be more careful when checking empty.
     114* **Fix** - Fixed jquery issues.
     115* **Fix** - Fixed colorpicker issues.
     116* **Fix** - Fixed Read me text.
     117* **Update** - Added the screenshots for plugin page
     118
    115119= 0.2.1 - May 10th, 2023 =
    116120* **Fix** - Fixed PHP mistyping in admin options.
Note: See TracChangeset for help on using the changeset viewer.