Changeset 2873 for trunk/wp-includes/functions.php
- Timestamp:
- 09/14/2005 12:34:04 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r2872 r2873 1168 1168 } 1169 1169 1170 function clean_post_cache($id) { 1171 global $post_cache; 1172 1173 if ( isset( $post_cache[$id] ) ) 1174 unset( $post_cache[$id] ); 1175 } 1176 1170 1177 function update_page_cache(&$pages) { 1171 1178 global $page_cache; … … 1177 1184 $page_cache[$pages[$i]->ID] = &$pages[$i]; 1178 1185 } 1186 } 1187 1188 1189 function clean_page_cache($id) { 1190 global $page_cache; 1191 1192 if ( isset( $page_cache[$id] ) ) 1193 unset( $page_cache[$id] ); 1179 1194 } 1180 1195 … … 1265 1280 1266 1281 function clean_user_cache($id) { 1282 global $cache_userdata; 1283 1267 1284 if ( isset( $cache_userdata[$id] ) ) 1268 1285 unset( $cache_userdata[$id] );
Note: See TracChangeset
for help on using the changeset viewer.