Plugin Directory

Changeset 2068298


Ignore:
Timestamp:
04/13/2019 05:03:47 PM (7 years ago)
Author:
tagbee
Message:

Add reference and permalink to tag proposal request

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

Legend:

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

    r1976058 r2068298  
    4747    protected $contentMetaKeywords;
    4848
     49    /**
     50     * @var string
     51     */
     52    protected $permalink;
     53
    4954    public function __construct($data, $tags, $meta)
    5055    {
     
    5459        $this->contentBody = $data->post_content;
    5560        $this->contentCategory = $this->createCategoriesString($data);
     61        $this->permalink = get_post_permalink($data->ID);
    5662
    5763        $this->tags = $tags;
  • tagbee-automatic-post-tagging/trunk/lib/tagbee-request-interface.php

    r1976058 r2068298  
    1818            'category' => $this->contentCategory,
    1919            'meta_description' => $this->contentMetaDescription,
    20             'meta_keywords' => $this->contentMetaKeywords
     20            'meta_keywords' => $this->contentMetaKeywords,
     21            'reference' => 'Wordpress ' . get_bloginfo('version'),
     22            'permalink' => $this->permalink
    2123        ];
    2224    }
  • tagbee-automatic-post-tagging/trunk/readme.txt

    r2015559 r2068298  
    44Tags: auto tags, posts, seo, tags, tagging
    55Requires at least: 3.7
    6 Tested up to: 5.0.3
     6Tested up to: 5.1.1
    77License: GPLv3 or later
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
  • tagbee-automatic-post-tagging/trunk/tagbee-post-tagger.php

    r2052211 r2068298  
    2828*/
    2929defined('ABSPATH') or die('Wordpress Plugin');
    30 define('TAGBEE_VERSION', "1.0.5");
     30define('TAGBEE_VERSION', "1.0.6");
    3131define("TAGBEE_NAMESPACE", "tagbee");
    3232define("TAGBEE_INNER_PROPOSAL_ENDPOINT", "proposals");
Note: See TracChangeset for help on using the changeset viewer.