Changeset 1239214
- Timestamp:
- 09/06/2015 06:11:46 PM (11 years ago)
- Location:
- sf-generate-tags/trunk
- Files:
-
- 4 edited
-
readme.txt (modified) (2 diffs)
-
sf-tags-admin.php (modified) (1 diff)
-
sf-tags-filter-english.php (modified) (4 diffs)
-
sf-tags.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sf-generate-tags/trunk/readme.txt
r1159654 r1239214 4 4 Tags: tags, generate, edit, posts, images, attached, text, admin, taxonomy, autotags 5 5 Requires at least: 3.8 6 Tested up to: 4. 2.26 Tested up to: 4.3.0 7 7 Stable tag: trunk 8 8 License: GPLv2 … … 49 49 == ChangeLog == 50 50 51 = 1.3 = 52 * Removed default tags limit 53 * Added more filter logic to English tags 54 51 55 = 1.2 = 52 56 * Limit number of tags. -
sf-generate-tags/trunk/sf-tags-admin.php
r1159185 r1239214 20 20 <input type="hidden" name="sf_post_id" id="sf_post_id" value="<?php global $post; echo "$post->ID"; ?>"> 21 21 <p><?php _e('Limit tags to:', 'sf-tags') ?></p> 22 <input type="number" name="sf_limit_tags" id="sf_limit_tags" value=" 40"/>22 <input type="number" name="sf_limit_tags" id="sf_limit_tags" value=""/> 23 23 <br /> 24 24 <a class="button" id="btnSubmit"><?php _e('Generate Tags', 'sf-tags') ?></a> -
sf-generate-tags/trunk/sf-tags-filter-english.php
r1159185 r1239214 11 11 12 12 $easy_words = array( 'after', 'against', 'ago', 'almost', 'along', 'also', 'although', 'always', 13 'and', 'any', 'anyone', 'anytime', 'are', 'around', 'a ll', 'away',13 'and', 'any', 'anyone', 'anytime', 'are', 'around', 'aside', 'all', 'away', 14 14 'become', 'because', 'behind', 'before', 'between', 'but', 'com', 'common', 15 15 'different', 'down', 'due', 'either', 'extra', 'ever', 'every', 16 16 'far', 'false', 'for', 'forever', 'from', 'further', 'full', 17 17 'here', 'hers', 'him', 'how', 'however', 18 'i nn', 'into', 'its', 'itself', 'jpg', 'just', 'less', 'mean', 'more', 'most', 'myself',19 'next', 'never', 'new', 'nobody', 'no t', 'now',20 'often', 'once', 'only', 'o rg', 'other', 'others', 'our', 'ours', 'out', 'over', 'per', 'plenty', 'png',18 'img', 'inn', 'into', 'its', 'itself', 'jpg', 'just', 'less', 'mean', 'more', 'most', 'myself', 19 'next', 'never', 'new', 'nobody', 'non', 'not', 'now', 20 'often', 'once', 'only', 'onto', 'org', 'other', 'others', 'our', 'ours', 'out', 'over', 'per', 'plenty', 'png', 'rather', 21 21 'same', 'since', 'she', 'someone', 'something', 'sure', 'such', 22 22 'than', 'that', 'the', 'then', 'there', 'these', 'them', 'they', 'those', 'this', 'through', 'thus', 'too', 'together', 'true', … … 36 36 'very'); 37 37 38 $adjectives = array('actual', 'authentic', ' bad', 'best', 'better', 'closed', 'cool', 'current', 'difficult',38 $adjectives = array('actual', 'authentic', 'avoid', 'bad', 'best', 'better', 'closed', 'cool', 'current', 'difficult', 39 39 'easier', 'easily', 'few', 'full', 'fun', 'good', 40 40 'great', 'huge', 'later', 'like', 'long', 'make', 'new', 'old', 'older', 'open', 41 41 'poor', 'possible', 'proper', 'quite', 'real', 42 'seen', 'seldom', 'similar', 'small', 'taken', 'tiny', 'thrown', 'took', ' using', 'vice', 'versa');42 'seen', 'seldom', 'similar', 'small', 'taken', 'tiny', 'thrown', 'took', 'toward', 'using', 'vice', 'versa'); 43 43 44 44 $verbs = array('able', 'achieve', 'add', 'afford', 'allow', 'allows', 'apply', 'arise', 'ask', … … 49 49 'fill', 'find', 'found', 'gather', 'gave', 'get', 'gets', 'give', 'gone', 'got', 'guess', 50 50 'had', 'happen', 'has', 'have', 'helps', 'jump', 'keep', 'kept', 'let', 'like', 'look', 'loose', 51 'made', 'make', 'may', 'mean', 'means', 'might', 'must', 'o wn', 'paste', 'pay', 'pick', 'put', 'prefer', 'propose', 'read', 'receive', 'remember', 'run',51 'made', 'make', 'may', 'mean', 'means', 'might', 'must', 'occur', 'own', 'paste', 'pay', 'pick', 'put', 'prefer', 'propose', 'read', 'receive', 'remember', 'run', 52 52 'say', 'see', 'select', 'send', 'set', 'should', 'sit', 'spend', 'start', 'stay', 'stop', 'take', 'tell', 'took', 'try', 53 53 'use', 'var', 'watch', 'want', 'was', 'were', 'will', 'would'); … … 73 73 || wordEndsWith($word, "ght") 74 74 || wordEndsWith($word, "ugh") 75 || wordEndsWith($word, "id") 76 || wordEndsWith($word, "made") 77 || wordEndsWith($word, "ier") 78 || wordEndsWith($word, "self") 79 || wordEndsWith($word, "ary") 75 80 ) 76 81 { -
sf-generate-tags/trunk/sf-tags.php
r1159185 r1239214 4 4 * Plugin URI: http://studiofreya.com 5 5 * Description: This plugin autogenerates tags for your posts from attached images names and post text 6 * Version: 1. 26 * Version: 1.3 7 7 * Author: Studiofreya AS 8 8 * Author URI: http://studiofreya.com
Note: See TracChangeset
for help on using the changeset viewer.