Plugin Directory

Changeset 1239214


Ignore:
Timestamp:
09/06/2015 06:11:46 PM (11 years ago)
Author:
Studiofreya
Message:

Wordpress version and English filter logic update

Location:
sf-generate-tags/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • sf-generate-tags/trunk/readme.txt

    r1159654 r1239214  
    44Tags: tags, generate, edit, posts, images, attached, text, admin, taxonomy, autotags
    55Requires at least: 3.8
    6 Tested up to: 4.2.2
     6Tested up to: 4.3.0
    77Stable tag: trunk
    88License: GPLv2
     
    4949== ChangeLog ==
    5050
     51= 1.3 =
     52* Removed default tags limit
     53* Added more filter logic to English tags
     54
    5155= 1.2 =
    5256* Limit number of tags.
  • sf-generate-tags/trunk/sf-tags-admin.php

    r1159185 r1239214  
    2020        <input type="hidden" name="sf_post_id" id="sf_post_id" value="<?php global $post; echo "$post->ID"; ?>">
    2121        <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=""/>
    2323        <br />
    2424        <a class="button" id="btnSubmit"><?php _e('Generate Tags', 'sf-tags') ?></a>
  • sf-generate-tags/trunk/sf-tags-filter-english.php

    r1159185 r1239214  
    1111
    1212    $easy_words = array( 'after', 'against', 'ago', 'almost', 'along', 'also', 'although', 'always',
    13         'and', 'any', 'anyone', 'anytime', 'are', 'around', 'all', 'away',
     13        'and', 'any', 'anyone', 'anytime', 'are', 'around', 'aside', 'all', 'away',
    1414        'become', 'because', 'behind', 'before', 'between', 'but', 'com', 'common',
    1515        'different', 'down', 'due', 'either', 'extra', 'ever', 'every',
    1616        'far', 'false', 'for', 'forever', 'from', 'further', 'full',
    1717        'here', 'hers', 'him', 'how', 'however',
    18         'inn', 'into', 'its', 'itself', 'jpg', 'just', 'less', 'mean', 'more', 'most', 'myself',
    19         'next', 'never', 'new', 'nobody', 'not', 'now',
    20         'often', 'once', 'only', 'org', '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',
    2121        'same', 'since', 'she', 'someone', 'something', 'sure', 'such',
    2222        'than', 'that', 'the', 'then', 'there', 'these', 'them', 'they', 'those', 'this', 'through', 'thus', 'too', 'together', 'true',
     
    3636        'very');
    3737       
    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',
    3939        'easier', 'easily', 'few', 'full', 'fun', 'good',
    4040        'great', 'huge', 'later', 'like', 'long', 'make', 'new', 'old', 'older', 'open',
    4141        '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');
    4343   
    4444    $verbs = array('able', 'achieve', 'add', 'afford', 'allow', 'allows', 'apply', 'arise', 'ask',
     
    4949        'fill', 'find', 'found', 'gather', 'gave', 'get', 'gets', 'give', 'gone', 'got', 'guess',
    5050        'had', 'happen', 'has', 'have', 'helps', 'jump', 'keep', 'kept', 'let', 'like', 'look', 'loose',
    51         'made', 'make', 'may', 'mean', 'means', 'might', 'must', 'own', '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',
    5252        'say', 'see', 'select', 'send', 'set', 'should', 'sit', 'spend', 'start', 'stay', 'stop', 'take', 'tell', 'took', 'try',
    5353        'use', 'var', 'watch', 'want', 'was', 'were', 'will', 'would');
     
    7373            || wordEndsWith($word, "ght")
    7474            || wordEndsWith($word, "ugh")
     75            || wordEndsWith($word, "id")
     76            || wordEndsWith($word, "made")
     77            || wordEndsWith($word, "ier")
     78            || wordEndsWith($word, "self")
     79            || wordEndsWith($word, "ary")
    7580        )
    7681        {   
  • sf-generate-tags/trunk/sf-tags.php

    r1159185 r1239214  
    44 * Plugin URI: http://studiofreya.com
    55 * Description: This plugin autogenerates tags for your posts from attached images names and post text
    6  * Version: 1.2
     6 * Version: 1.3
    77 * Author: Studiofreya AS
    88 * Author URI: http://studiofreya.com
Note: See TracChangeset for help on using the changeset viewer.