Use the "@" modifier sparingly (or not at all).
|Reported by:||orlandu63||Owned by:||jacobsantos|
The "@" error-control operator should be avoided. It is slow.
In /wp-includes/script-loader.php you can use array_pad(func_get_args(), 4, null) to achieve the same effect (and save a few CPU cycles). I just noticed this while browsing recent changesets, so I'm sure there are more potential @-replacements out there.
Change History (5)
comment:4 jacobsantos — 5 years ago
- Milestone 2.9 deleted
- Resolution set to invalid
- Status changed from new to closed