This is actually holding me up and I’m not sure how long before you’ll take to respond. I’m working around the 404s but this will need to be rectified upstream.
Regarding the full document root in your URLs, I see they’re being built in extension_customizer.php. In the block beginning line 83:
`
if ( empty( $this->_extension_dir ) ) {
$this->_extension_dir = apply_filters( “redux/extension/customizer/dir”, trailingslashit( str_replace( ‘\\’, ‘/’, dirname( __FILE__ ) ) ) );
$this->_extension_url = apply_filters( “redux/extension/customizer/url”, site_url( str_replace( trailingslashit( str_replace( ‘\\’, ‘/’, ABSPATH ) ), ”, $this->_extension_dir ) ) );
}
`
Is there a particular reason you are doing it this way instead of the WordPress plugin_dir_path()
and plugin_dir_url()
methods? The reason it’s failing on my install is due to my WordPress installation being set up with https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory so the paths in the str_replace do not match. By using the WordPress plugins you’re guaranteed to have the correct paths without needing to fiddle about with them yourself. 🙂