web/wp-content/themes/thematic/library/legacy/deprecated.php
author ymh <ymh.work@gmail.com>
Mon, 22 Mar 2010 16:36:28 +0100
changeset 5 ac511f1ccc8e
parent 1 0d28b7c10758
permissions -rw-r--r--
add hgignore
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
0d28b7c10758 First commit
ymh
parents:
diff changeset
     1
<?php
0d28b7c10758 First commit
ymh
parents:
diff changeset
     2
0d28b7c10758 First commit
ymh
parents:
diff changeset
     3
/**
0d28b7c10758 First commit
ymh
parents:
diff changeset
     4
 * Function for handling the bloginfo / get_bloginfo data using our own 'cache'.
0d28b7c10758 First commit
ymh
parents:
diff changeset
     5
 * move the content div inside of template files By taking the content div out of 
0d28b7c10758 First commit
ymh
parents:
diff changeset
     6
 *
0d28b7c10758 First commit
ymh
parents:
diff changeset
     7
 * We removed the functionality because it will not run on all systems. The system used
0d28b7c10758 First commit
ymh
parents:
diff changeset
     8
 * a fallback, but we could not guarantee that the fallback would meet every possible
0d28b7c10758 First commit
ymh
parents:
diff changeset
     9
 * error condition.
0d28b7c10758 First commit
ymh
parents:
diff changeset
    10
 *
0d28b7c10758 First commit
ymh
parents:
diff changeset
    11
 * @since 0.9.6
0d28b7c10758 First commit
ymh
parents:
diff changeset
    12
 * @deprecated 0.6.1
0d28b7c10758 First commit
ymh
parents:
diff changeset
    13
 */
0d28b7c10758 First commit
ymh
parents:
diff changeset
    14
0d28b7c10758 First commit
ymh
parents:
diff changeset
    15
function thm_bloginfo($command = '', $echo = FALSE) {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    16
0d28b7c10758 First commit
ymh
parents:
diff changeset
    17
    if ($echo) {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    18
	   bloginfo($command);
0d28b7c10758 First commit
ymh
parents:
diff changeset
    19
    } else {
0d28b7c10758 First commit
ymh
parents:
diff changeset
    20
        return get_bloginfo($command);
0d28b7c10758 First commit
ymh
parents:
diff changeset
    21
    }
0d28b7c10758 First commit
ymh
parents:
diff changeset
    22
} 
0d28b7c10758 First commit
ymh
parents:
diff changeset
    23
0d28b7c10758 First commit
ymh
parents:
diff changeset
    24
?>