Changeset 22152 for trunk/wp-includes/class-wp-xmlrpc-server.php
- Timestamp:
- 10/09/2012 11:56:32 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r22134 r22152 5444 5444 $linea = str_replace('<!DOC', '<DOC', $linea); 5445 5445 $linea = preg_replace( '/[\s\r\n\t]+/', ' ', $linea ); // normalize spaces 5446 $linea = preg_replace( "/ <(h1|h2|h3|h4|h5|h6|p|th|td|li|dt|dd|pre|caption|input|textarea|button|body)[^>]*>/", "\n\n", $linea );5446 $linea = preg_replace( "/<\/*(h1|h2|h3|h4|h5|h6|p|th|td|li|dt|dd|pre|caption|input|textarea|button|body)[^>]*>/", "\n\n", $linea ); 5447 5447 5448 5448 preg_match('|<title>([^<]*?)</title>|is', $linea, $matchtitle);
Note: See TracChangeset
for help on using the changeset viewer.