Commit 9a770d36 authored by MediaFormat's avatar MediaFormat
Browse files

Merge branch 'hotfix/v0.10.2'

parents 98d4c111 c385154f
......@@ -173,7 +173,7 @@ class FediClient
$account_id = self::$acct_id;
$response = $this->_get("/api/v1/accounts/{$account_id}", null, $headers);
$response = $this->_get("/api/v1/accounts/{$account_id}", null, null);
return $response;
}
......
......@@ -3,7 +3,7 @@
* Plugin Name: FediEmbedi
* Plugin URI: https://git.feneas.org/mediaformat/fediembedi
* Description: Widgets and shortcodes to show your Fediverse profile timeline
* Version: 0.10.1
* Version: 0.10.2
* Author: mediaformat
* Author URI: https://mediaformat.org
* License: GPLv3
......@@ -174,7 +174,7 @@ class FediConfig
//getStatus from remote instance
$status = $client->getStatus($atts['only_media'], $atts['pinned'], $atts['exclude_replies'], null, null, null, $atts['limit'], $atts['exclude_reblogs']);
//if(WP_DEBUG_DISPLAY === true): echo '<details><summary>Mastodon</summary><pre>'; var_dump($client->getStatus($atts['only_media'], $atts['pinned'], $atts['exclude_replies'], null, null, null, $atts['limit'], $atts['exclude_reblogs'])); echo '</pre></details>'; endif;
//if(WP_DEBUG_DISPLAY === true): echo '<details><summary>Mastodon</summary><pre>'; var_dump($status); echo '</pre></details>'; endif;
$show_header = $atts['show_header'];
$account = $status[0]->account;
include(plugin_dir_path(__FILE__) . 'templates/mastodon.tpl.php' );
......
......@@ -2,7 +2,7 @@
>Display your Fediverse timeline in a widget
FediEmbedi will display your Mastodon, Pleroma, or Pixelfed timeline in a widget, with various display options.
FediEmbedi will display your Mastodon, Pleroma, Pixelfed, PeerTube timeline with various display options.
### How to use shortcodes
* `[mastodon exclude_reblogs="true"]`
......@@ -53,6 +53,9 @@ and redirected to your site with a secure token. Similar to how you would connec
## Changelog
### 0.10.2
* Security fix: statuses with visibility marked unlisted, private, and direct could be displayed publicly
### 0.10.0
* Service shortcodes
......
......@@ -15,7 +15,7 @@ Display your Fediverse timeline in a widget
> FediEmbedi is beta software.
FediEmbedi will display your Mastodon, Pleroma, or Pixelfed timeline in a widget or with a shortcode, with various display options.
FediEmbedi will display your Mastodon, Pleroma, Pixelfed, PeerTube timeline with various display options.
= How to use shortcodes =
* `[mastodon exclude_reblogs="true"]`
......@@ -64,6 +64,9 @@ and redirected to your site with a secure token. Similar to how you would connec
== Changelog ==
= 0.10.2 =
* Security fix: statuses with visibility marked unlisted, private, and direct could be displayed publicly
= 0.10.0 =
* Service shortcodes
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment