justintadlock / custom-content-portfolio

A portfolio plugin.
GNU General Public License v2.0
99 stars 23 forks source link

warning... Only variables should be assigned by reference #8

Closed saas786 closed 9 years ago

saas786 commented 9 years ago

Hi Justin,

I am receiving this warning on line https://github.com/justintadlock/custom-content-portfolio/blob/master/portfolio.php#L133

is passing by reference really necessary here?

or we can remove & safely?

justintadlock commented 9 years ago

Check latest code: https://github.com/justintadlock/custom-content-portfolio/blob/1.0/portfolio.php#L140

saas786 commented 9 years ago

cool, thanks.