WordPress.org

Plugin Directory

Changeset 545694


Ignore:
Timestamp:
05/18/12 09:42:40 (2 years ago)
Author:
nbachiyski
Message:

We aren't using the top level state any more

The current state is now always on the top of the stack, we don't need
to keep it in a variable.

The top level is reached when the stack is empty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ice/trunk/class-ice-span-filter.php

    r545690 r545694  
    1212    const TOKEN_CLOSING = 'close'; 
    1313 
    14     const STATE_TOP_LEVEL = 'top'; 
    1514    const STATE_IN_SPAN = 'in-span'; 
    1615    const STATE_IN_INS = 'in-ins'; 
     
    3938     */ 
    4039    function filter() { 
    41         $state = self::STATE_TOP_LEVEL; 
    4240        $state_stack = array(); 
    4341        $result = ''; 
Note: See TracChangeset for help on using the changeset viewer.