mirror of
https://git.feneas.org/mediaformat/fediembedi
synced 2024-12-23 01:48:44 +01:00
Merge tag 'v0.10.4' into develop
Bug fix: Shortcode embed was causing post save issues
This commit is contained in:
commit
aa239d24bc
@ -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.3
|
||||
* Version: 0.10.4
|
||||
* Author: mediaformat
|
||||
* Author URI: https://mediaformat.org
|
||||
* License: GPLv3
|
||||
@ -177,7 +177,9 @@ class FediConfig
|
||||
//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;
|
||||
ob_start();
|
||||
include(plugin_dir_path(__FILE__) . 'templates/mastodon.tpl.php' );
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
public function pixelfed_shortcode($atts){
|
||||
@ -204,7 +206,9 @@ class FediConfig
|
||||
//if(WP_DEBUG_DISPLAY === true): echo '<details><summary>Mastodon</summary><pre>'; var_dump($client->getStatus($atts)); echo '</pre></details>'; endif;
|
||||
$show_header = $atts['show_header'];
|
||||
$account = $status[0]->account;
|
||||
ob_start();
|
||||
include(plugin_dir_path(__FILE__) . 'templates/pixelfed.tpl.php' );
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
public function peertube_shortcode($atts){
|
||||
@ -229,8 +233,9 @@ class FediConfig
|
||||
|
||||
//if(WP_DEBUG_DISPLAY === true): echo '<details><summary>PeerTube</summary><pre>'; var_dump($status); echo '</pre></details>'; endif;
|
||||
$show_header = $atts['show_header'];
|
||||
ob_start();
|
||||
include(plugin_dir_path(__FILE__) . 'templates/peertube.tpl.php' );
|
||||
|
||||
return ob_get_clean();
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -53,6 +53,9 @@ and redirected to your site with a secure token. Similar to how you would connec
|
||||
|
||||
## Changelog
|
||||
|
||||
### 0.10.4
|
||||
* Bug fix: Embed included in post edit screen, causing post save issues.
|
||||
|
||||
### 0.10.3
|
||||
* Security fix: statuses with visibility marked unlisted, private, and direct could be displayed publicly
|
||||
|
||||
|
@ -64,6 +64,9 @@ and redirected to your site with a secure token. Similar to how you would connec
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 0.10.3 =
|
||||
* Bug fix: Embed included in post edit screen, causing post save issues
|
||||
|
||||
= 0.10.3 =
|
||||
* Security fix: statuses with visibility marked unlisted, private, and direct could be displayed publicly
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user