Changeset 672824
- Timestamp:
- 02/25/2013 04:41:53 AM (13 years ago)
- Location:
- image-wall/trunk
- Files:
-
- 2 edited
-
image-wall.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
image-wall/trunk/image-wall.php
r666028 r672824 4 4 Plugin URI: http://www.themodernnomad.com/image-wall-plugin/#utm_campaign=Image_Wall&utm_source=wordpress&utm_medium=website&utm_content=plugin_link 5 5 Description: Browse posts/pages by their images, displayed randomly on an infinitely scrollable page. The images link back to the posts where they are attached. 6 Version: 2. 86 Version: 2.9 7 7 Author: Gustav Andersson 8 8 Author URI: http://www.themodernnomad.com/about/#utm_campaign=Image_Wall&utm_source=wordpress&utm_medium=website&utm_content=author_link … … 620 620 if ( !$parent_ID || get_post_field('post_status', $parent_ID ) != 'publish' ) continue; 621 621 if ( ! $include_pages && get_post_type( $parent_ID ) == 'page' ) continue; 622 if ( !empty($include_categories) && ! in_category( $include_categories, $parent_ID ) ) continue; 623 if ( !empty($exclude_categories ) && in_category( $exclude_categories , $parent_ID ) ) continue; 624 if ( !empty($include_tags) && ! has_tag( $include_tags, $parent_ID ) ) continue; 625 if ( !empty($exclude_tags) && has_tag( $exclude_tags, $parent_ID ) ) continue; 626 622 if ( get_post_type( $parent_ID ) != 'page' ) { 623 if ( !empty($include_categories) && ! in_category( $include_categories, $parent_ID ) ) continue; 624 if ( !empty($exclude_categories) && in_category( $exclude_categories, $parent_ID ) ) continue; 625 if ( !empty($include_tags) && ! has_tag( $include_tags, $parent_ID ) ) continue; 626 if ( !empty($exclude_tags) && has_tag( $exclude_tags, $parent_ID ) ) continue; 627 } 628 627 629 // We need to find the best available image size to use. 628 630 // That is the image size that will span the most columns (legally) while using the fewest pixels. -
image-wall/trunk/readme.txt
r666028 r672824 4 4 Requires at least: 3.5 5 5 Tested up to: 3.5.1 6 Stable tag: 2. 86 Stable tag: 2.9 7 7 Donate link: http://www.themodernnomad.com/#utm_campaign=Image_Wall&utm_source=wordpress&utm_medium=website&utm_content=donation 8 8 License: GPLv2 or later … … 85 85 = 2.8 = 86 86 * Setting back the box-sizing CSS setting of the container to content-box (in case a theme has set this to border-box) 87 88 = 2.9 = 89 * Fixed a bug where using both include_category/tag and include_pages didn't work.
Note: See TracChangeset
for help on using the changeset viewer.