Changeset 2898399
- Timestamp:
- 04/13/2023 10:14:56 AM (3 years ago)
- Location:
- frontier-query/trunk
- Files:
-
- 3 edited
-
frontier-query.php (modified) (2 diffs)
-
include/frontier-query-util.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
frontier-query/trunk/frontier-query.php
r2898353 r2898399 5 5 Description: Display list and grouping of posts in widgets, posts and pages. Breakdown posts by categories, taxonomies, date, post type etc. 6 6 Author: finnj 7 Version: 1.6. 37 Version: 1.6.4 8 8 Author URI: http://wpfrontier.com 9 9 */ … … 11 11 12 12 // define constants 13 define('FRONTIER_QUERY_VERSION', "1.6. 3");13 define('FRONTIER_QUERY_VERSION', "1.6.4"); 14 14 define('FRONTIER_QUERY_DIR', dirname( __FILE__ )); //an absolute path to this directory 15 15 define('FRONTIER_QUERY_URL', plugin_dir_url( __FILE__ )); //url path to this directory -
frontier-query/trunk/include/frontier-query-util.php
r2898373 r2898399 595 595 function fq_get_posttype_label($tmp_pt_name) 596 596 { 597 error_log("Label Check: Post type name: ".$tmp_pt_name);597 //error_log("Label Check: Post type name: ".$tmp_pt_name); 598 598 $tmp_pt = get_post_type_object($tmp_pt_name); 599 599 if (\is_object($tmp_pt)) … … 603 603 else 604 604 { 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)); 608 609 } 609 610 -
frontier-query/trunk/readme.txt
r2898353 r2898399 92 92 == Changelog == 93 93 94 = 1.6. 3=94 = 1.6.4 = 95 95 * Fix for Trying to get property label of non-object in - Function fq_get_posttype_label 96 96
Note: See TracChangeset
for help on using the changeset viewer.