Changeset 3257682
- Timestamp:
- 03/18/2025 09:46:25 AM (10 months ago)
- Location:
- adminquickbar
- Files:
-
- 2 edited
-
tags/1.9.3/Lib/Sidebar.php (modified) (1 diff)
-
trunk/Lib/Sidebar.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adminquickbar/tags/1.9.3/Lib/Sidebar.php
r3257671 r3257682 280 280 foreach ( $postCategories as $postCategory ) { 281 281 if ( $postType->name === 'elementor_library' ) { 282 $categoryName = $templateTypesByPostId[$post->ID] ;282 $categoryName = $templateTypesByPostId[$post->ID] ?? 'unknown'; 283 283 } elseif ( empty( $postCategory ) || empty( $this->categoryList[$postCategory] ) ) { 284 284 $categoryName = 'none'; -
adminquickbar/trunk/Lib/Sidebar.php
r3257671 r3257682 280 280 foreach ( $postCategories as $postCategory ) { 281 281 if ( $postType->name === 'elementor_library' ) { 282 $categoryName = $templateTypesByPostId[$post->ID] ;282 $categoryName = $templateTypesByPostId[$post->ID] ?? 'unknown'; 283 283 } elseif ( empty( $postCategory ) || empty( $this->categoryList[$postCategory] ) ) { 284 284 $categoryName = 'none';
Note: See TracChangeset
for help on using the changeset viewer.