Plugin Directory

Changeset 2898399


Ignore:
Timestamp:
04/13/2023 10:14:56 AM (3 years ago)
Author:
finnj
Message:

Version 1.6.4

Location:
frontier-query/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • frontier-query/trunk/frontier-query.php

    r2898353 r2898399  
    55Description: Display list and grouping of posts in widgets, posts and pages. Breakdown posts by categories, taxonomies, date, post type etc.
    66Author: finnj
    7 Version: 1.6.3
     7Version: 1.6.4
    88Author URI: http://wpfrontier.com
    99*/
     
    1111
    1212// define constants
    13 define('FRONTIER_QUERY_VERSION', "1.6.3");
     13define('FRONTIER_QUERY_VERSION', "1.6.4");
    1414define('FRONTIER_QUERY_DIR', dirname( __FILE__ )); //an absolute path to this directory
    1515define('FRONTIER_QUERY_URL', plugin_dir_url( __FILE__ )); //url path to this directory
  • frontier-query/trunk/include/frontier-query-util.php

    r2898373 r2898399  
    595595function fq_get_posttype_label($tmp_pt_name)
    596596    {
    597     error_log("Label Check: Post type name: ".$tmp_pt_name);
     597    //error_log("Label Check: Post type name: ".$tmp_pt_name);
    598598    $tmp_pt = get_post_type_object($tmp_pt_name);
    599599    if (\is_object($tmp_pt))
     
    603603    else
    604604        {
    605         $tmp_pt_label = "";
    606         error_log("Label Error: Post type name: ".$tmp_pt_name);
    607         error_log(print_r($tmp_pt,true));
     605        // Fix for posttype event
     606        $tmp_pt_label = $tmp_pt_name;
     607        //error_log("Label Error: Post type name: ".$tmp_pt_name);
     608        //error_log(print_r($tmp_pt,true));
    608609        }
    609610
  • frontier-query/trunk/readme.txt

    r2898353 r2898399  
    9292== Changelog ==
    9393
    94 = 1.6.3 =
     94= 1.6.4 =
    9595* Fix for Trying to get property label of non-object in  - Function fq_get_posttype_label
    9696
Note: See TracChangeset for help on using the changeset viewer.