Plugin Directory

Changeset 349814


Ignore:
Timestamp:
02/23/2011 02:58:34 PM (15 years ago)
Author:
sproject
Message:

0.1-beta4

Location:
readability/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • readability/trunk/readability.php

    r344678 r349814  
    44Plugin URI: http://www.sproject.name/download/wp-readability/
    55Description: Plugin which lets you to show posts in stylish, legible pop-up window, like in Safari.
    6 Version: 0.1-beta3
     6Version: 0.1-beta4
    77Author: Piotr Sochalewski
    88Author URI: http://www.sproject.name/
     
    8181   
    8282    // Return only if word count isn't low.
    83     if(str_word_count($content) > 100)
     83    if(str_word_count($content) > 100) {
     84        // Space control
     85        // Prevent single character words from residing at the end of a line of text
     86        $content = str_ireplace(array('a ', 'i ', 'o ', 'u ', 'w ', 'z '), array('a ', 'i ', 'o ', 'u ', 'w ', 'z '), $content);
    8487
    8588        return <<<END
     
    8992
    9093END;
     94    }
    9195}
    9296
  • readability/trunk/readme.txt

    r344678 r349814  
    55Requires at least: 2.9
    66Tested up to: 3.1
    7 Stable tag: 0.1-beta3
     7Stable tag: 0.1-beta4
    88
    99== Description ==
     
    2424
    2525== Changelog ==
     26
     27= 0.1-beta4 =
     28* Added simple space control, which prevents single character words from residing at the end of a line.
    2629
    2730= 0.1-beta3 =
Note: See TracChangeset for help on using the changeset viewer.