Version Description
Download this release
Release Info
Developer | grimmdude |
Plugin | Recent Tweets Widget |
Version | 1.6.2 |
Comparing to | |
See all releases |
Code changes from version 1.6.1 to 1.6.2
- readme.txt +1 -1
- recent-tweets.php +7 -2
- settings.php +10 -2
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: noahkagan
|
|
3 |
Tags: recent tweets, twitter widget, twitter api v1.1, cache, twitter, tweets, social media
|
4 |
Requires at least: 3.4.1
|
5 |
Tested up to: 4.2.2
|
6 |
-
Stable tag: 1.6.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
3 |
Tags: recent tweets, twitter widget, twitter api v1.1, cache, twitter, tweets, social media
|
4 |
Requires at least: 3.4.1
|
5 |
Tested up to: 4.2.2
|
6 |
+
Stable tag: 1.6.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
recent-tweets.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
Plugin Name: Recent Tweets Widget
|
5 |
Plugin URI: http://wordpress.org/extend/plugins/recent-tweets-widget/
|
6 |
Description: Recent Tweets Widget plugin for Twitter API v1.1 with Cache. It uses the new Twitter API v1.1 and stores tweets in the cache. It means that it will read status messages from your database and it doesn't query Twitter.com for every page load so you won't be rate limited. You can set how often you want to update the cache.
|
7 |
-
Version: 1.6.
|
8 |
Author: Noah Kagan
|
9 |
Author URI: http://sumome.com
|
10 |
*/
|
@@ -60,6 +60,11 @@ add_action( 'admin_init', 'register_tp_twitter_setting' );
|
|
60 |
|
61 |
function tp_twitter_plugin_top_level_menu() {
|
62 |
add_menu_page( 'Recent Tweets', 'Recent Tweets', 'manage_options', 'recent-tweets', 'tp_twitter_plugin_settings_page', 'dashicons-twitter');
|
63 |
-
add_submenu_page( 'recent-tweets', 'Other Plugins', 'Other Plugins', 'manage_options', 'other-plugins',
|
64 |
}
|
|
|
|
|
|
|
|
|
|
|
65 |
add_action( 'admin_menu', 'tp_twitter_plugin_top_level_menu' );
|
4 |
Plugin Name: Recent Tweets Widget
|
5 |
Plugin URI: http://wordpress.org/extend/plugins/recent-tweets-widget/
|
6 |
Description: Recent Tweets Widget plugin for Twitter API v1.1 with Cache. It uses the new Twitter API v1.1 and stores tweets in the cache. It means that it will read status messages from your database and it doesn't query Twitter.com for every page load so you won't be rate limited. You can set how often you want to update the cache.
|
7 |
+
Version: 1.6.2
|
8 |
Author: Noah Kagan
|
9 |
Author URI: http://sumome.com
|
10 |
*/
|
60 |
|
61 |
function tp_twitter_plugin_top_level_menu() {
|
62 |
add_menu_page( 'Recent Tweets', 'Recent Tweets', 'manage_options', 'recent-tweets', 'tp_twitter_plugin_settings_page', 'dashicons-twitter');
|
63 |
+
add_submenu_page( 'recent-tweets', 'Other Plugins', 'Other Plugins', 'manage_options', 'other-plugins', 'tp_twitter_other_plugins_page');
|
64 |
}
|
65 |
+
|
66 |
+
function tp_twitter_other_plugins_page() {
|
67 |
+
include(plugin_dir_path( __FILE__ ).'/other_plugins.php');
|
68 |
+
}
|
69 |
+
|
70 |
add_action( 'admin_menu', 'tp_twitter_plugin_top_level_menu' );
|
settings.php
CHANGED
@@ -3,9 +3,16 @@ add_thickbox();
|
|
3 |
$tp_twitter_plugin_options = get_option('tp_twitter_plugin_options');
|
4 |
?>
|
5 |
<div class="wrap">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
<?php screen_icon(); ?>
|
7 |
<h2>Recent Tweets</h2>
|
8 |
-
<p><i>If you find this plugin useful please <a href="https://wordpress.org/support/view/plugin-reviews/recent-tweets-widget" target="_blank">leave us a review!</a></i></p>
|
9 |
<form method="post" action="options.php">
|
10 |
<?php settings_fields( 'tp_twitter_plugin_options' ); ?>
|
11 |
<table class="form-table">
|
@@ -29,5 +36,6 @@ $tp_twitter_plugin_options = get_option('tp_twitter_plugin_options');
|
|
29 |
<li>Fill all your widget settings.</li>
|
30 |
<li>Enjoy your new Twitter feed! :)</li>
|
31 |
</ol>
|
32 |
-
|
|
|
33 |
</div>
|
3 |
$tp_twitter_plugin_options = get_option('tp_twitter_plugin_options');
|
4 |
?>
|
5 |
<div class="wrap">
|
6 |
+
<?php settings_errors(); ?>
|
7 |
+
<?php /*
|
8 |
+
<div class="updated" style="border-color:#6c65c2;">
|
9 |
+
<p>
|
10 |
+
Looking for more sharing tools? <a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=sumome&TB_iframe=true&width=743&height=500'); ?>" class="thickbox button button-primary">Get SumoMe WordPress Plugin</a>
|
11 |
+
</p>
|
12 |
+
</div>
|
13 |
+
*/ ?>
|
14 |
<?php screen_icon(); ?>
|
15 |
<h2>Recent Tweets</h2>
|
|
|
16 |
<form method="post" action="options.php">
|
17 |
<?php settings_fields( 'tp_twitter_plugin_options' ); ?>
|
18 |
<table class="form-table">
|
36 |
<li>Fill all your widget settings.</li>
|
37 |
<li>Enjoy your new Twitter feed! :)</li>
|
38 |
</ol>
|
39 |
+
<!--<p style="border:1px solid #CCCCCC;background:#FFFFFF;padding:8px;">Check out more sharing tools with our <a href="<?php echo admin_url('plugin-install.php?tab=plugin-information&plugin=sumome&TB_iframe=true&width=743&height=500'); ?>" class="thickbox">SumoMe WordPress plugin</a></p>-->
|
40 |
+
<p><i>If you find this plugin useful please <a href="https://wordpress.org/support/view/plugin-reviews/recent-tweets-widget" target="_blank">leave us a review!</a></i></p>
|
41 |
</div>
|