Modifying the XML data file directly will cause issues in pull requests because it will most likely cause line ending issues.
This is not your fault nor the fault of the project.
This is because the WordPress export produces a pretty messed up export file when it comes to line endings.
That's why the best way to contribute to WP Test, in it's current form, is to use the WordPress Admin.
While not ideal, it does provide the most consistent way to recreate the test data, for now.
In the future, when WP Test hopefully becomes a plugin, it will be much easier to add / edit data.
Use the steps outlined below to contribute to the WP Test project.
Tools > Export
in the WordPress admin.All content
radio button is selected and press Download Export File
.wptest.xml
.wptest.xml
file in your fork.此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。