Merge branch 'hotfix/v0.10.2'
This commit is contained in:
commit
9a770d36b1
|
@ -173,7 +173,7 @@ class FediClient
|
||||||
|
|
||||||
$account_id = self::$acct_id;
|
$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;
|
return $response;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Plugin Name: FediEmbedi
|
* Plugin Name: FediEmbedi
|
||||||
* Plugin URI: https://git.feneas.org/mediaformat/fediembedi
|
* Plugin URI: https://git.feneas.org/mediaformat/fediembedi
|
||||||
* Description: Widgets and shortcodes to show your Fediverse profile timeline
|
* Description: Widgets and shortcodes to show your Fediverse profile timeline
|
||||||
* Version: 0.10.1
|
* Version: 0.10.2
|
||||||
* Author: mediaformat
|
* Author: mediaformat
|
||||||
* Author URI: https://mediaformat.org
|
* Author URI: https://mediaformat.org
|
||||||
* License: GPLv3
|
* License: GPLv3
|
||||||
|
@ -174,7 +174,7 @@ class FediConfig
|
||||||
|
|
||||||
//getStatus from remote instance
|
//getStatus from remote instance
|
||||||
$status = $client->getStatus($atts['only_media'], $atts['pinned'], $atts['exclude_replies'], null, null, null, $atts['limit'], $atts['exclude_reblogs']);
|
$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'];
|
$show_header = $atts['show_header'];
|
||||||
$account = $status[0]->account;
|
$account = $status[0]->account;
|
||||||
include(plugin_dir_path(__FILE__) . 'templates/mastodon.tpl.php' );
|
include(plugin_dir_path(__FILE__) . 'templates/mastodon.tpl.php' );
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
>Display your Fediverse timeline in a widget
|
>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
|
### How to use shortcodes
|
||||||
* `[mastodon exclude_reblogs="true"]`
|
* `[mastodon exclude_reblogs="true"]`
|
||||||
|
@ -53,6 +53,9 @@ and redirected to your site with a secure token. Similar to how you would connec
|
||||||
|
|
||||||
## Changelog
|
## Changelog
|
||||||
|
|
||||||
|
### 0.10.2
|
||||||
|
* Security fix: statuses with visibility marked unlisted, private, and direct could be displayed publicly
|
||||||
|
|
||||||
### 0.10.0
|
### 0.10.0
|
||||||
* Service shortcodes
|
* Service shortcodes
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ Display your Fediverse timeline in a widget
|
||||||
|
|
||||||
> FediEmbedi is beta software.
|
> 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 =
|
= How to use shortcodes =
|
||||||
* `[mastodon exclude_reblogs="true"]`
|
* `[mastodon exclude_reblogs="true"]`
|
||||||
|
@ -64,6 +64,9 @@ and redirected to your site with a secure token. Similar to how you would connec
|
||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 0.10.2 =
|
||||||
|
* Security fix: statuses with visibility marked unlisted, private, and direct could be displayed publicly
|
||||||
|
|
||||||
= 0.10.0 =
|
= 0.10.0 =
|
||||||
* Service shortcodes
|
* Service shortcodes
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue