Commit 52671e6
Fix --only flag silently dropping custom post type IDs
When --only is used with explicit post IDs, the query still applied the
default post_type constraint (['post', 'page']), so any IDs belonging to
custom post types were dropped from the migration queue without warning.
Set post_type='any' inside the --only branch so all explicitly supplied
IDs are respected regardless of their post type.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent d4f23ad commit 52671e6
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| |||
0 commit comments