Plugin Directory

Changeset 620025


Ignore:
Timestamp:
11/01/2012 09:50:56 PM (13 years ago)
Author:
bobbravo2
Message:

version bump and better docs

Location:
wp-fontsize/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-fontsize/trunk/readme.txt

    r592080 r620025  
    33Tags: font size, ajax, frontend, font size adjust, fontsize
    44Requires at least: 3.0.0
    5 Tested up to: 3.4.1
     5Tested up to: 3.4.2
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1616and font size changes your heart desires! 
    1717
    18 ** How it works **
    19 1.  Click on the fontsize buttons
    20 1.  AJAX Request to validate & save the new size
    21 1.  jQuery Changes the body class for instant results
    22 1.  Subsequent page navigation maintains the size without any Flash of Wrong Sized Text (FOWST)
     18**How it works**
     191.Click on the fontsize buttons
     201.AJAX Request to validate & save the new size
     211.jQuery Changes the body class for instant results
     221.Subsequent page navigation maintains the size without any Flash of Wrong Sized Text (FOWST)
    2323
    2424== Installation ==
  • wp-fontsize/trunk/wp_fontsize.php

    r620016 r620025  
    55Description: Adds Stateful Fontsize Adjustment Classes to the body of the Website
    66Author: Circle Tree, LLC
    7 Version: 0.6.1
     7Version: 0.6.2
    88Author URI: http://mycircletree.com/
    99*/
    10 /**
    11  * maximum font size step number
    12  */
    13 defined('WP_FONTSIZE_MAX') or define('WP_FONTSIZE_MAX', 7);
    14 /**
    15  * minimum step number
    16  */
    17 defined('WP_FONTSIZE_MIN') or define('WP_FONTSIZE_MIN', 1);
    18 /**
    19  * Default font size step number
    20  */
    21 defined('WP_FONTSIZE_DEFAULT') or define('WP_FONTSIZE_DEFAULT', 3);
     10
    2211class wp_fontsize {
    2312    const SESSION_KEY = 'wp_fontsize';
    24     const MAX_SIZE = WP_FONTSIZE_MAX;
    25     const DEFAULT_SIZE  = WP_FONTSIZE_DEFAULT;
    26     const MIN_SIZE = WP_FONTSIZE_MIN;
     13    const MAX_SIZE = 7;
     14    const DEFAULT_SIZE  = 3;
     15    const MIN_SIZE = 1;
    2716    private $font_size;
    2817    function  __construct () {
Note: See TracChangeset for help on using the changeset viewer.