Changeset 452293
- Timestamp:
- 10/18/2011 03:48:48 AM (14 years ago)
- Location:
- category-sticky-posts
- Files:
-
- 4 edited
- 1 copied
-
tags/0.11 (copied) (copied from category-sticky-posts/trunk)
-
tags/0.11/bz_category_sticky.php (modified) (2 diffs)
-
tags/0.11/readme.txt (modified) (1 diff)
-
trunk/bz_category_sticky.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
category-sticky-posts/tags/0.11/bz_category_sticky.php
r448928 r452293 5 5 Description: Set sticky posts for individual category archives 6 6 Author: Brian Zeligson 7 Version: 0.1 7 Version: 0.11 8 8 Author URI: http://www.workinginboxershorts.com 9 9 … … 135 135 $bz_post_sticky_categories = $_POST['bz_post_sticky_categories']; 136 136 137 foreach ($bz_post_sticky_categories as $bz_post_sticky_category) $this->bz_sticky_categories[$bz_post_sticky_category][$post->ID] = 'sticky';138 foreach ($this->bz_sticky_categories as $key => $bz_sticky_category) if (isset($bz_sticky_category[$post->ID]) and !in_array($key, $bz_post_sticky_categories)) unset($this->bz_sticky_categories[$key][$post->ID]);137 if (is_array($bz_post_sticky_categories)) {foreach ($bz_post_sticky_categories as $bz_post_sticky_category) $this->bz_sticky_categories[$bz_post_sticky_category][$post->ID] = 'sticky';} 138 if (is_array($this->bz_sticky_categories)) {foreach ($this->bz_sticky_categories as $key => $bz_sticky_category) if (isset($bz_sticky_category[$post->ID]) and !in_array($key, $bz_post_sticky_categories)) unset($this->bz_sticky_categories[$key][$post->ID]);} 139 139 update_option(WPBZCSP, $this->bz_sticky_categories); 140 140 } -
category-sticky-posts/tags/0.11/readme.txt
r448928 r452293 5 5 Requires at least: 2.9.1 6 6 Tested up to: 3.2.1 7 Stable tag: root7 Stable tag: 0.11 8 8 9 9 Allows you to set Sticky posts for individual category archives. -
category-sticky-posts/trunk/bz_category_sticky.php
r448928 r452293 5 5 Description: Set sticky posts for individual category archives 6 6 Author: Brian Zeligson 7 Version: 0.1 7 Version: 0.11 8 8 Author URI: http://www.workinginboxershorts.com 9 9 … … 135 135 $bz_post_sticky_categories = $_POST['bz_post_sticky_categories']; 136 136 137 foreach ($bz_post_sticky_categories as $bz_post_sticky_category) $this->bz_sticky_categories[$bz_post_sticky_category][$post->ID] = 'sticky';138 foreach ($this->bz_sticky_categories as $key => $bz_sticky_category) if (isset($bz_sticky_category[$post->ID]) and !in_array($key, $bz_post_sticky_categories)) unset($this->bz_sticky_categories[$key][$post->ID]);137 if (is_array($bz_post_sticky_categories)) {foreach ($bz_post_sticky_categories as $bz_post_sticky_category) $this->bz_sticky_categories[$bz_post_sticky_category][$post->ID] = 'sticky';} 138 if (is_array($this->bz_sticky_categories)) {foreach ($this->bz_sticky_categories as $key => $bz_sticky_category) if (isset($bz_sticky_category[$post->ID]) and !in_array($key, $bz_post_sticky_categories)) unset($this->bz_sticky_categories[$key][$post->ID]);} 139 139 update_option(WPBZCSP, $this->bz_sticky_categories); 140 140 } -
category-sticky-posts/trunk/readme.txt
r448928 r452293 5 5 Requires at least: 2.9.1 6 6 Tested up to: 3.2.1 7 Stable tag: root7 Stable tag: 0.11 8 8 9 9 Allows you to set Sticky posts for individual category archives.
Note: See TracChangeset
for help on using the changeset viewer.