Changelog
3.4.0
- Fix old posts not being deleted for ActivityPub (#476)
- Implement DMs for ActivityPub and EMA (#489)
- Improve Frontend margins (#490)
- Replace string ids for subscriptions with high ints (#483)
- Fix redirect after converting user (#484)
- Fix replying to posts with a different permalink (#478)
- EMA: Implement following endpoint data (#480)
- EMA: Remove old filters (#482)
- Extension: Allow moz-extension as a URL protocol (#477)
Friends – WordPress plugin | WordPress.org
https://wordpress.org/plugins/friends/#developers
#Firefox 翻訳
変更ログ
- ActivityPub で古い投稿が削除されない問題を修正 (#476)
- ActivityPub と EMA の DM を実装する (#489)
- フロントエンドマージンを改善する(#490)
- サブスクリプションの文字列 ID を高い ints に置き換えます (#483)
- ユーザー変換後のリダイレクトを修正 (#484)
- 別のパーマリンクで投稿に返信する問題を修正 (#478)
- EMA: 以下のエンドポイントデータを実装する(#480)
- EMA:古いフィルターを取り除く(#482)
- 拡張: URLプロトコルとしてmoz-extensionを許可する(#477)
コメント
プラグイン「Friends」が3.4.0でダッシュボードに次のエラー。
/wp-content/plugins/friends/includes/class-admin.php on line 3473
その行のコードは次のようなもの。
if ( ! empty( $widget[‘friend’] ) ) {
$user = User::get_by_username( $widget[‘friend’] );
$title = ‘ by ‘ . $user->display_name;
}
display_nameが日本語の時にエラーが出るのだろう。
さっき、フォローし直したアカウントがあって、Usernameは日本語だったのを訂正したのだけど、Display Nameは日本語のままで登録した。その方が分かりやすいから。
でも、エラーが出たから、改めてフォローを解除してフォローし直した。今度はDisplay Nameも英語にした。それでも、エラーは消えてない。
エラーメッセージをコピーし忘れた。
Warning: Attempt to read property “display_name” on bool in ~
エラーの原因となっていると思われるアカウントのフォローを解除したけれど、エラーは消えない。テーマはCocoonとの関連か?
ついでに、前バージョンから続いているエラーだけど、サイドバーの「Blog Followers」をクリックした際に表示が乱れて、エラーが出まくっているそのエラーもメモしておく。
Warning: Attempt to read property “comment_count” on null in ~/wp-includes/general-template.php on line 3224
Warning: Attempt to read property “ID” on null in ~/wp-includes/post-template.php on line 676
Warning: Attempt to read property “post_type” on null in ~/wp-includes/post-template.php on line 677
Warning: Attempt to read property “post_parent” on null in ~/wp-includes/post-template.php on line 730
class=”-template-default page page-id- page-parent logged-in admin-bar no-customize-support off-canvas off-canvas-sidebar-show friends-page body public-page page-body ff-hiragino fz-18px fw-400 hlt-center-logo-wrap ect-entry-card-wrap rect-entry-card-wrap scrollable-sidebar no-scrollable-main sidebar-right mblt-footer-mobile-buttons scrollable-mobile-buttons author-guest mobile-button-fmb no-mobile-sidebar no-post-author no-sp-snippet font-awesome-4 thumb-wide”>
最後のはバグってコードの途中で切れちゃって、その後のコードが表示されてるんだろう。
フォローしないと利用できないサービスがあるから、フォローできるようにするためにプラグイン「Friends」をインストールしてあるのだけど、プラグイン「ActivityPub」でフォローできるのなら、プラグイン「Friends」はアンインストールしても良い。