Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 12e4042

Browse files
authored
Merge pull request #239 from dshanske/actions
Actions
2 parents 8e07caf + 1583c9a commit 12e4042

File tree

9 files changed

+58
-49
lines changed

9 files changed

+58
-49
lines changed

.distignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/.wordpress-org
2+
/.git
3+
/.github
4+
/node_modules
5+
/bin
6+
/sass
7+
/vendor
8+
/tests
9+
/config
10+
readme.md
11+
package.json
12+
composer.json
13+
composer.lock
14+
Gruntfile.js
15+
push.sh
16+
phpunit.xml
17+
phpunit.xml.dist
18+
phpcs.xml
19+
README.md
20+
readme.md
21+
.travis.yml
22+
.distignore
23+
.gitignore
24+
docker-compose.yml

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Directories
2+
/.wordpress-org export-ignore
3+
/.github export-ignore
4+
5+
# Files
6+
/.gitattributes export-ignore
7+
/.gitignore export-ignore

.github/workflows/deploy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Deploy to WordPress.org
2+
on:
3+
push:
4+
tags:
5+
- "*"
6+
jobs:
7+
tag:
8+
name: New tag
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@master
12+
- name: WordPress Plugin Deploy
13+
uses: 10up/action-wordpress-plugin-deploy@master
14+
env:
15+
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
16+
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
17+
SLUG: webmention

.svnignore

Lines changed: 0 additions & 32 deletions
This file was deleted.

.travis.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,21 @@ cache:
99
directories:
1010
- vendor
1111
- $HOME/.composer/cache
12-
after_success: curl -L https://raw.githubusercontent.com/miya0001/travis2wpplugin/master/deploy.sh | bash
12+
after_success:
1313
env:
1414
matrix:
1515
- WP_VERSION=latest WP_MULTISITE=0
1616
global:
1717
- WP_TRAVISCI=travis:phpunit
1818
- SVN_REPO: https://plugins.svn.wordpress.org/semantic-linkbacks/
1919
- GH_REF: https://github.com/pfefferle/wordpress-semantic-linkbacks.git
20-
- secure: "4WcaCZP5VsKAYGvSZUR0vLIwzyU6qZ4VyAuMTZWJ9A/08MJtI81WJy355URU/HC5Jwt9qQ8ZyPOSpwo0XNaJsd/emqr5OsC3X1yaAn9lnfS+X8jdjRDsC5nWXGPb0KyX/hzVMtO2rxwo4k9WYdSEVz8m/iD0P8MIWOF5d1CS6ifBZ5HPiCh2s9okEdy4hnR78cEJXBgSR6jmxHSBKgzkR2otiuccy4ZoNk/050i5aRtLZFT4rgxAwqwzodUgOpq867V7hXw9MHfYRgwS1kRyZcst4YkVHPu8rXlhjKHLuVApHqyn5QYkqnBZuPA1ID+/7FEQn46F/EEiZXVO/RHe0Egq4gZdEHyqtjou4jjKhEgQAeEnlVPLI+8GmmYuls1YtXJsFMCGc8zlWMTlNIz+qjmJl1RxXM7fwC7OhXfvUqkFnT8KA+HeAeje1yOzIzyysXAqCFsfST81l/CtH4YyUwXHR1io+Qo9UErEWoW0UtJkoK7OxkF4Bb6UzJQ5qZSU6OYBIghjMHaiwyu4+27UL5JRZRDfoRmxqz4KqSfsDL/97qsm6/F8a6hqf5IIK2kDKSyedZGED6t1WDotstcB7bXlhYgLv5be+Uselc0etMypcYzAvfkebDLCqKp+b9BEKJ4mT+K0VneeU9IKBRovMUSo6AHbChJtVQFTl580ODE="
2120
matrix:
2221
include:
2322
- php: 7.3
2423
- php: 7.2
2524
- php: 7.1
2625
- php: 7.0
2726
- php: 5.6
28-
- php: 5.6
29-
env: WP_PULUGIN_DEPLOY=1
30-
- php: 5.5
31-
env: WP_VERSION=4.7 WP_MULTISITE=0
32-
- php: 5.4
33-
env: WP_VERSION=4.7 WP_MULTISITE=0
3427
before_script:
3528
- |
3629
# Remove Xdebug for a huge performance increase:

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
**Contributors:** [pfefferle](https://profiles.wordpress.org/pfefferle), [dshanske](https://profiles.wordpress.org/dshanske)
33
**Donate link:** https://notiz.blog/donate/
44
**Tags:** webmention, pingback, trackback, linkback, microformats, comments, indieweb
5-
**Requires at least:** 4.8.2
6-
**Requires PHP:** 5.4
7-
**Tested up to:** 5.4.0
5+
**Requires at least:** 4.9
6+
**Requires PHP:** 5.6
7+
**Tested up to:** 5.4.2
88
**Stable tag:** 3.10.2
99
**License:** MIT
1010
**License URI:** http://opensource.org/licenses/MIT

includes/class-linkbacks-mf2-handler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public static function convert_time( $time ) {
343343
$time = strtotime( $time );
344344
// If it can't read the time it will return null which will mean the comment time will be set to now.
345345
if ( $time ) {
346-
return get_date_from_gmt( date( 'Y-m-d H:i:s', $time ), 'Y-m-d H:i:s' );
346+
return get_date_from_gmt( gmdate( 'Y-m-d H:i:s', $time ), 'Y-m-d H:i:s' );
347347
}
348348
return null;
349349
}

phpcs.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<exclude-pattern>*/includes/*\.(inc|css|js|svg)</exclude-pattern>
88
<rule ref="PHPCompatibility"/>
99
<rule ref="PHPCompatibilityWP" />
10-
<config name="minimum_supported_wp_version" value="4.8"/>
10+
<config name="minimum_supported_wp_version" value="4.9"/>
1111
<rule ref="WordPress.WP.DeprecatedFunctions" />
12-
<config name="testVersion" value="5.4-"/>
12+
<config name="testVersion" value="5.6-"/>
1313
<rule ref="WordPress-Core">
1414
<exclude name="WordPress.Security.ValidatedSanitizedInput" />
1515
<exclude name="WordPress.Security.NonceVerification" />

readme.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
Contributors: pfefferle, dshanske
33
Donate link: https://notiz.blog/donate/
44
Tags: webmention, pingback, trackback, linkback, microformats, comments, indieweb
5-
Requires at least: 4.8.2
6-
Requires PHP: 5.4
7-
Tested up to: 5.4.0
5+
Requires at least: 4.9
6+
Requires PHP: 5.6
7+
Tested up to: 5.4.2
88
Stable tag: 3.10.2
99
License: MIT
1010
License URI: http://opensource.org/licenses/MIT

0 commit comments

Comments
 (0)