Plugin Directory

Changeset 2734678


Ignore:
Timestamp:
05/31/2022 11:05:06 AM (4 years ago)
Author:
dadevarzan
Message:

chacked compatibility with wordpress 6

Location:
dadevarzan-wp-book/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • dadevarzan-wp-book/trunk/dadevarzan-wp-book.php

    r2390712 r2734678  
    55 * GitHub Plugin URI: https://github.com/dadevarzan/dadevarzan-wp-book
    66 * Description: book post type for wordpress
    7  * Version: 1.2.3
     7 * Version: 1.2.4
    88 * Author: Dadevarzan Team
    99 * Author URI: http://www.dadevarzan.com
     
    417417                    'label' => get_the_title(),
    418418                    'cell' => array(
    419                         '<a href="'.get_permalink().'">'.get_the_title().'</a>',
     419                        '<a href="'.esc_url(get_permalink()).'">'.esc_html(get_the_title()).'</a>',
    420420                        get_field('dv_bk_author'),
    421421                        get_field('dv_bk_translator'),
     
    444444
    445445            ob_start();
    446             echo '<div class="fl-node-'.$uniqueID.'">';
     446            echo '<div class="fl-node-'.esc_attr($uniqueID).'">';
    447447            FLBuilder::render_module_html( 'pp-table', $tblSettings );
    448448            echo '</div>';
     
    467467
    468468            if (!empty($_GET['search'])) {
    469                 $query->set('s', $_GET['search']);
     469                $query->set('s', esc_sql($_GET['search']));
    470470            }
    471471
     
    478478
    479479                        $meta_query_arr[] = array(
    480                             'key' => $meta_key,
    481                             'value' => $meta_value,
     480                            'key' => esc_sql($meta_key),
     481                            'value' => esc_sql($meta_value),
    482482                            'compare' => 'LIKE',
    483483                        );
  • dadevarzan-wp-book/trunk/readme.txt

    r2390712 r2734678  
    55Tags: Dadevarzan, Dadehvarzan, WordPress, wp, Book, Book post type, Book CPT
    66Requires at least: 4.4.0
    7 Tested up to: 5.5.1
    8 Requires PHP: 7.1
     7Tested up to: 6.0.0
     8Requires PHP: 7.2
    99Stable tag: trunk
    1010License: GNU General Public License v2.0 or later
Note: See TracChangeset for help on using the changeset viewer.