Changeset 621048
- Timestamp:
- 11/04/2012 10:05:42 PM (13 years ago)
- Location:
- docs-auto-tags
- Files:
-
- 3 edited
-
. (modified) (1 prop)
-
trunk/docs-auto-tags.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
docs-auto-tags
-
Property
svn:ignore
set to
assets/screenshot.psd
-
Property
svn:ignore
set to
-
docs-auto-tags/trunk/docs-auto-tags.php
r608028 r621048 53 53 // append tags 54 54 $tag_options = get_option( 'docs_autotags' ); 55 if ( count($tag_options) > 0 ) {55 if ( is_array($tag_options) && count($tag_options) > 0 ) { 56 56 foreach ( $tag_options as $pattern => $tags ) { 57 57 if ( strpos($post->post_content, $pattern) ) … … 61 61 // append categories 62 62 $category_options = get_option( 'docs_autocategories' ); 63 if ( count($category_options) > 0 ) {63 if ( is_array($category_options) && count($category_options) > 0 ) { 64 64 foreach ( $category_options as $pattern => $categories ) { 65 65 if ( strpos($post->post_content, $pattern) ) -
docs-auto-tags/trunk/readme.txt
r608028 r621048 11 11 == Description == 12 12 13 Assigns tags to posts containing specific text strings, handy for filtering within the loop. A gift to [@docrock](http://twitter.com/docrock/status/58054643929985024) from [@johnleblanc](http://twitter.com/johnleblanc/status/58303307713753088) to help keep [Instagr.am](http://instagr.am/) image posts out of the [mrdocrock.com](http://www.mrdocrock.com) homepage loop. Born April 13, 2011 in[Kaneohe, HI](http://maps.google.com/maps?ll=21.408966,-157.831993&spn=0.091894,0.162907&t=h&z=13&lci=com.panoramio.all,com.youtube.all,com.google.webcams,org.wikipedia.en).13 Assigns tags to posts containing specific text strings, handy for filtering within the loop. A gift to [@docrock](http://twitter.com/docrock/status/58054643929985024) from [@johnleblanc](http://twitter.com/johnleblanc/status/58303307713753088) to help keep [Instagr.am](http://instagr.am/) image posts out of the [mrdocrock.com](http://www.mrdocrock.com) homepage loop. Born April 13, 2011 in [Kaneohe, HI](http://maps.google.com/maps?ll=21.408966,-157.831993&spn=0.091894,0.162907&t=h&z=13&lci=com.panoramio.all,com.youtube.all,com.google.webcams,org.wikipedia.en). 14 14 15 15 == Installation == 16 16 17 1. Install from the Plugins page within the Dashboard. For those with too much free time, download from the [plugin page](http://wordpress.org/extend/plugins/docs-auto-tags/) or [subversion repository](http://plugins.svn.wordpress.org/docs-auto-tags/)and upload `docs-auto-tags` to your plugins directory (usually `/wp-content/plugins/` unless you've defined a custom value by overriding the WP_PLUGINS_DIR constant).17 1. Install from the Plugins page within the Dashboard. For those with too much free time, download from the [plugin page](http://wordpress.org/extend/plugins/docs-auto-tags/) or [subversion repository](http://plugins.svn.wordpress.org/docs-auto-tags/) and upload `docs-auto-tags` to your plugins directory (usually `/wp-content/plugins/` unless you've defined a custom value by overriding the WP_PLUGINS_DIR constant). 18 18 1. Activate the plugin through the 'Plugins' menu in WordPress 19 19 1. Configure your settings within the 'Tools' area in the Dashboard … … 24 24 25 25 == Changelog == 26 27 = 0.6.1 = 28 Fixed another "Warning: Invalid argument supplied for foreach()" for real this time 26 29 27 30 = 0.6 =
Note: See TracChangeset
for help on using the changeset viewer.