[BUG] 2.1 get_static_url() returning wrong value
-
get_static_url() in nextgen-gallery/products/photocrati_nextgen/modules/mvc/package.module.mvc.php is missing a leading slash on its return value.
eg.
<link rel=”stylesheet” href=”https://domain.comwp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/static/gritter/css/gritter.min.css?ver=4.2.2″>
<link rel=”stylesheet” href=”https://domain.comwp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_admin/static/ngg_progressbar.min.css?ver=4.2.2″>Quick and dirty fix:
package.module.mvc.php Ln 156
Change: return $retval;
To: return ‘/’.$retval;
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[BUG] 2.1 get_static_url() returning wrong value’ is closed to new replies.