Plugin Directory

Changeset 2761218


Ignore:
Timestamp:
07/25/2022 02:18:41 PM (4 years ago)
Author:
leocolomb
Message:

Update to version 1.4.0 from GitHub

Location:
wp-auto-links
Files:
16 deleted
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-auto-links/tags/1.4.0/composer.json

    r2040598 r2761218  
    1313  "license": "MIT",
    1414  "require": {
    15     "php": ">=7.2",
    16     "composer/installers": "^1.0"
     15    "php": ">=7.2"
    1716  },
    1817  "require-dev": {
     
    2524  },
    2625  "scripts": {
    27     "test": [
     26    "lint": [
    2827      "phpcs"
    2928    ]
  • wp-auto-links/tags/1.4.0/readme.txt

    r2100082 r2761218  
    44Tags: auto links, seo, links, categories, pages, posts, tags
    55Requires at least: 5.0
    6 Tested up to: 5.3
     6Tested up to: 6.0
    77Requires PHP: 7.2
    88Stable tag: trunk
  • wp-auto-links/tags/1.4.0/src/class-wp-auto-links-helper.php

    r2111277 r2761218  
    309309            }
    310310            // Exclude too young posts
    311             if ($this->get_option('min_post_age') > 0 &&
    312                 (time() - get_post_time() < $this->get_option('min_post_age') * (24 * 60 * 60))) {
     311            if (
     312                $this->get_option('min_post_age') > 0 &&
     313                (time() - get_post_time() < $this->get_option('min_post_age') * (24 * 60 * 60))
     314            ) {
    313315                return false;
    314316            }
  • wp-auto-links/trunk/composer.json

    r2040598 r2761218  
    1313  "license": "MIT",
    1414  "require": {
    15     "php": ">=7.2",
    16     "composer/installers": "^1.0"
     15    "php": ">=7.2"
    1716  },
    1817  "require-dev": {
     
    2524  },
    2625  "scripts": {
    27     "test": [
     26    "lint": [
    2827      "phpcs"
    2928    ]
  • wp-auto-links/trunk/readme.txt

    r2100082 r2761218  
    44Tags: auto links, seo, links, categories, pages, posts, tags
    55Requires at least: 5.0
    6 Tested up to: 5.3
     6Tested up to: 6.0
    77Requires PHP: 7.2
    88Stable tag: trunk
  • wp-auto-links/trunk/src/class-wp-auto-links-helper.php

    r2111277 r2761218  
    309309            }
    310310            // Exclude too young posts
    311             if ($this->get_option('min_post_age') > 0 &&
    312                 (time() - get_post_time() < $this->get_option('min_post_age') * (24 * 60 * 60))) {
     311            if (
     312                $this->get_option('min_post_age') > 0 &&
     313                (time() - get_post_time() < $this->get_option('min_post_age') * (24 * 60 * 60))
     314            ) {
    313315                return false;
    314316            }
Note: See TracChangeset for help on using the changeset viewer.