Changeset 2779859
- Timestamp:
- 09/04/2022 11:33:28 PM (3 years ago)
- Location:
- front-page-category/trunk
- Files:
-
- 2 edited
-
front-page-category.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
front-page-category/trunk/front-page-category.php
r2686234 r2779859 2 2 /** 3 3 * Plugin Name: Front Page Category 4 * Version: 3.3. 34 * Version: 3.3.4 5 5 * Plugin URI: http://wordpress.org/plugins/front-page-category/ 6 6 * Description: Select the categories that display on the front page. … … 257 257 258 258 /** 259 * If it's an empty array then stop processing since we can't be sure of 260 * the post type. 261 */ 262 if ( is_array( $query->query['post_type'] ) && is_empty( $query->query['post_type'] ) ) { 263 return true; 264 } 265 266 /** 259 267 * If it's an array of more than one post type, and the post type is not 260 268 * post, then we can assume something more complex is going on and stop … … 269 277 * checked the length above. 270 278 * 271 * If the value is not post then we don't want to filter it.279 * If the value is not a post then we don't want to filter it. 272 280 */ 273 281 if ( is_array( $query->query['post_type'] ) && 'post' !== $query->query['post_type'][0] ) { -
front-page-category/trunk/readme.txt
r2686234 r2779859 23 23 24 24 == Changelog == 25 26 = 3.3.4 - 5th September 2022 = 27 * Fix undefined value error. 25 28 26 29 = 3.3.3 - 28th February 2022 =
Note: See TracChangeset
for help on using the changeset viewer.