-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.txt
159 lines (106 loc) · 4.4 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
=== Fediverse Embeds ===
Contributors: fourtonfish
Tags: fediverse, mastodon, post, toot, embed
Requires at least: 5.0
Tested up to: 6.6
Stable tag: trunk
Requires PHP: 7.4
License: MIT
License URI: https://opensource.org/licenses/MIT
Embed fediverse posts easily.
== Description ==
This plugin lets you optimize and customize embedded posts from fediverse platform that support this feature.
Please visit the GitHub repo for instructions on [how to embed posts](https://github.com/stefanbohacek/fediverse-embeds-wordpress-plugin#supported-platforms) and for [general FAQ and troubleshooting tips](https://github.com/stefanbohacek/fediverse-embeds-wordpress-plugin#faq).
[Learn more](https://stefanbohacek.com/project/wordpress-plugin-for-fediverse-embeds/) | [View source](https://github.com/stefanbohacek/fediverse-embeds-wordpress-plugin)
== Privacy notice ==
When embedding a post from a fediverse server, the content of the post needs to be fetched from that server, which is then stored in your site's database. Based on the way you configure the plugin, additional requests will be made periodically to refresh the cached data.
When making requests to a third party server in general, the server will receive and may record the IP address of the server hosting your website. Please consult the privacy details and terms of use of each server you are embedding content from. (Example for mastodon.social: [About Mastodon](https://mastodon.social/privacy-policy), [Privacy policy](https://mastodon.social/privacy-policy))
== Changelog ==
= 1.5.5 =
* Prevent listing files inside the media upload directory.
= 1.5.4 =
* Improved secure downloading of embedded media files.
= 1.5.3 =
* Check MIME type of proxied media files after saving to disk, delete if unsafe.
= 1.5.2 =
* Check MIME type of proxied media files before saving to disk.
= 1.5.1 =
* Removed extra plugin tag to comply with WordPress Plugin Directory's requirement of maximum 5 tags.
= 1.5.0 =
* Added an option to periodically refresh embedded posts.
= 1.4.7 =
* Added placeholder image for missing profile pictures.
= 1.4.6 =
* Added support for Mastodon 4.3 embed code, which uses blockquotes instead of iframes.
= 1.4.5 =
* Added a workaround Mastodon embed detection.
= 1.4.4 =
* Added internal environmental variable "FTF_FE_ALWAYS_ENQUEUE" for overriding the "should_embed_assets" function.
= 1.4.3 =
* Scaled down the "broken image" placeholder image.
= 1.4.2 =
* Fixed conflict with embedded WordPress posts.
= 1.4.1 =
* Added placeholder image for missing images in posts.
= 1.4.0 =
* Only load JS/CSS files when needed. Show a placeholder image when media attachments are not available.
= 1.3.1 =
* Fixed profile info section layout.
= 1.3.0 =
* Added an option to use an always-light or always-dark theme.
= 1.2.1 =
* Added missing PHP file.
= 1.2.0 =
* Added polyfills to support PHP 7.4+.
= 1.1.9 =
* Check if wp_remote_get returns a WP Error object.
= 1.1.8 =
* Moved the main script to the footer to resolve an issue with import maps with classic themes.
= 1.1.7 =
* Fixed image alt text with quotes not displaying in full.
= 1.1.6 =
* Removed debug statement intended for testing.
= 1.1.5 =
* Fixed blockquote formatting.
= 1.1.4 =
* Disabled development log.
= 1.1.3 =
* Add the "alt text" badge to videos.
= 1.1.2 =
* Hide the "alt text" badge from screen readers.
= 1.1.1 =
* Fixed code error preventing "alt text" badge from working.
= 1.1.0 =
* Added "alt text" badge to images.
= 1.0.15 =
* Fixed posts that contain only attachments and no content not rendering.
= 1.0.14 =
* Fixed blank display name preventing posts from rendering.
= 1.0.13 =
* Minor code cleanup.
= 1.0.12 =
* Added "defer" strategy to the main plugin JS file.
= 1.0.11 =
* Updated image alt text field.
= 1.0.10 =
* Minor code cleanup.
= 1.0.9 =
* Minor code cleanup.
= 1.0.8 =
* Minor code cleanup.
= 1.0.7 =
* Temporarily skip Pixelfed embeds.
= 1.0.6 =
* Display attached images in full height.
= 1.0.5 =
* Include the plugin version for easier debugging.
= 1.0.4 =
* Minor styling cleanup.
= 1.0.3 =
* Fixed fatal error when the simple_html_dom class already exists.
= 1.0.2 =
* Updated WordPress compatibility version.
= 1.0.1 =
* Keep the blockquote as parent element when rendering embedded post.
= 1.0 =
* Initial release.