[wp-trac] [WordPress Trac] #24433: Strict Standards Error with Video Post Format

WordPress Trac noreply at wordpress.org
Mon May 27 15:33:40 UTC 2013


#24433: Strict Standards Error with Video Post Format
--------------------------+-------------------------------------
 Reporter:  sunnyratilal  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Post Formats  |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch needs-testing
--------------------------+-------------------------------------
 When creating a new post with the video post format and outputting it
 using `the_post_format_video()`, above the video, I'm presented with the
 following error message: `Strict Standards: Only variables should be
 assigned by reference in /wp-includes/media.php on line 2057`

 The error is fixed by `get_post()` is not called by reference so it's just
 called by `get_post()` instead of `&get_post()`.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24433>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list