Changeset 29742 for trunk/src/wp-includes/class-oembed.php
- Timestamp:
- 09/12/2014 10:53:04 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-oembed.php
r29735 r29742 545 545 * Strip any new lines from the HTML. 546 546 * 547 * @access p rivate547 * @access public 548 548 * @param string $html Existing HTML. 549 549 * @param object $data Data object from WP_oEmbed::data2html() … … 551 551 * @return string Possibly modified $html 552 552 */ 553 p rivatefunction _strip_newlines( $html, $data, $url ) {553 public function _strip_newlines( $html, $data, $url ) { 554 554 if ( false !== strpos( $html, "\n" ) ) 555 555 $html = str_replace( array( "\r\n", "\n" ), '', $html );
Note: See TracChangeset
for help on using the changeset viewer.