Plugin Directory

Changeset 2734709


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

chacked compatibility with wordpress 6

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

Legend:

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

    r2406734 r2734709  
    55 * GitHub Plugin URI: https://github.com/dadevarzan/dadevarzan-wp-project
    66 * Description: project 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
     
    480480                    'label' => get_the_title(),
    481481                    'cell' => array(
    482                         '<a href="'.get_permalink().'">'.get_the_title().'</a>',
     482                        '<a href="'.esc_url(get_permalink()).'">'.esc_html(get_the_title()).'</a>',
    483483                        get_field('prjct-from_year'),
    484484                        get_field('prjct-owner'),
     
    529529
    530530            if (!empty($_GET['search'])) {
    531                 $query->set( 's',$_GET['search'] );
     531                $query->set( 's',esc_sql($_GET['search']) );
    532532            }
    533533
     
    725725
    726726                foreach ($taxonomies as $taxonomy) {
    727                     $result .= '<option value="'.esc_attr(get_term_link($taxonomy)).'" '.(in_array($taxonomy->term_id, $select_taxonomy_arr) ? 'selected="selected"' : '').'>'.esc_html($taxonomy->name).'</option>';
     727                    $result .= '<option value="'.esc_attr(esc_url(get_term_link($taxonomy))).'" '.(in_array($taxonomy->term_id, $select_taxonomy_arr) ? 'selected="selected"' : '').'>'.esc_html($taxonomy->name).'</option>';
    728728                }
    729729
  • dadevarzan-wp-project/trunk/readme.txt

    r2390727 r2734709  
    55Tags: Dadevarzan, Dadehvarzan, WordPress, wp, Project
    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.