Plugin Directory

Changeset 2993354


Ignore:
Timestamp:
11/09/2023 03:36:26 PM (2 years ago)
Author:
pbmacintyre
Message:

increased version number to match with WordPress Version update (WP V6.4.1),
also added the plugin version to the footer of plugin admin pages

Location:
rccp-free/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • rccp-free/trunk/includes/ringcentral-add-subscribers.inc

    r2975611 r2993354  
    6868    </form>
    6969<?php
     70    ringcentral_plugin_version () ;
    7071}
    7172
  • rccp-free/trunk/includes/ringcentral-config-page.inc

    r2975611 r2993354  
    244244    </form>
    245245<?php
     246    ringcentral_plugin_version () ;
    246247}
    247248/* ========== */
  • rccp-free/trunk/includes/ringcentral-functions.inc

    r2975611 r2993354  
    332332    <img id='page_title_img' title="RingCentral Plugin" src="<?= RINGCENTRAL_LOGO; ?>">
    333333        &nbsp;&nbsp;
    334         <h1 id='page_title'><?= esc_html(get_admin_page_title()); ?></h1>
    335 <?php } ?>
     334        <h1 id='page_title'><?php echo esc_html(get_admin_page_title()); ?></h1>
     335<?php }
     336function ringcentral_plugin_version () {
     337    echo "<p style='font-size: small'> Version: " . RINGCENTRAL_PLUGIN_VERSION . "</p>";
     338} ?>
  • rccp-free/trunk/includes/ringcentral-list-callme.inc

    r2975611 r2993354  
    170170    <?php $myListTable->display() ?>
    171171</form>
    172 <?php // } ?>
     172<?php
     173ringcentral_plugin_version () ;
     174?>
  • rccp-free/trunk/includes/ringcentral-list-subscribers.inc

    r2975611 r2993354  
    195195        <?php $myListTable->display() ?>
    196196    </form>
    197 <?php } ?>
     197<?php }
     198ringcentral_plugin_version () ;
     199?>
  • rccp-free/trunk/readme.txt

    r2975751 r2993354  
    33Tags:              Ring Central Communications API tools
    44Requires at least: 6.3.0
    5 Tested up to:      6.3.1
    6 Stable tag:        1.5.3
     5Tested up to:      6.4.1
     6Stable tag:        1.5.4
    77Requires PHP:      8.0.2
    88License:           GPLv2 or later
  • rccp-free/trunk/ringcentral.php

    r2975751 r2993354  
    55Description: RingCentral Communications Plugin - FREE
    66Author:      Peter MacIntyre
    7 Version:     1.5.3
     7Version:     1.5.4
    88Author URI:  https://paladin-bs.com/about
    99Details URI: https://paladin-bs.com
     
    2929/* Set RingCentral Constant values */
    3030/* ============================== */
    31 
     31if (!defined('RINGCENTRAL_PLUGIN_VERSION')) {
     32    define('RINGCENTRAL_PLUGIN_VERSION', "1.5.4");
     33}
    3234if (!defined('RINGCENTRAL_PLUGINDIR')) {
    3335    define('RINGCENTRAL_PLUGINDIR', plugin_dir_path(__FILE__));
     
    603605add_action('authenticate', 'RingCentral_2fa_intercept', 10, 3);
    604606
    605 add_action('show_user_profile', 'ringcentral_2fa_user_settings');
    606 add_action('edit_user_profile', 'ringcentral_2fa_user_settings');
     607add_action('show_user_profile', 'ringcentral_2fa_user_settings');  // other users
     608add_action('edit_user_profile', 'ringcentral_2fa_user_settings');   // your own profile
     609
    607610add_action('personal_options_update', 'ringcentral_2fa_save_settings');
    608611add_action('edit_user_profile_update', 'ringcentral_2fa_save_settings');
     612
    609613add_action('user_profile_update_errors', 'ringcentral_2fa_form_settings_validation', 10, 3);
    610614
Note: See TracChangeset for help on using the changeset viewer.