Changeset 1218227
- Timestamp:
- 08/11/2015 02:05:22 PM (10 years ago)
- Location:
- publicize-with-hashtags/trunk
- Files:
-
- 2 edited
-
publicize-with-hashtags.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
publicize-with-hashtags/trunk/publicize-with-hashtags.php
r1217775 r1218227 3 3 Plugin Name: Publicize With Hashtags 4 4 Description: Automatically append hashtags to any content sent by Jetpack's Publicize module: hashtags will be created using post tags: dupe check and an optional length-based threshold are also included. 5 Version: 0.1. 15 Version: 0.1.2 6 6 License: GPL 7 7 Author: Darkseal … … 49 49 foreach ($ta as $t) { 50 50 // Create the hashtag, stripping spaces if needed. 51 $ht = '#' . ( $strip_spaces) ? str_replace(' ', '', $t->name) : $t->name;51 $ht = '#' . (($strip_spaces) ? str_replace(' ', '', $t->name) : $t->name); 52 52 // only process newly-added hashtags, skipping duplicate ones 53 53 if (stripos($mess,$ht) === false) { -
publicize-with-hashtags/trunk/readme.txt
r1217775 r1218227 50 50 == Changelog == 51 51 52 = 0.1.2 = 53 * Fixed a bug in hashtags generation 54 52 55 = 0.1.1 = 53 56 * Added an explicative screenshot … … 59 62 60 63 == Upgrade Notice == 64 65 = 0.1.2 = 66 * Fixed a major bug 61 67 62 68 = 0.1.1 =
Note: See TracChangeset
for help on using the changeset viewer.