Commit 50ece6d
committed
I18N: Remove the "Error:" prefix from error messages.
For a number of years, most of the WordPress error messages have been prefixed with "Error:". However, these messages appear in a context where it's already clear an error occurred. Whether it's an error, a warning, or any other classification, that's not so relevant for users. The content of the message is the relevant part. The "Error:" prefix doesn't add great value while it does add unnecessary complexity for the message readability.
Also, revises some of these messages to improve clarity and removes HTML from translatable strings.
Props garrett-eclipse, ramiy, SergeyBiryukov, afercia, sabernhardt, quadthemes, audrasjb.
See #47003, #43037, #42945, #15887.
Fixes #47656.
git-svn-id: https://develop.svn.wordpress.org/trunk@48059 602fd350-edb4-49c9-b593-d223f7449a821 parent 6334056 commit 50ece6dCopy full SHA for 50ece6d
File tree
Expand file treeCollapse file tree
25 files changed
+78
-78
lines changedOpen diff view settings
Filter options
- src
- js/_enqueues/vendor/tinymce/langs
- wp-admin
- includes
- wp-includes
- tests/phpunit
- includes
- tests/ajax
Expand file treeCollapse file tree
25 files changed
+78
-78
lines changedOpen diff view settings
Collapse file
src/js/_enqueues/vendor/tinymce/langs/wp-langs-en.js
Copy file name to clipboardExpand all lines: src/js/_enqueues/vendor/tinymce/langs/wp-langs-en.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | | - |
| 27 | + |
28 | 28 | |
29 | 29 | |
30 | 30 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
61 | 61 | |
62 | 62 | |
63 | 63 | |
64 | | - |
| 64 | + |
65 | 65 | |
66 | 66 | |
67 | 67 | |
|
Collapse file
src/wp-admin/includes/ajax-actions.php
Copy file name to clipboardExpand all lines: src/wp-admin/includes/ajax-actions.php+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1272 | 1272 | |
1273 | 1273 | |
1274 | 1274 | |
1275 | | - |
| 1275 | + |
1276 | 1276 | |
1277 | 1277 | |
1278 | 1278 | |
| ||
1302 | 1302 | |
1303 | 1303 | |
1304 | 1304 | |
1305 | | - |
| 1305 | + |
1306 | 1306 | |
1307 | 1307 | |
1308 | 1308 | |
| ||
1404 | 1404 | |
1405 | 1405 | |
1406 | 1406 | |
1407 | | - |
| 1407 | + |
1408 | 1408 | |
1409 | 1409 | |
1410 | 1410 | |
|
Collapse file
src/wp-admin/includes/file.php
Copy file name to clipboardExpand all lines: src/wp-admin/includes/file.php+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2099 | 2099 | |
2100 | 2100 | |
2101 | 2101 | |
2102 | | - |
| 2102 | + |
2103 | 2103 | |
2104 | 2104 | |
2105 | 2105 | |
|
Collapse file
src/wp-admin/includes/network.php
Copy file name to clipboardExpand all lines: src/wp-admin/includes/network.php+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
110 | 110 | |
111 | 111 | |
112 | 112 | |
113 | | - |
| 113 | + |
114 | 114 | |
115 | 115 | |
116 | 116 | |
| ||
136 | 136 | |
137 | 137 | |
138 | 138 | |
139 | | - |
| 139 | + |
140 | 140 | |
141 | 141 | |
142 | 142 | |
| ||
154 | 154 | |
155 | 155 | |
156 | 156 | |
157 | | - |
| 157 | + |
158 | 158 | |
159 | 159 | |
160 | 160 | |
|
Collapse file
src/wp-admin/includes/plugin-install.php
Copy file name to clipboardExpand all lines: src/wp-admin/includes/plugin-install.php+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
801 | 801 | |
802 | 802 | |
803 | 803 | |
804 | | - |
| 804 | + |
805 | 805 | |
806 | 806 | |
807 | 807 | |
| ||
822 | 822 | |
823 | 823 | |
824 | 824 | |
825 | | - |
| 825 | + |
826 | 826 | |
827 | 827 | |
828 | 828 | |
|
Collapse file
src/wp-admin/includes/plugin.php
Copy file name to clipboardExpand all lines: src/wp-admin/includes/plugin.php+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1152 | 1152 | |
1153 | 1153 | |
1154 | 1154 | |
1155 | | - |
| 1155 | + |
1156 | 1156 | |
1157 | 1157 | |
1158 | 1158 | |
| ||
1161 | 1161 | |
1162 | 1162 | |
1163 | 1163 | |
1164 | | - |
| 1164 | + |
1165 | 1165 | |
1166 | 1166 | |
1167 | 1167 | |
| ||
1170 | 1170 | |
1171 | 1171 | |
1172 | 1172 | |
1173 | | - |
| 1173 | + |
1174 | 1174 | |
1175 | 1175 | |
1176 | 1176 | |
|
Collapse file
src/wp-admin/includes/user.php
Copy file name to clipboardExpand all lines: src/wp-admin/includes/user.php+11-11Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
143 | 143 | |
144 | 144 | |
145 | 145 | |
146 | | - |
| 146 | + |
147 | 147 | |
148 | 148 | |
149 | 149 | |
150 | 150 | |
151 | | - |
| 151 | + |
152 | 152 | |
153 | 153 | |
154 | 154 | |
| ||
164 | 164 | |
165 | 165 | |
166 | 166 | |
167 | | - |
| 167 | + |
168 | 168 | |
169 | 169 | |
170 | 170 | |
171 | 171 | |
172 | | - |
| 172 | + |
173 | 173 | |
174 | 174 | |
175 | 175 | |
176 | 176 | |
177 | | - |
| 177 | + |
178 | 178 | |
179 | 179 | |
180 | 180 | |
181 | 181 | |
182 | 182 | |
183 | 183 | |
184 | 184 | |
185 | | - |
| 185 | + |
186 | 186 | |
187 | 187 | |
188 | 188 | |
189 | | - |
| 189 | + |
190 | 190 | |
191 | 191 | |
192 | 192 | |
193 | 193 | |
194 | 194 | |
195 | 195 | |
196 | | - |
| 196 | + |
197 | 197 | |
198 | 198 | |
199 | 199 | |
200 | 200 | |
201 | | - |
| 201 | + |
202 | 202 | |
203 | | - |
| 203 | + |
204 | 204 | |
205 | 205 | |
206 | 206 | |
207 | | - |
| 207 | + |
208 | 208 | |
209 | 209 | |
210 | 210 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
221 | 221 | |
222 | 222 | |
223 | 223 | |
224 | | - |
| 224 | + |
225 | 225 | |
226 | 226 | |
227 | 227 | |
|
Collapse file
src/wp-admin/setup-config.php
Copy file name to clipboardExpand all lines: src/wp-admin/setup-config.php+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
280 | 280 | |
281 | 281 | |
282 | 282 | |
283 | | - |
| 283 | + |
284 | 284 | |
285 | 285 | |
286 | 286 | |
287 | 287 | |
288 | | - |
| 288 | + |
289 | 289 | |
290 | 290 | |
291 | 291 | |
| ||
318 | 318 | |
319 | 319 | |
320 | 320 | |
321 | | - |
| 321 | + |
322 | 322 | |
323 | 323 | |
324 | 324 | |
|
0 commit comments