Skip to content

Commit f542c18

Browse files
committed
fixed backlink in excerpt/summary posts (thanks @Depone)
1 parent b209104 commit f542c18

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
**Tags:** OStatus, fediverse, activitypub, activitystream
55
**Requires at least:** 4.7
66
**Tested up to:** 5.1
7-
**Stable tag:** 0.4.1
7+
**Stable tag:** 0.4.2
88
**Requires PHP:** 5.6
99
**License:** MIT
1010
**License URI:** http://opensource.org/licenses/MIT
@@ -55,6 +55,10 @@ To implement:
5555

5656
Project maintained on github at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
5757

58+
### 0.4.2 ###
59+
60+
* fixed backlink in excerpt/summary posts (thanks @depone)
61+
5862
### 0.4.1 ###
5963

6064
* finally fixed contact list

activitypub.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: ActivityPub
44
* Plugin URI: https://github.com/pfefferle/wordpress-activitypub/
55
* Description: The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.
6-
* Version: 0.4.1
6+
* Version: 0.4.2
77
* Author: Matthias Pfefferle
88
* Author URI: https://notiz.blog/
99
* License: MIT
@@ -24,7 +24,7 @@ function activitypub_init() {
2424
require_once dirname( __FILE__ ) . '/includes/functions.php';
2525

2626
require_once dirname( __FILE__ ) . '/includes/class-activitypub-post.php';
27-
add_filter( 'activitypub_the_excerpt', array( 'Activitypub_Post', 'add_backlink' ), 10, 2 );
27+
add_filter( 'activitypub_the_summary', array( 'Activitypub_Post', 'add_backlink' ), 10, 2 );
2828
add_filter( 'activitypub_the_content', array( 'Activitypub_Post', 'add_backlink' ), 10, 2 );
2929

3030
require_once dirname( __FILE__ ) . '/includes/class-activitypub.php';

languages/activitypub.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
# This file is distributed under the MIT.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: ActivityPub 0.4.1\n"
5+
"Project-Id-Version: ActivityPub 0.4.2\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/activitypub\n"
7-
"POT-Creation-Date: 2019-02-19 13:29:42+00:00\n"
7+
"POT-Creation-Date: 2019-02-20 18:45:51+00:00\n"
88
"MIME-Version: 1.0\n"
99
"Content-Type: text/plain; charset=utf-8\n"
1010
"Content-Transfer-Encoding: 8bit\n"

readme.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://notiz.blog/donate/
44
Tags: OStatus, fediverse, activitypub, activitystream
55
Requires at least: 4.7
66
Tested up to: 5.1
7-
Stable tag: 0.4.1
7+
Stable tag: 0.4.2
88
Requires PHP: 5.6
99
License: MIT
1010
License URI: http://opensource.org/licenses/MIT
@@ -55,6 +55,10 @@ To implement:
5555

5656
Project maintained on github at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).
5757

58+
= 0.4.2 =
59+
60+
* fixed backlink in excerpt/summary posts (thanks @depone)
61+
5862
= 0.4.1 =
5963

6064
* finally fixed contact list

0 commit comments

Comments
 (0)