Skip to content

Commit 36243c8

Browse files
dingo-djrfnl
andauthored
Update wordpress-coding-standards/php.md
Co-authored-by: Juliette <663378+jrfnl@users.noreply.github.com>
1 parent f56e4e6 commit 36243c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • wordpress-coding-standards

wordpress-coding-standards/php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,6 @@ While this operator does exist in Core, it is often used lazily instead of doing
585585

586586
Per [#22400](https://core.trac.wordpress.org/ticket/22400 "Remove all, or at least most, uses of extract() within WordPress"):
587587

588-
> `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+
> `extract()` is a terrible function that makes code harder to debug and harder to understand. We should discourage it's [sic] use and remove all of our uses of it.
589589
590590
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

Comments
 (0)