Changeset 2067766
- Timestamp:
- 04/12/2019 11:41:05 AM (7 years ago)
- Location:
- tweettee/trunk
- Files:
-
- 3 edited
-
index.php (modified) (1 diff)
-
readme.txt (modified) (5 diffs)
-
tweettee_bootstrap.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tweettee/trunk/index.php
r1152786 r2067766 2 2 3 3 /* 4 * To change this license header, choose License Headers in Project Properties. 5 * To change this template file, choose Tools | Templates 6 * and open the template in the editor. 4 * Tweettee begins here. 7 5 */ 8 6 -
tweettee/trunk/readme.txt
r1152786 r2067766 3 3 Donate link: 4 4 Tags: Twitter, Tweets, Timeline, Mentions 5 Requires at least: 3.5 6 Tested up to: 4.2 7 Stable tag: 1.0 5 Requires at least: 4.6 6 Tested up to: 5.1.1 7 Stable tag: trunk 8 Requires PHP: 5.4.0 8 9 License: GPLv2 or later 9 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 13 14 == Description == 14 15 15 Plugun show twitter user timeline, home timeline, mentions, home timeline another user, search result by post tags, category name and free word.16 Plugun show twitter user timeline, home timeline, mentions, home timeline another user, search result by post tags, category name and any words. 16 17 Tweets can be show in widget and also in home page between posts in main loop. 17 18 … … 26 27 = Where i can create new application = 27 28 28 https:// apps.twitter.com/29 https://developer.twitter.com/en/apps 29 30 30 31 … … 37 38 == Changelog == 38 39 40 = 1.1.0 = 41 Add caching 42 Add logging 43 Were rewritten some parts of plugin 44 39 45 = 1.0 = 40 46 * First version … … 42 48 == Upgrade Notice == 43 49 50 = 1.1.0 = 51 New caching system allows avoid making request in Twitter from every page loading in your website. 52 Now set of twitts received once will be stored in database for time_interval which you may specify 53 in cache settings. After that time, request will be accomplished again with new pack of twitts. 54 44 55 = 1.0 = 45 56 * First version -
tweettee/trunk/tweettee_bootstrap.php
r1152786 r2067766 5 5 * Plugin URI: 6 6 * Description: Plugin show user timeline, home timeline, mentions, home timeline another twitter users, search result by post tags, category name, free word. Tweets can be show in widget and also between posts in main loop on home page. 7 * Version: 1. 0.07 * Version: 1.1.0 8 8 * Author: Vladimir Petrov 9 9 * License: GPL-2.0+ 10 10 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 11 * Text Domain: plugin-name11 * Text Domain: tweettee 12 12 * Domain Path: /languages 13 13 */ 14 14 15 namespace Tweettee; 16 use Tweettee\Includes as Inc; 17 18 if (! defined('WPINC')){ 19 die; 15 if (!defined('WPINC')) { 16 die; 20 17 } 21 18 22 require_once ' autoload.php';19 require_once 'vendor/autoload.php'; 23 20 24 $activate_tweettee = function(){ 25 require_once plugin_dir_path(__FILE__) . 'includes/tweettee_activator.php'; 26 Inc\Tweettee_Activator::activate(); 27 }; 21 register_activation_hook(__FILE__, ['\Wladweb\Tweettee\Includes\TweetteeActivator', 'activate']); 22 register_deactivation_hook(__FILE__, ['\Wladweb\Tweettee\Includes\TweetteeDeactivator', 'deactivate']); 28 23 29 $deactivate_tweettee = function(){ 30 require_once plugin_dir_path(__FILE__) . 'includes/tweettee_deactivator.php'; 31 Inc\Tweettee_Deactivator::deactivate(); 32 }; 33 34 register_activation_hook(__FILE__, $activate_tweettee); 35 register_deactivation_hook(__FILE__, $deactivate_tweettee); 36 37 require_once plugin_dir_path(__FILE__) . 'includes/tweettee.php'; 38 39 $tweettee = new Inc\Tweettee; 40 $tweettee->plugin_start(); 24 $tweettee = new Wladweb\Tweettee\Includes\Core\TweetteeApp; 25 $tweettee->plugin_start();
Note: See TracChangeset
for help on using the changeset viewer.