Plugin Directory

Changeset 1558029


Ignore:
Timestamp:
12/20/2016 08:02:57 AM (9 years ago)
Author:
anchitdesai
Message:

fixed readme to reflect that the plugin is not working

Location:
fifthestate/trunk
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • fifthestate/trunk/js/script.js

    r1488259 r1558029  
    1616            var level = path.length;
    1717            if (level <= 5) {
    18                 categories = categories.filter(function (cat) {
    19                     return cat.can_post;
    20                 });
    2118                if (categories.length > 0) {
    2219                    var sElem = document.createElement('select');
     
    3734                        }
    3835
    39                         if (selectedCat.can_post && selectedCat.subcategories.length <= 0) {
     36                        if (selectedCat.subcategories.length <= 0) {
    4037                            selectCategory(selectedCat);
    41                         } else if (selectedCat.subcategories.length > 0) {
     38                        } else {
    4239                            var successfullySelected = selectFromCategories(selectedCat.subcategories);
    43                             if (!successfullySelected && selectedCat.can_post) {
     40                            if (!successfullySelected) {
    4441                                selectCategory(selectedCat);
    4542                            }
    46                         } else {
    47                             console.error(selectedCat.name + 'selected somehow');
    4843                        }
    4944                    };
     
    7368                }
    7469                if (level <= 5) {
    75                     categories = categories.filter(function (cat) {
    76                         return cat.can_post;
    77                     });
    78 
    7970                    for (var i = 0; i < categories.length; i++) {
    8071                        cat = categories[i];
    8172                        walker(cat.subcategories, level + 1)
    82                         if (cat.can_post && cat.subcategories.length <= 0) {
     73                        if (cat.subcategories.length <= 0) {
    8374                            if (!firstSelectableCategory) {
    8475                                firstSelectableCategory = cat;
     
    138129    }
    139130}, false);
    140 
    141 
  • fifthestate/trunk/readme.txt

    r1555042 r1558029  
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
     9
     10[20 Dec -- This Plugin is currently under maintenance and will NOT activate]
    911
    1012FifthEstate connects our partner WordPress.org blogs to fifthestate.com, so posts can be viewed by FifthEstate users worldwide.  Join today!
Note: See TracChangeset for help on using the changeset viewer.