Skip to content

Commit e0a0b7f

Browse files
MarkBerubeCopilot
andauthored
Update src/WP_CLI/SearchReplace/Non_URL_Columns.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 1d96b47 commit e0a0b7f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/WP_CLI/SearchReplace/Non_URL_Columns.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,9 @@ public static function get_core_columns() {
100100
'comment_status',
101101
'ping_status',
102102
'post_password',
103+
// Note: post_name is a slug (not a full URL) in normal WordPress usage.
104+
// In rare edge cases (e.g. imports) it may contain URL-like strings, but we
105+
// still treat it as non-URL for search/replace to keep this optimization simple.
103106
'post_name',
104107
'to_ping',
105108
'pinged',

0 commit comments

Comments
 (0)