Changeset 55365 for trunk/src/wp-includes/deprecated.php
- Timestamp:
- 02/19/2023 03:03:50 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r55334 r55365 742 742 * 743 743 * @param int $blogid Not Used 744 * @param int $post_ ID744 * @param int $post_id 745 745 * @return array 746 746 */ 747 function wp_get_post_cats($blogid = '1', $post_ ID= 0) {747 function wp_get_post_cats($blogid = '1', $post_id = 0) { 748 748 _deprecated_function( __FUNCTION__, '2.1.0', 'wp_get_post_categories()' ); 749 return wp_get_post_categories($post_ ID);749 return wp_get_post_categories($post_id); 750 750 } 751 751 … … 759 759 * 760 760 * @param int $blogid Not used 761 * @param int $post_ ID761 * @param int $post_id 762 762 * @param array $post_categories 763 763 * @return bool|mixed 764 764 */ 765 function wp_set_post_cats($blogid = '1', $post_ ID= 0, $post_categories = array()) {765 function wp_set_post_cats($blogid = '1', $post_id = 0, $post_categories = array()) { 766 766 _deprecated_function( __FUNCTION__, '2.1.0', 'wp_set_post_categories()' ); 767 return wp_set_post_categories($post_ ID, $post_categories);767 return wp_set_post_categories($post_id, $post_categories); 768 768 } 769 769
Note: See TracChangeset
for help on using the changeset viewer.