Plugin Directory

Changeset 2067766


Ignore:
Timestamp:
04/12/2019 11:41:05 AM (7 years ago)
Author:
wladweb
Message:

1.1.0

Location:
tweettee/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • tweettee/trunk/index.php

    r1152786 r2067766  
    22
    33/*
    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.
    75 */
    86
  • tweettee/trunk/readme.txt

    r1152786 r2067766  
    33Donate link:
    44Tags: Twitter, Tweets, Timeline, Mentions
    5 Requires at least: 3.5
    6 Tested up to: 4.2
    7 Stable tag: 1.0
     5Requires at least: 4.6
     6Tested up to: 5.1.1
     7Stable tag: trunk
     8Requires PHP: 5.4.0
    89License: GPLv2 or later
    910License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1314== Description ==
    1415
    15 Plugun show twitter user timeline, home timeline, mentions, home timeline another user, search result by post tags, category name and free word.
     16Plugun show twitter user timeline, home timeline, mentions, home timeline another user, search result by post tags, category name and any words.
    1617Tweets can be show in widget and also in home page between posts in main loop.
    1718
     
    2627= Where i can create new application =
    2728
    28 https://apps.twitter.com/
     29https://developer.twitter.com/en/apps
    2930
    3031
     
    3738== Changelog ==
    3839
     40= 1.1.0 =
     41Add caching
     42Add logging
     43Were rewritten some parts of plugin
     44
    3945= 1.0 =
    4046* First version
     
    4248== Upgrade Notice ==
    4349
     50= 1.1.0 =
     51New caching system allows avoid making request in Twitter from every page loading in your website.
     52Now set of twitts received once will be stored in database for time_interval which you may specify
     53in cache settings. After that time, request will be accomplished again with new pack of twitts.
     54
    4455= 1.0 =
    4556* First version
  • tweettee/trunk/tweettee_bootstrap.php

    r1152786 r2067766  
    55 * Plugin URI:       
    66 * 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.0
     7 * Version:           1.1.0
    88 * Author:            Vladimir Petrov
    99 * License:           GPL-2.0+
    1010 * License URI:       http://www.gnu.org/licenses/gpl-2.0.txt
    11  * Text Domain:       plugin-name
     11 * Text Domain:       tweettee
    1212 * Domain Path:       /languages
    1313 */
    1414
    15 namespace Tweettee;
    16 use Tweettee\Includes as Inc;
    17 
    18 if (! defined('WPINC')){
    19     die;
     15if (!defined('WPINC')) {
     16    die;
    2017}
    2118
    22 require_once 'autoload.php';
     19require_once 'vendor/autoload.php';
    2320
    24 $activate_tweettee = function(){
    25     require_once plugin_dir_path(__FILE__) . 'includes/tweettee_activator.php';
    26     Inc\Tweettee_Activator::activate();
    27 };
     21register_activation_hook(__FILE__, ['\Wladweb\Tweettee\Includes\TweetteeActivator', 'activate']);
     22register_deactivation_hook(__FILE__, ['\Wladweb\Tweettee\Includes\TweetteeDeactivator', 'deactivate']);
    2823
    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.