Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: The Fedora Wordpress RPM appears to have a bunch of missing and modified files when compared to the Wordpress download direct from Wordpress. Version-Release number of selected component (if applicable): Fedora 29 and Wordpress 5.1-1 How reproducible: At will Steps to Reproduce: 1. Go to http://mysite.example.com/wp-admin 2. In the dashboard, go to dashboard...health check. 3. Select the Tools tab and run a file integrity test (I'll be happy to demo this on my own websites.) Actual results: I have two Wordpress 5.1-1 websites; The problem website uses the Fedora Wordpress RPM. The good website downloads Wordpress updates directly from Wordpress. On my good website, the file integrity test runs without error. But on my problem website, the file integrity test shows these missing or changed files: /usr/share/wordpress/readme.html File not found /usr/share/wordpress/license.txt File not found /usr/share/wordpress/wp-includes/SimplePie/Parser.php File not found /usr/share/wordpress/wp-includes/SimplePie/Sanitize.php File not found /usr/share/wordpress/wp-includes/SimplePie/Core.php File not found /usr/share/wordpress/wp-includes/SimplePie/Decode/HTML/Entities.php File not found /usr/share/wordpress/wp-includes/SimplePie/Category.php File not found /usr/share/wordpress/wp-includes/SimplePie/gzdecode.php File not found /usr/share/wordpress/wp-includes/SimplePie/Locator.php File not found /usr/share/wordpress/wp-includes/SimplePie/Parse/Date.php File not found /usr/share/wordpress/wp-includes/SimplePie/Author.php File not found /usr/share/wordpress/wp-includes/SimplePie/Cache.php File not found /usr/share/wordpress/wp-includes/SimplePie/IRI.php File not found /usr/share/wordpress/wp-includes/SimplePie/Credit.php File not found /usr/share/wordpress/wp-includes/SimplePie/Content/Type/Sniffer.php File not found /usr/share/wordpress/wp-includes/SimplePie/Restriction.php File not found /usr/share/wordpress/wp-includes/SimplePie/Item.php File not found /usr/share/wordpress/wp-includes/SimplePie/XML/Declaration/Parser.php File not found /usr/share/wordpress/wp-includes/SimplePie/Cache/Base.php File not found /usr/share/wordpress/wp-includes/SimplePie/Cache/MySQL.php File not found /usr/share/wordpress/wp-includes/SimplePie/Cache/Memcache.php File not found /usr/share/wordpress/wp-includes/SimplePie/Cache/DB.php File not found /usr/share/wordpress/wp-includes/SimplePie/Cache/File.php File not found /usr/share/wordpress/wp-includes/SimplePie/Source.php File not found /usr/share/wordpress/wp-includes/SimplePie/Registry.php File not found /usr/share/wordpress/wp-includes/SimplePie/Rating.php File not found /usr/share/wordpress/wp-includes/SimplePie/Copyright.php File not found /usr/share/wordpress/wp-includes/SimplePie/Exception.php File not found /usr/share/wordpress/wp-includes/SimplePie/Misc.php File not found /usr/share/wordpress/wp-includes/SimplePie/Caption.php File not found /usr/share/wordpress/wp-includes/SimplePie/Net/IPv6.php File not found /usr/share/wordpress/wp-includes/SimplePie/File.php File not found /usr/share/wordpress/wp-includes/SimplePie/HTTP/Parser.php File not found /usr/share/wordpress/wp-includes/SimplePie/Enclosure.php File not found /usr/share/wordpress/wp-includes/class-smtp.php Content changed (View Diff) /usr/share/wordpress/wp-includes/class-simplepie.php Content changed (View Diff) /usr/share/wordpress/wp-includes/script-loader.php Content changed (View Diff) /usr/share/wordpress/wp-includes/certificates/ca-bundle.crt Content changed (View Diff) /usr/share/wordpress/wp-includes/ID3/module.tag.lyrics3.php File not found /usr/share/wordpress/wp-includes/ID3/module.audio.dts.php File not found /usr/share/wordpress/wp-includes/ID3/module.tag.id3v1.php File not found /usr/share/wordpress/wp-includes/ID3/module.audio.flac.php File not found /usr/share/wordpress/wp-includes/ID3/module.audio.mp3.php File not found /usr/share/wordpress/wp-includes/ID3/module.audio-video.matroska.php File not found /usr/share/wordpress/wp-includes/ID3/module.audio-video.quicktime.php File not found /usr/share/wordpress/wp-includes/ID3/module.tag.apetag.php File not found /usr/share/wordpress/wp-includes/ID3/getid3.lib.php File not found /usr/share/wordpress/wp-includes/ID3/license.commercial.txt File not found /usr/share/wordpress/wp-includes/ID3/module.audio.ac3.php File not found /usr/share/wordpress/wp-includes/ID3/getid3.php File not found /usr/share/wordpress/wp-includes/ID3/license.txt File not found /usr/share/wordpress/wp-includes/ID3/module.audio-video.flv.php File not found /usr/share/wordpress/wp-includes/ID3/readme.txt File not found /usr/share/wordpress/wp-includes/ID3/module.tag.id3v2.php File not found /usr/share/wordpress/wp-includes/ID3/module.audio.ogg.php File not found /usr/share/wordpress/wp-includes/ID3/module.audio-video.riff.php File not found /usr/share/wordpress/wp-includes/ID3/module.audio-video.asf.php File not found /usr/share/wordpress/wp-includes/update.php Content changed (View Diff) /usr/share/wordpress/wp-includes/load.php Content changed (View Diff) /usr/share/wordpress/wp-includes/js/tinymce/wp-tinymce.js File not found /usr/share/wordpress/wp-includes/js/tinymce/plugins/media/plugin.min.js Content changed (View Diff) /usr/share/wordpress/wp-includes/js/tinymce/plugins/media/plugin.js Content changed (View Diff) /usr/share/wordpress/wp-includes/js/mediaelement/mediaelement-and-player.js Content changed (View Diff) /usr/share/wordpress/wp-includes/js/mediaelement/mediaelement.min.js Content changed (View Diff) /usr/share/wordpress/wp-includes/js/mediaelement/mediaelement.js Content changed (View Diff) /usr/share/wordpress/wp-includes/js/mediaelement/mediaelement-and-player.min.js Content changed (View Diff) /usr/share/wordpress/wp-includes/js/swfupload/handlers.js File not found /usr/share/wordpress/wp-includes/js/swfupload/handlers.min.js File not found /usr/share/wordpress/wp-includes/js/swfupload/license.txt File not found /usr/share/wordpress/wp-includes/js/swfupload/swfupload.js File not found /usr/share/wordpress/wp-includes/class-phpmailer.php Content changed (View Diff) /usr/share/wordpress/wp-admin/includes/admin-filters.php Content changed (View Diff) /usr/share/wordpress/wp-admin/includes/media.php Content changed (View Diff) /usr/share/wordpress/wp-admin/includes/update.php Content changed (View Diff) /usr/share/wordpress/wp-admin/includes/class-core-upgrader.php Content changed (View Diff) /usr/share/wordpress/wp-admin/includes/class-wp-automatic-updater.php Content changed (View Diff) Expected results: The file integrity report should run cleanly. Additional info: Starting with Wordpress 5, the default editor changed to an editor named Gutenberg. Gutenberg organizes website sections into blocks. Older content uses a block called Classic. Whenever I try to edit a Classic block with my problem website, the block displays an error message, "This block has encountered an error and cannot be previewed." But I can edit classic blocks without problem on my good website. I've checked config files and lots of settings; this difference in files seems to be what breaks it.
> The file integrity report should run cleanly. No, the file are patched or removed to comply to Fedora Packaging Guildelines > Whenever I try to edit a Classic block with my problem website, the block displays an error message, "This block has encountered an error and cannot be previewed." See a duplicate of bug #1691524 Please try 5.1.1-4 from updates-testing
Wow. Before upgrading: [root@dgregscott2019 ~]# rpm -qa | grep wordpress wordpress-5.1.1-1.fc29.noarch After upgrading: [root@dgregscott2019 ~]# rpm -qa | grep wordpress wordpress-5.1.1-4.fc29.noarch [root@dgregscott2019 ~]# And now I can edit a classic block!
Feel free to give karma on https://bodhi.fedoraproject.org/updates/FEDORA-2019-4825f7896c
May I ask one more question? > No, the file are patched or removed to comply to Fedora Packaging Guildelines How did they not comply? Is there a way to feed that info back to the Wordpress community so they can make appropriate changes? thanks - Greg
> Is there a way to feed that info back to the Wordpress community so they can make appropriate changes? I've tried in the past, they don't care. Most changes are related to - FHS compliant paths - disable auto-update (doesn't make sense for RPM) - disable swf, not allowed in Fedora - use system php-getid3, php-simplepie... instead of bundled copies