Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
F
FediEmbedi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MediaFormat
FediEmbedi
Commits
f5b41954
Commit
f5b41954
authored
Mar 11, 2020
by
MediaFormat
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'hotfix/v0.10.4'
parents
50fe87fb
a605a8cc
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
fediembedi.php
fediembedi.php
+7
-2
readme.md
readme.md
+3
-0
readme.txt
readme.txt
+3
-0
No files found.
fediembedi.php
View file @
f5b41954
...
...
@@ -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
();
}
/*
...
...
readme.md
View file @
f5b41954
...
...
@@ -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
...
...
readme.txt
View file @
f5b41954
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment