Changeset 2609045
- Timestamp:
- 10/04/2021 06:10:22 PM (4 years ago)
- Location:
- socius-marketing-page-taxonomy/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
socius-marketing-page-taxonomy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
socius-marketing-page-taxonomy/trunk/readme.txt
r2588787 r2609045 61 61 62 62 == Changelog == 63 = 1.1.13 = 64 * Fix an array data type reference 65 63 66 = 1.1.12 = 64 67 * Fix a conflict with the Socius Theme - PROseries -
socius-marketing-page-taxonomy/trunk/socius-marketing-page-taxonomy.php
r2588787 r2609045 212 212 function smct_set_posts_per_page_for_archives( $query ) { 213 213 $smct_paginate = get_option('smct_paginate_archives'); 214 if( $smct_paginate[0] !== 'yes') {214 if(is_array($smct_paginate) && $smct_paginate[0] !== 'yes') { 215 215 if ( !is_admin() && $query->is_main_query() && is_tax('smct_cats') ) { 216 216 $query->set( 'posts_per_page', '-1' );
Note: See TracChangeset
for help on using the changeset viewer.