You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: wordpress-coding-standards/php.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -584,6 +584,6 @@ While this operator does exist in Core, it is often used lazily instead of doing
584
584
585
585
Per [#22400](https://core.trac.wordpress.org/ticket/22400"Remove all, or at least most, uses of extract() within WordPress"):
586
586
587
-
> `extract()` is a terrible function that makes code harder to debug and harder to understand. We should discourage its (sic) use and remove all of our uses of it.
587
+
> `extract()` is a terrible function that makes code harder to debug and harder to understand. We should discourage its [sic] use and remove all of our uses of it.
588
588
589
589
Joseph Scott has [a good write-up of why it's bad](https://blog.josephscott.org/2009/02/05/i-dont-like-phps-extract-function/).
0 commit comments