Package: wordpress
Version: 5.8.1+dfsg1-2
Severity: normal

Hello,

with the actual debian installation, wordpress shows no preview of uploaded
images, neither in the media nor in the post. 

The fix for that would be
--- a/debian/wordpress.postinst
+++ b/debian/wordpress.postinst
@@ -16,6 +16,9 @@ case "$1" in
        if [ -f "$APP_PROFILE" ] && aa-status --enabled 2>/dev/null; then
            apparmor_parser -rTW "$APP_PROFILE" || true
        fi
+
+       # Symlink needded, otherwise no image preview
+       ln -s /var/lib/wordpress/wp-content/uploads 
/usr/share/wordpress/wp-content/uploads
        ;;
 esac

(MR coming soon)

Greetings
Katharina

-- 
Berner Fachhochschule / Bern University of Applied Sciences
IT-Services / Team Linux & Infrastructure Services
Katharina Drexel
IT System Engineer

Reply via email to