Plugin Directory

Changeset 2215216


Ignore:
Timestamp:
12/19/2019 03:58:04 PM (6 years ago)
Author:
robmcvey
Message:

Squashed commit of the following:

commit df3c9191c86a02ebbce430d193a3bd1ba9784c08
Author: Rob McVey <robmcvey@…>
Date: Thu Dec 19 15:56:15 2019 +0000

1.2.6 Allows images from Pixabay

Location:
copify/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • copify/trunk/Lib/CopifyWordpress.php

    r2148516 r2215216  
    1212 * Plugin version
    1313 */
    14     protected $version = '1.2.5';
     14    protected $version = '1.2.6';
    1515
    1616/**
     
    10941094    protected function CopifyCheckImageHost($url) {
    10951095        $parts = parse_url($url);
    1096         if (!preg_match("/flickr|copify/", $parts['host'])) {
     1096        if (!preg_match("/flickr|copify|pixabay/", $parts['host'])) {
    10971097            throw new InvalidArgumentException('Bad image host');
    10981098        }
  • copify/trunk/Test/Lib/CopifyWordpressTest.php

    r2148516 r2215216  
    1 <?php
     11.2.6<?php
    22require_once(__DIR__ . '/../../basics.php');
    33require_once(__DIR__ . '/../../Lib/CopifyApi.php');
     
    305305        $this->CopifyWordpress = $this->getMock('CopifyWordpress', array('wordpress', 'outputJson', 'setheader'));
    306306        $version = $this->CopifyWordpress->getVersion();
    307         $this->assertEquals('1.2.5', $version);
     307        $this->assertEquals('1.2.6', $version);
    308308        $mockVal = array(
    309309            'CopifyEmail' => 'foo@bar.com',
  • copify/trunk/copify.php

    r2148516 r2215216  
    44Plugin URI: https://github.com/copify/copify-wordpress
    55Description: Automatically publish unique, relevant content every week from Copify's team of professional writers.
    6 Version: 1.2.5
     6Version: 1.2.6
    77Author: Rob McVey
    88Author URI: http://uk.copify.com/
  • copify/trunk/readme.txt

    r2148516 r2215216  
    11=== Copify ===
    22
    3 Version: 1.2.5
     3Version: 1.2.6
    44Contributors: robmcvey
    55Tags: blog writers, automatic blogging, post writers, auto blogging, content, copywriting, copywriters, blogging, writers, writing, seo
     
    3939
    4040== Changelog ==
     41
     42= 1.2.6 =
     43* Allows images from Pixabay
    4144
    4245= 1.2.5 =
Note: See TracChangeset for help on using the changeset viewer.