Plugin Directory

Changeset 2632899


Ignore:
Timestamp:
11/20/2021 08:02:23 AM (4 years ago)
Author:
wppost
Message:

16.25.13

Location:
wp-recall
Files:
497 added
1 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • wp-recall/trunk/add-on/commerce/classes/class-rcl-cart-button-form.php

    r2606964 r2632899  
    186186        }
    187187
    188         $box_id = rand( 0, 100 );
     188        $box_id = uniqid();
    189189
    190190        $content = '<div id="cart-box-' . $box_id . '" class="product-variations">';
  • wp-recall/trunk/add-on/rcl-chat/core.php

    r2629064 r2632899  
    4040function rcl_delete_chat( $chat_id ) {
    4141    global $wpdb;
     42
     43    if(empty($chat_id) || !(new Rcl_Chats_Query())->where(['chat_id' => $chat_id])->get_row()){
     44        return false;
     45    }
    4246
    4347    $result = $wpdb->query( "DELETE FROM " . RCL_PREF . "chats WHERE chat_id='$chat_id'" );//phpcs:ignore
  • wp-recall/trunk/admin/index.php

    r2625613 r2632899  
    319319                    '-',
    320320                    ' '
    321                 ), '_', rcl_sanitize_string( $newFields[ $nKey ]['title'] ) . '-' . rand( 10, 100 ) );
     321                ), '_', rcl_sanitize_string( $newFields[ $nKey ]['title'] ) . '-' . uniqid() );
    322322            }
    323323
     
    518518    $Manager = new Rcl_Fields_Manager( $managerProps['manager_id'], $managerProps );
    519519
    520     $field_id = 'newField-' . rand( 1, 10000 );
     520    $field_id = 'newField-' . uniqid();
    521521
    522522    $Manager->add_field( array(
     
    700700                    '-',
    701701                    ' '
    702                 ), '_', rcl_sanitize_string( $field['title'] ) . '-' . rand( 1, 100 ) );
     702                ), '_', rcl_sanitize_string( $field['title'] ) . '-' . uniqid() );
    703703            } else {
    704704                $field_id = $field['id'];
  • wp-recall/trunk/classes/class-rcl-custom-fields-manager.php

    r2606964 r2632899  
    611611
    612612        $this->status            = false;
    613         $this->new_slug          = 'CreateNewField' . rand( 10, 100 );
     613        $this->new_slug          = 'CreateNewField' . uniqid();
    614614        $this->field['newField'] = 1;
    615615
  • wp-recall/trunk/classes/class-rcl-custom-fields.php

    r2606964 r2632899  
    3030        global $user_LK, $user_ID;
    3131
    32         $this->rand = rand( 0, 100 );
     32        $this->rand = uniqid();
    3333
    3434        if ( isset( $field['requared'] ) ) {
     
    433433        rcl_slider_scripts();
    434434
    435         $idRunner = rand( 0, 10000 );
     435        $idRunner = uniqid();
    436436
    437437        $min  = isset( $field['value_min'] ) ? $field['value_min'] : 0;
     
    466466        rcl_slider_scripts();
    467467
    468         $idRunner = rand( 0, 10000 );
     468        $idRunner = uniqid();
    469469
    470470        $min  = isset( $field['value_min'] ) ? $field['value_min'] : 0;
  • wp-recall/trunk/classes/fields/class-rcl-field-abstract.php

    r2606964 r2632899  
    6363        $this->init_properties( $args );
    6464
    65         $this->rand = rand( 0, 1000 );
     65        $this->rand = uniqid();
    6666
    6767        if ( ! $this->input_name ) {
  • wp-recall/trunk/classes/fields/class-rcl-fields-manager.php

    r2611616 r2632899  
    360360        $group = wp_parse_args( $group, array(
    361361            'title' => '',
    362             'id'    => 'section-' . rand( 100, 10000 ),
     362            'id'    => 'section-' . uniqid(),
    363363            'type'  => 0,
    364364            'areas' => array(
     
    470470
    471471            $this->add_field( array(
    472                 'slug' => 'newField-' . rand( 1, 10000 ),
     472                'slug' => 'newField-' . uniqid(),
    473473                'type' => $this->types[0],
    474474                '_new' => true
  • wp-recall/trunk/functions/register.php

    r2611831 r2632899  
    514514                var pr = jQuery("#primary-pass-user").val();
    515515                var sc = jQuery(this).val();
    516                 var notice;
     516                var notice = "";
    517517                if(pr!=sc) notice = "<span class=login-error>' . esc_html__( 'The passwords do not match!', 'wp-recall' ) . '</span>";
    518518                else notice = "<span class=login-message>' . esc_html__( 'The passwords match', 'wp-recall' ) . '</span>";
  • wp-recall/trunk/readme.txt

    r2629064 r2632899  
    55Requires at least: 4.6
    66Tested up to: 5.8
    7 Stable tag: 16.25.12
     7Stable tag: 16.25.13
    88Requires PHP: 7.0
    99License: GPL v2 or later
  • wp-recall/trunk/wp-recall.php

    r2629064 r2632899  
    44  Plugin URI: https://codeseller.ru/?p=69
    55  Description: Фронт-енд профиль, система личных сообщений и рейтинг пользователей на сайте вордпресс.
    6   Version: 16.25.12
     6  Version: 16.25.13
    77  Author: Plechev Andrey
    88  Author URI: https://codeseller.ru/
     
    1717final class WP_Recall {
    1818
    19     public $version = '16.25.12';
     19    public $version = '16.25.13';
    2020    public $child_addons = array();
    2121    public $need_update = false;
Note: See TracChangeset for help on using the changeset viewer.