Changeset 20423 for trunk/wp-includes/deprecated.php
- Timestamp:
- 04/10/2012 04:09:44 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/deprecated.php
r20409 r20423 3118 3118 return $theme_data; 3119 3119 } 3120 3121 /** 3122 * Alias of update_post_cache(). 3123 * 3124 * @see update_post_cache() Posts and pages are the same, alias is intentional 3125 * 3126 * @since 1.5.1 3127 * @deprecated 3.4.0 3128 * 3129 * @param array $pages list of page objects 3130 */ 3131 function update_page_cache( &$pages ) { 3132 _deprecated_function( __FUNCTION__, 3.4, 'update_post_cache()' ); 3133 3134 update_post_cache( $pages ); 3135 } 3136 3137 /** 3138 * Will clean the page in the cache. 3139 * 3140 * Clean (read: delete) page from cache that matches $id. Will also clean cache 3141 * associated with 'all_page_ids' and 'get_pages'. 3142 * 3143 * @since 2.0.0 3144 * @deprecated 3.4.0 3145 * 3146 * @uses do_action() Will call the 'clean_page_cache' hook action. 3147 * 3148 * @param int $id Page ID to clean 3149 */ 3150 function clean_page_cache( $id ) { 3151 _deprecated_function( __FUNCTION__, 3.4, 'clean_post_cache()' ); 3152 3153 clean_post_cache( $id, 'page' ); 3154 }
Note: See TracChangeset
for help on using the changeset viewer.