Hello again,
I’ve found a quick solution by changing the content of the path of $wpadmin and $wpincludes after line 184.
Because the used formatting of those paths get not the correct path while have WordPress in sub-directory.
The result is /var/www/vhosts/domain.tld/httpdocs/wordpress/wordpress/wp-includes/
(twice wordpress)
If deleted after line 184 and using this not real fine solution, but i’m not so familiar with the constants and with PHP, sorry.
$wpadmin = '/' . trim( $contents[ 'wp-content' ], '/wp-content') . '/wp-admin';
$wpincludes = '/' . trim( $contents[ 'wp-content' ], '/wp-content') . '/wp-includes';
May this helps to make a real working plugin while using a sub-directory installation.
Cheers!
-
This reply was modified 4 years, 4 months ago by WP-Henne. Reason: optical correction
-
This reply was modified 4 years, 4 months ago by WP-Henne.