Changeset 55334
- Timestamp:
- 02/14/2023 03:44:41 PM (20 months ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/deprecated.php
r55308 r55334 1151 1151 * 1152 1152 * @param bool $display 1153 * @param int $cat_ ID1153 * @param int $cat_id 1154 1154 * @return string 1155 1155 */ 1156 function get_category_rss_link($display = false, $cat_ ID= 1) {1156 function get_category_rss_link($display = false, $cat_id = 1) { 1157 1157 _deprecated_function( __FUNCTION__, '2.5.0', 'get_category_feed_link()' ); 1158 1158 1159 $link = get_category_feed_link($cat_ ID, 'rss2');1159 $link = get_category_feed_link($cat_id, 'rss2'); 1160 1160 1161 1161 if ( $display ) … … 1249 1249 * @see get_cat_name() 1250 1250 * 1251 * @param int $cat_ IDCategory ID1251 * @param int $cat_id Category ID 1252 1252 * @return string category name 1253 1253 */ 1254 function get_catname( $cat_ ID) {1254 function get_catname( $cat_id ) { 1255 1255 _deprecated_function( __FUNCTION__, '2.8.0', 'get_cat_name()' ); 1256 return get_cat_name( $cat_ ID);1256 return get_cat_name( $cat_id ); 1257 1257 } 1258 1258 -
trunk/src/wp-includes/taxonomy.php
r55018 r55334 2155 2155 * @since 2.0.0 2156 2156 * 2157 * @param int $cat_ IDCategory term ID.2157 * @param int $cat_id Category term ID. 2158 2158 * @return bool|int|WP_Error Returns true if completes delete action; false if term doesn't exist; 2159 2159 * Zero on attempted deletion of default Category; WP_Error object is 2160 2160 * also a possibility. 2161 2161 */ 2162 function wp_delete_category( $cat_ ID) {2163 return wp_delete_term( $cat_ ID, 'category' );2162 function wp_delete_category( $cat_id ) { 2163 return wp_delete_term( $cat_id, 'category' ); 2164 2164 } 2165 2165
Note: See TracChangeset
for help on using the changeset viewer.