Ticket #28146: 28146.2.diff
File 28146.2.diff, 791 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/includes/export.php
86 86 // Grab a snapshot of post IDs, just in case it changes during the export. 87 87 $post_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} $join WHERE $where" ); 88 88 89 /** 90 * Filter exported post IDs. 91 * 92 * @since x.x.x 93 * 94 * @param array $post_ids Array of post IDs included in the export. 95 * @param array $args Array of arguments to determine what posts to export. 96 */ 97 $post_ids = apply_filters( 'export_post_ids', $post_ids, $args ); 98 89 99 /* 90 100 * Get the requested terms ready, empty unless posts filtered by category 91 101 * or all content.