Changeset 906
- Timestamp:
- 02/21/2004 10:59:40 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r905 r906 1061 1061 global $wpdb, $tablecomments, $tableposts, $tableusers; 1062 1062 global $querystring_start, $querystring_equal, $querystring_separator; 1063 global $blogfilename, $blogname, $siteurl ;1063 global $blogfilename, $blogname, $siteurl, $blog_charset; 1064 1064 1065 1065 $comment = $wpdb->get_row("SELECT * FROM $tablecomments WHERE comment_ID='$comment_id' LIMIT 1"); … … 1094 1094 } 1095 1095 1096 1097 // implementation of in_array that also should work on PHP31098 if (!function_exists('in_array')) {1099 1100 function in_array($needle, $haystack) {1101 $needle = strtolower($needle);1102 1103 for ($i = 0; $i < count($haystack); $i++) {1104 if (strtolower($haystack[$i]) == $needle) {1105 return true;1106 }1107 }1108 1109 return false;1110 }1111 }1112 1096 1113 1097 function start_wp() {
Note: See TracChangeset
for help on using the changeset viewer.