wp-cli / export-command

Exports WordPress content to a WXR file.
MIT License
12 stars 27 forks source link

Improve type handling and remove unused variables #84

Closed schlessera closed 3 years ago

schlessera commented 3 years ago

This PR adds a few minor tweaks in terms of code correctness.

Most importantly, it fixes an issue that might lead to the following notice:

PHP Warning:  Trying to access array offset on value of type int in /wp-includes/formatting.php on line 884

Related https://github.com/wp-cli/wp-cli/issues/5479