pcx3com / wp-tasks

Manage Tasks, Projects and Clients on top of WordPress
https://pluginsbay.com/plugin/wp-tasks/
GNU General Public License v2.0
0 stars 0 forks source link

Calling files remotely #1

Open stefanpejcic opened 5 years ago

stefanpejcic commented 5 years ago

Offloading images, js, css, cgi, and other scripts to Google (or jquery.com or anywhere else frankly) is disallowed because you're introducing an unnecessary dependency on another site. If the file you're trying to use isn't a part of WordPress Core, then you should include it -locally- in your plugin, not remotely. If the file IS included in WordPress core, please call that instead.

Not permitted:

stefanpejcic commented 5 years ago

tasks/inc/controllers/front.php:47: wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');

tasks/inc/controllers/front.php:43: '//raw.githubusercontent.com/jquery/jquery-ui/master/ui/i18n/datepicker-'.$wp_lang.'.js',