[wp-trac] [WordPress Trac] #27656: PHP Strict Standards: Only variables should be passed by reference in wp-includes/class-oembed.php on line 139

WordPress Trac noreply at wordpress.org
Thu Apr 3 14:47:56 UTC 2014


#27656: PHP Strict Standards: Only variables should be passed by reference in wp-
includes/class-oembed.php on line 139
--------------------------+-----------------
 Reporter:  markjaquith   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  low           |  Milestone:  3.9
Component:  Embeds        |    Version:
 Severity:  minor         |   Keywords:
  Focuses:                |
--------------------------+-----------------
 Can't do this all in one line:

 {{{
 if ( $html = wp_remote_retrieve_body( wp_safe_remote_get( $url ) ) ) {
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27656>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list