Description
Some strings cause simplexml_load_string() to produce warning messageWarning: simplexml_load_string(): Entity: line 2: parser error : Entity 'rarr' not defined e.g. The → from Human Made's wordpressbackup plugin
- [Description] => Simple automated backups of your WordPress powered website.
- Once activated you’ll find me under <strong>Tools → Backups</strong>.
- <cite>By <a href="http://hmn.md/" title="Visit author homepage">Human Made Limited</a>.</cite>
Usage
$string = _bw_tidy_response_xml( $response_xml );Parameters
- $response_xml
- ( string ) required – the raw XML which may contain HTML entities
Returns
string XML with HTML entities converted to numeric entitiesSource
File name: oik-bob-bing-wide/shortcodes/oik-plug.phpLines:
1 to 4 of 4
function _bw_tidy_response_xml( $response_xml ) { //$response_xml = ent2ncr( $response_xml ); return( $response_xml ); }View on GitHub
Invoked by
Calls
Call hooks
API Letters:
