Version Description
Renamed plugin and changed media to comply with Facebook legal notice. Made admin warning dismissible.
Download this release
Release Info
Developer | mikeyott |
Plugin | Thumb Fixer for Facebook |
Version | 1.7.9 |
Comparing to | |
See all releases |
Code changes from version 1.7.8 to 1.7.9
- _facebook-thumb-fixer.php +18 -6
- images/facebook-admin.png +0 -0
- images/facebook.png +0 -0
- readme.txt +17 -9
_facebook-thumb-fixer.php
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
-
Plugin Name: Thumbnail Fixer for
|
4 |
Plugin URI: https://wordpress.org/support/plugin/facebook-thumb-fixer
|
5 |
-
Description: Control how your thumbnails are viewed when a post is shared on
|
6 |
Author: Michael Ott
|
7 |
-
Version: 1.7.
|
8 |
Author URI: https://rocketapps.com.au/
|
9 |
Text Domain: facebook-thumb-fixer
|
10 |
Domain Path: /languages/
|
@@ -60,10 +60,22 @@ function ftf_admin_notice(){
|
|
60 |
|
61 |
function deprecation_notice() {
|
62 |
?>
|
63 |
-
<div class="error notice-success">
|
64 |
<?php $open_graphite_url = 'https://wordpress.org/plugins/open-graphite/'; ?>
|
65 |
-
<p><?php printf( __('<strong>Important:</strong> The <strong>Thumb Fixer for
|
66 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
<?php
|
68 |
}
|
69 |
add_action( 'admin_notices', 'deprecation_notice' );
|
@@ -360,7 +372,7 @@ $ftf_otmeta = new ftf_otmeta;
|
|
360 |
add_action( 'admin_menu', 'ftfixer_menu' );
|
361 |
function ftfixer_menu() {
|
362 |
$icon_path = plugins_url('images/', __FILE__ ) . 'facebook-admin.png';
|
363 |
-
add_menu_page( __( '
|
364 |
}
|
365 |
function myfbft_plugin_options() {
|
366 |
if ( !current_user_can( 'read' ) ) { // This help page is accessible to anyone
|
1 |
<?php
|
2 |
/*
|
3 |
+
Plugin Name: Thumbnail Fixer for Social Media.
|
4 |
Plugin URI: https://wordpress.org/support/plugin/facebook-thumb-fixer
|
5 |
+
Description: Control how your thumbnails are viewed when a post is shared on social media.
|
6 |
Author: Michael Ott
|
7 |
+
Version: 1.7.9
|
8 |
Author URI: https://rocketapps.com.au/
|
9 |
Text Domain: facebook-thumb-fixer
|
10 |
Domain Path: /languages/
|
60 |
|
61 |
function deprecation_notice() {
|
62 |
?>
|
63 |
+
<div class="notice error ftf-notice notice-success is-dismissible">
|
64 |
<?php $open_graphite_url = 'https://wordpress.org/plugins/open-graphite/'; ?>
|
65 |
+
<p><?php printf( __('<strong>Important:</strong> The <strong>Thumb Fixer for Social Media</strong> plugin is no longer maintained. It is recommended you switch to the free (and better) <a href="%s">Open Graphite</a> plugin instead.', 'facebook-thumb-fixer' ), $open_graphite_url); ?></p>
|
66 |
</div>
|
67 |
+
<script>
|
68 |
+
$('.ftf-notice').click(function(){
|
69 |
+
document.cookie="ftfwarned=yes; expires=Wed, 1 Jan 2020 12:00:00 UTC; path=/";
|
70 |
+
var delay = 0;
|
71 |
+
});
|
72 |
+
<?php
|
73 |
+
$warned = $_COOKIE['ftfwarned'];
|
74 |
+
if($warned == 'yes' && is_user_logged_in()) { ?>
|
75 |
+
$('.ftf-notice').remove();
|
76 |
+
<?php }
|
77 |
+
?>
|
78 |
+
</script>
|
79 |
<?php
|
80 |
}
|
81 |
add_action( 'admin_notices', 'deprecation_notice' );
|
372 |
add_action( 'admin_menu', 'ftfixer_menu' );
|
373 |
function ftfixer_menu() {
|
374 |
$icon_path = plugins_url('images/', __FILE__ ) . 'facebook-admin.png';
|
375 |
+
add_menu_page( __( 'Thumb Fixer' ), __( 'Thumb Fixer' ), 'manage_options', 'facebook-thumb-fixer', 'myfbft_plugin_options' ,$icon_path);
|
376 |
}
|
377 |
function myfbft_plugin_options() {
|
378 |
if ( !current_user_can( 'read' ) ) { // This help page is accessible to anyone
|
images/facebook-admin.png
CHANGED
Binary file
|
images/facebook.png
CHANGED
Binary file
|
readme.txt
CHANGED
@@ -1,25 +1,28 @@
|
|
1 |
-
=== Thumb Fixer for
|
2 |
Contributors: mikeyott
|
3 |
Tags: facebook, thumb, fixer, default, thumbnail, thumbnails, thumbs, og:image, og:description, og:title, open, graph, open graph
|
4 |
Requires at least: 4.0
|
5 |
-
Tested up to: 5.2.
|
6 |
Stable tag: trunk
|
7 |
|
8 |
-
Control how your thumbnails are viewed when a post is shared on social media platfoms
|
9 |
-
|
10 |
-
== End Of Life Notice ==
|
11 |
-
|
12 |
-
Please be advised that this plugin will soon no longer be maintained. It is recommended you switch to the free (and better) <a href="https://wordpress.org/plugins/open-graphite/">Open Graphite</a> plugin instead. I've spent over 12 months building and testing Open Graphite, and I know you'll find it far more useful. If you prefer to try something else, no worries, and I sincerely thank you for using this plugin all the same.
|
13 |
-
If you have any questions about this, I'll personally respond to any messages sent <a href="https://rocketapps.com.au/contact/">here</a>. Have fun!
|
14 |
|
15 |
== Description ==
|
16 |
|
|
|
|
|
17 |
This plug-in is for those who have the problem where sharing a post on Facebook shows the wrong (or no) thumbnail image.
|
18 |
|
19 |
It works by making sure the thumbnail is derived from the featured image of your post. If your post doesn't have a featured image then it will use a fall-back image that you can specify.
|
20 |
|
21 |
The plug-in inserts the open graph meta properties which Facebook and other social services look for when someone shares your page. These properties contain information such as the title, description (content), and of course the image you specify.
|
22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
== Installation ==
|
24 |
|
25 |
Install, activate, done.
|
@@ -30,7 +33,7 @@ Deactivate the plugin, delete if desired.
|
|
30 |
|
31 |
== Official Web Site (and support) ==
|
32 |
|
33 |
-
<a href="https://wordpress.org/support/plugin/facebook-thumb-fixer">
|
34 |
|
35 |
== How to set a fall-back image ==
|
36 |
|
@@ -62,6 +65,11 @@ Divi theme is not houring the WordPress strip_shortcodes() function, and so if y
|
|
62 |
|
63 |
== Changelog ==
|
64 |
|
|
|
|
|
|
|
|
|
|
|
65 |
= 1.7.8 =
|
66 |
|
67 |
End of life notice.
|
1 |
+
=== Thumb Fixer for Social Media ===
|
2 |
Contributors: mikeyott
|
3 |
Tags: facebook, thumb, fixer, default, thumbnail, thumbnails, thumbs, og:image, og:description, og:title, open, graph, open graph
|
4 |
Requires at least: 4.0
|
5 |
+
Tested up to: 5.2.3
|
6 |
Stable tag: trunk
|
7 |
|
8 |
+
Control how your thumbnails are viewed when a post is shared on social media platfoms.
|
|
|
|
|
|
|
|
|
|
|
9 |
|
10 |
== Description ==
|
11 |
|
12 |
+
**IMPORTANT: This plugin is no longer being maintained.**
|
13 |
+
|
14 |
This plug-in is for those who have the problem where sharing a post on Facebook shows the wrong (or no) thumbnail image.
|
15 |
|
16 |
It works by making sure the thumbnail is derived from the featured image of your post. If your post doesn't have a featured image then it will use a fall-back image that you can specify.
|
17 |
|
18 |
The plug-in inserts the open graph meta properties which Facebook and other social services look for when someone shares your page. These properties contain information such as the title, description (content), and of course the image you specify.
|
19 |
|
20 |
+
== IMPORTANT: End Of Life Notice ==
|
21 |
+
|
22 |
+
Please be advised that this plugin is no longer being maintained. It is recommended you switch to the free (and better) <a href="https://wordpress.org/plugins/open-graphite/">Open Graphite</a> plugin instead, or the <a href="https://rocketapps.com.au/product/open-graphite-pro/">Pro version</a> for more options. If you prefer to try something else, no worries, and I sincerely thank you for using this plugin all the same.
|
23 |
+
|
24 |
+
If you have any questions about this, I'll personally respond to any messages sent <a href="https://rocketapps.com.au/contact/">here</a>. Have fun!
|
25 |
+
|
26 |
== Installation ==
|
27 |
|
28 |
Install, activate, done.
|
33 |
|
34 |
== Official Web Site (and support) ==
|
35 |
|
36 |
+
<a href="https://wordpress.org/support/plugin/facebook-thumb-fixer">Thumb Fixer for Social Media Support</a> at the official Wordpress repository.
|
37 |
|
38 |
== How to set a fall-back image ==
|
39 |
|
65 |
|
66 |
== Changelog ==
|
67 |
|
68 |
+
= 1.7.9 =
|
69 |
+
|
70 |
+
Renamed plugin and changed media to comply with Facebook legal notice.
|
71 |
+
Made admin warning dismissible.
|
72 |
+
|
73 |
= 1.7.8 =
|
74 |
|
75 |
End of life notice.
|