Plugin Directory

Changeset 1220079


Ignore:
Timestamp:
08/13/2015 04:02:17 PM (11 years ago)
Author:
damlys
Message:

v1.1

Location:
easytree/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • easytree/trunk/easytree.php

    r1219476 r1220079  
    44 * Plugin URI: http://easytree.damlys.pl/
    55 * Description: Complete dropdown tree navigation that contain pages, categories with posts, tags, authors and own menu.
    6  * Version: 1.04
     6 * Version: 1.1
    77 * Author: Damian Lysiak
    88 * Author URI: http://damlys.pl/
  • easytree/trunk/functions/get_easytree_html.php

    r1219476 r1220079  
    22function get_easytree_html() {
    33
    4 // funkcja może zostać użyta tylko raz
    5 if($GLOBALS["get_easytree_html_only_once"]) return;
    6 $GLOBALS["get_easytree_html_only_once"] = true;
    7 // ---
     4    // funkcja może zostać użyta tylko raz
     5    if($GLOBALS["get_easytree_html_only_once"]) return;
     6    $GLOBALS["get_easytree_html_only_once"] = true;
     7    // ---
     8
     9    $result = wp_cache_get( 'easytree' );
     10    if($result === false) {
     11        $result = generate_easytree_html();
     12        wp_cache_set( 'easytree', $result );
     13    }
     14    return $result;
     15}
     16
     17function generate_easytree_html() {
    818
    919$option_exclude_from_pages = get_option('easytree_option_exclude_from_pages');
  • easytree/trunk/readme.txt

    r1219476 r1220079  
    5151== Changelog ==
    5252
     53= 1.1 =
     54* Support for cache
     55
    5356= 1.04 =
    5457* Better support for private posts and pages
     
    7275== Upgrade Notice ==
    7376
     77= 1.1 =
     78Support for cache
     79
    7480= 1.04 =
    7581Display categories for private posts and pages
Note: See TracChangeset for help on using the changeset viewer.