Commit bf0e8a1
committed
Translate: Explicitely exclude
It appears that the command does not fully respect the `exclude` parameter if it believes there are strings that should be included. By excluding a higher-level directory, it never see's the potential included `patterns` folder.
Ensures that strings from Twenty Twenty-Two are not included in POT files for wp-admin.
Previously: [11809].
See wp-cli/i18n-command#312 (review)
git-svn-id: https://meta.svn.wordpress.org/sites/trunk@11810 74240141-8908-4e6f-9713-ba540dce6ec7patterns from make-core-pot more firmly by ignoring the wp-content directory entirely for these admin contexts.1 parent 0532510 commit bf0e8a1
File tree
1 file changed
+3
-3
lines changed- wordpress.org/public_html/wp-content/plugins/wporg-gp-customizations/inc/cli
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
| |||
0 commit comments