Code Mod Request
-
Hello,
Very nice plugin. I am a plugin author as well. Your CSS and JS scripts are loading in my plugin pages and are overriding my plugin’s CSS and JS scripts. I would like to request that you wrap your style and script functions so that they only load on your plugin’s pages instead of having to block them with additional code in my plugin. Thank you.File: /oasis-workflow/oasiswf.php
Code Line: 752static function add_css_files( $page ) { // ONLY load OWF scripts on OWF plugin pages if ( preg_match( '/page=oasiswf(.*)/', $_SERVER['REQUEST_URI'], $matches) ) { ... ... ... Code Line: 785 static function add_js_files() { // ONLY load OWF scripts on OWF plugin pages if ( preg_match( '/page=oasiswf(.*)/', $_SERVER['REQUEST_URI'], $matches) ) { ... ... ... Code Line: 808 static function load_js_files_footer() { // ONLY load OWF scripts on OWF plugin pages if ( preg_match( '/page=oasiswf(.*)/', $_SERVER['REQUEST_URI'], $matches) ) { ... ... ...
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Code Mod Request’ is closed to new replies.