Plugin Directory

Changeset 2085946


Ignore:
Timestamp:
05/11/2019 03:30:32 PM (7 years ago)
Author:
tagbee
Message:

Fix validation bug

Location:
tagbee-automatic-post-tagging
Files:
9 added
2 edited

Legend:

Unmodified
Added
Removed
  • tagbee-automatic-post-tagging/trunk/lib/tagbee-auto-proposals-request.php

    r2085830 r2085946  
    8989    private function validate()
    9090    {
    91         if (!trim($this->contentTitle) && trim($this->contentBody)) {
     91        if (!trim($this->contentTitle) || !trim($this->contentBody)) {
    9292            throw new Exception('Empty Title or Body');
    9393        }
  • tagbee-automatic-post-tagging/trunk/tagbee-post-tagger.php

    r2085830 r2085946  
    44Plugin URI:   https://developer.wordpress.org/plugins/the-basics/
    55Description:  Add Tags to posts
    6 Version:      1.0.8
     6Version:      1.0.9
    77Author:       TagΒee Team
    88Author URI:   https://tagbee.co
     
    2828*/
    2929defined('ABSPATH') or die('Wordpress Plugin');
    30 define('TAGBEE_VERSION', "1.0.8");
     30define('TAGBEE_VERSION', "1.0.9");
    3131define("TAGBEE_NAMESPACE", "tagbee");
    3232define("TAGBEE_INNER_PROPOSAL_ENDPOINT", "proposals");
Note: See TracChangeset for help on using the changeset viewer.