Changeset 48104 for trunk/src/wp-includes/post.php
- Timestamp:
- 06/20/2020 12:00:07 PM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/post.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post.php
r48099 r48104 1367 1367 * comments count will show on the edit screen. A feature can also be 1368 1368 * specified as an array of arguments to provide additional information 1369 * about supporting that feature. Example: `array( 'my_feature', array(1370 * 'field' => 'value' ) )`. Default is an array containing 'title' and1371 * 'editor'.1369 * about supporting that feature. 1370 * Example: `array( 'my_feature', array( 'field' => 'value' ) )`. 1371 * Default is an array containing 'title' and 'editor'. 1372 1372 * @type callable $register_meta_box_cb Provide a callback function that sets up the meta boxes for the 1373 1373 * edit form. Do remove_meta_box() and add_meta_box() calls in the … … 3066 3066 */ 3067 3067 do_action( 'delete_post', $postid, $post ); 3068 3068 3069 $result = $wpdb->delete( $wpdb->posts, array( 'ID' => $postid ) ); 3069 3070 if ( ! $result ) { … … 3427 3428 * @return array|WP_Error List of categories. If the `$fields` argument passed via `$args` is 'all' or 3428 3429 * 'all_with_object_id', an array of WP_Term objects will be returned. If `$fields` 3429 * is 'ids', an array of category ids. If `$fields` is 'names', an array of category names.3430 * is 'ids', an array of category IDs. If `$fields` is 'names', an array of category names. 3430 3431 * WP_Error object if 'category' taxonomy doesn't exist. 3431 3432 */ … … 7183 7184 7184 7185 /** 7185 * Adds any posts from the given ids to the cache that do not already exist in cache7186 * Adds any posts from the given IDs to the cache that do not already exist in cache 7186 7187 * 7187 7188 * @since 3.4.0
Note: See TracChangeset
for help on using the changeset viewer.