Remove unnecessary return by reference
|Reported by:||scribu||Owned by:|
|Component:||General||Keywords:||php5 has-patch needs-testing|
There are several functions in WP that return an object by reference.
With PHP5, this is not necessary anymore.
Examples of such functions: get_post(), get_term().
Change History (10)
- Cc joachim.kudish@… added
- Keywords has-patch needs-testing added; needs-patch removed
- Milestone Awaiting Review deleted
- Resolution set to wontfix
- Status changed from new to closed
Note: See TracTickets for help on using tickets.