Plugin Directory

Changeset 1584656


Ignore:
Timestamp:
01/29/2017 08:02:29 PM (9 years ago)
Author:
mraliende
Message:

1.9.1 reset cache posible

Location:
good-url-preview-box
Files:
2 added
11 edited
4 copied

Legend:

Unmodified
Added
Removed
  • good-url-preview-box/tags/1.9.1/gurlpb-config.php

    r1551542 r1584656  
    11<?php
    22class Gurlpb_config {
    3     public static $_VERSION = '1.9'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN!
     3    public static $_VERSION = '1.9.1'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN!
    44    public static $_DEBUG = false;
    55    public static $_LOCAL = false;
  • good-url-preview-box/tags/1.9.1/gurlpb-start.php

    r1551537 r1584656  
    359359    add_menu_page( 'Gurlpb', __('URL-Preview', 'gurlpb'), 'manage_options', 'gurlpb_adminmenu', 'gurlpb_settings',  GURLPBPLUGINURL . '/gurlpb_wordpress-plugin-left-icon.png');
    360360    add_submenu_page( 'gurlpb_adminmenu', __('Statistics', 'gurlpb'), __('Statistics', 'gurlpb'),  'manage_options', 'gurlpb_statistics', 'gurlpb_statistics' );
     361    add_submenu_page( 'gurlpb_adminmenu', 'Cache', 'Cache',  'manage_options', 'gurlpb_cache_settings', 'gurlpb_cache_settings' );
    361362
    362363}
     
    371372    include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-statistics.php' );
    372373    Gurlpb_statistics::page();
     374}
     375function gurlpb_cache_settings() {
     376    Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" );
     377    include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-cache-settings.php' );
     378    Gurlpb_cache_settings::page();
    373379}
    374380
  • good-url-preview-box/tags/1.9.1/gurlpb-statistics.php

    r1551539 r1584656  
    66    {
    77        Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] started" );
     8        if ( ! get_option( 'gurlpb-random' ) ) {
     9            $str = base_convert( rand( 0, 1000000 ), 10, 36 ) . base_convert( rand( 0, 1000000 ), 10, 36 );
     10            update_option( 'gurlpb-random', sanitize_text_field( substr( $str, -8 ) ) );
     11        }
    812        ?>
    913        <div class="wrap">
  • good-url-preview-box/tags/1.9.1/gute-url-preview-box.php

    r1551542 r1584656  
    66Author: Martin Schaedler
    77Author URI: https://hypnose54321.de/frankfurt/_contact.html
    8 Version: 1.9
     8Version: 1.9.1
    99Text Domain: gurlpb
    1010*/
  • good-url-preview-box/tags/1.9.1/languages/gurlpb-en.pot

    r1536878 r1584656  
    108108
    109109msgid "setting-manual-URL3"
    110 msgstr "Or in the text editor you click<br />on the button 'URL box'."
     110msgstr "Or in the visual editor click<br />on the button 'URL box'."
    111111
    112112msgid "Expert_settings"
  • good-url-preview-box/tags/1.9.1/readme.txt

    r1551907 r1584656  
    44Tags: link, links, URL, URLs, preview, preview image, guteurls, gute-urls, facebook, internet-link, post, posting, like Facebook, exacly like facebook, find url, find link, search link, search url, detect url, internet address
    55Requires at least: 3.0.1
    6 Tested up to: 4.7
     6Tested up to: 4.7.2
    77Stable tag: 4.6.1
    88License: GPLv2 or later
     
    118118== Upgrade Notice ==
    119119
     120= 1.9.1 =
     121Added: Reset data for one single preview box (force reload image and description).
     122I love to hear your suggestions, to make it even better.
     123
    120124= 1.9 =
    121125Statistics added. How many times are the preview boxed displayed. Many views in one user session is counted as one view.
    122 I love to hear your suggestions, to make it even better.
    123126
    124127= 1.7 =
     
    152155== Changelog ==
    153156
     157= 1.9.1 =
     158Added: Reset data for one single preview box (force reload image and description).
     159
    154160= 1.9 =
    155161* Statistics added. How many times are the preview boxed displayed. Many views in one user session is counted as one view.
  • good-url-preview-box/trunk/gurlpb-config.php

    r1551542 r1584656  
    11<?php
    22class Gurlpb_config {
    3     public static $_VERSION = '1.9'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN!
     3    public static $_VERSION = '1.9.1'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN!
    44    public static $_DEBUG = false;
    55    public static $_LOCAL = false;
  • good-url-preview-box/trunk/gurlpb-start.php

    r1551537 r1584656  
    359359    add_menu_page( 'Gurlpb', __('URL-Preview', 'gurlpb'), 'manage_options', 'gurlpb_adminmenu', 'gurlpb_settings',  GURLPBPLUGINURL . '/gurlpb_wordpress-plugin-left-icon.png');
    360360    add_submenu_page( 'gurlpb_adminmenu', __('Statistics', 'gurlpb'), __('Statistics', 'gurlpb'),  'manage_options', 'gurlpb_statistics', 'gurlpb_statistics' );
     361    add_submenu_page( 'gurlpb_adminmenu', 'Cache', 'Cache',  'manage_options', 'gurlpb_cache_settings', 'gurlpb_cache_settings' );
    361362
    362363}
     
    371372    include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-statistics.php' );
    372373    Gurlpb_statistics::page();
     374}
     375function gurlpb_cache_settings() {
     376    Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" );
     377    include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-cache-settings.php' );
     378    Gurlpb_cache_settings::page();
    373379}
    374380
  • good-url-preview-box/trunk/gurlpb-statistics.php

    r1551539 r1584656  
    66    {
    77        Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] started" );
     8        if ( ! get_option( 'gurlpb-random' ) ) {
     9            $str = base_convert( rand( 0, 1000000 ), 10, 36 ) . base_convert( rand( 0, 1000000 ), 10, 36 );
     10            update_option( 'gurlpb-random', sanitize_text_field( substr( $str, -8 ) ) );
     11        }
    812        ?>
    913        <div class="wrap">
  • good-url-preview-box/trunk/gute-url-preview-box.php

    r1551542 r1584656  
    66Author: Martin Schaedler
    77Author URI: https://hypnose54321.de/frankfurt/_contact.html
    8 Version: 1.9
     8Version: 1.9.1
    99Text Domain: gurlpb
    1010*/
  • good-url-preview-box/trunk/languages/gurlpb-en.pot

    r1536878 r1584656  
    108108
    109109msgid "setting-manual-URL3"
    110 msgstr "Or in the text editor you click<br />on the button 'URL box'."
     110msgstr "Or in the visual editor click<br />on the button 'URL box'."
    111111
    112112msgid "Expert_settings"
  • good-url-preview-box/trunk/readme.txt

    r1551907 r1584656  
    44Tags: link, links, URL, URLs, preview, preview image, guteurls, gute-urls, facebook, internet-link, post, posting, like Facebook, exacly like facebook, find url, find link, search link, search url, detect url, internet address
    55Requires at least: 3.0.1
    6 Tested up to: 4.7
     6Tested up to: 4.7.2
    77Stable tag: 4.6.1
    88License: GPLv2 or later
     
    118118== Upgrade Notice ==
    119119
     120= 1.9.1 =
     121Added: Reset data for one single preview box (force reload image and description).
     122I love to hear your suggestions, to make it even better.
     123
    120124= 1.9 =
    121125Statistics added. How many times are the preview boxed displayed. Many views in one user session is counted as one view.
    122 I love to hear your suggestions, to make it even better.
    123126
    124127= 1.7 =
     
    152155== Changelog ==
    153156
     157= 1.9.1 =
     158Added: Reset data for one single preview box (force reload image and description).
     159
    154160= 1.9 =
    155161* Statistics added. How many times are the preview boxed displayed. Many views in one user session is counted as one view.
Note: See TracChangeset for help on using the changeset viewer.