{"id":31049,"date":"2014-08-08T22:03:44","date_gmt":"2014-08-08T22:03:44","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-cdnjs\/"},"modified":"2020-03-20T04:48:15","modified_gmt":"2020-03-20T04:48:15","slug":"wp-cdnjs","status":"publish","type":"plugin","link":"https:\/\/is.wordpress.org\/plugins\/wp-cdnjs\/","author":229743,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4.0","stable_tag":"0.4.0","tested":"5.3.21","requires":"5.1","requires_php":"","requires_plugins":"","header_name":"WP cdnjs","header_author":"Mindshare Labs \/ ANAGR.AM","header_description":"","assets_banners_color":"dd4814","last_updated":"2020-03-20 04:48:15","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/mind.sh\/are\/donate\/","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/wp-cdnjs\/","header_author_uri":"https:\/\/mindsharelabs.com\/","rating":5,"author_block_rating":0,"active_installs":50,"downloads":6087,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"998791","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"998791","resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":"998791","resolution":"","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"962759","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.1","0.1.2","0.1.3","0.3.0","0.3.1","0.3.2","0.3.3","0.4.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1875726","resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1875726","resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1875726","resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1875726","resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Dashboard: Set of libraries and usual messages.","2":"Dashboard: Browse cdnjs Libraries example with popup.","3":"Dashboard: Browse available versions for twitter-bootstrap.","4":"Dashboard: Browse available assets for twitter-bootstrap."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[16717,3882,356,1731,2864],"plugin_category":[59],"plugin_contributors":[151583,89316,80782,89317],"plugin_business_model":[],"class_list":["post-31049","plugin","type-plugin","status-publish","hentry","plugin_tags-cdnjs","plugin_tags-cloudflare","plugin_tags-css","plugin_tags-js","plugin_tags-scripts","plugin_category-utilities-and-tools","plugin_contributors-audioscavenger","plugin_contributors-geetjacobs","plugin_contributors-mindshare","plugin_contributors-patkirts","plugin_committers-geetjacobs","plugin_committers-mindshare"],"banners":{"banner":"https:\/\/ps.w.org\/wp-cdnjs\/assets\/banner-772x250.png?rev=962759","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/wp-cdnjs\/assets\/icon.svg?rev=998791","icon":"https:\/\/ps.w.org\/wp-cdnjs\/assets\/icon.svg?rev=998791","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-cdnjs\/assets\/screenshot-1.png?rev=1875726","caption":"Dashboard: Set of libraries and usual messages."},{"src":"https:\/\/ps.w.org\/wp-cdnjs\/assets\/screenshot-2.png?rev=1875726","caption":"Dashboard: Browse cdnjs Libraries example with popup."},{"src":"https:\/\/ps.w.org\/wp-cdnjs\/assets\/screenshot-3.png?rev=1875726","caption":"Dashboard: Browse available versions for twitter-bootstrap."},{"src":"https:\/\/ps.w.org\/wp-cdnjs\/assets\/screenshot-4.png?rev=1875726","caption":"Dashboard: Browse available assets for twitter-bootstrap."}],"raw_content":"<!--section=description-->\n<p>Speed up your site by using the powerfull and free CDNjs. This plugin Allows you to search all http:\/\/cdnjs.com libraries and include them on your site.\nProudly updated by <a href=\"http:\/\/www.it-cooking.com\/\">Audioscavenger<\/a>.<\/p>\n\n<p><strong>Requires PHP 5.3 or newer<\/strong>\n   <\/p>\n\n<h4>Browse by Name and Description<\/h4>\n\n<p>When browsing, the search key word look in the library names and description.<\/p>\n\n<ul>\n<li>Shows library name<\/li>\n<li>Shows description<\/li>\n<li>Shows how many versions are available<\/li>\n<\/ul>\n\n<h4>Choose the Righ Version<\/h4>\n\n<p>Stop worrying about incompatibilities, WP cdnjs let you chose the version you really need!<\/p>\n\n<ul>\n<li>Latest version selected by default<\/li>\n<li>Minified version selected by default<\/li>\n<li>Allows you to include the (non)minified version for debugging purposes<\/li>\n<\/ul>\n\n<h4>Add More Assets<\/h4>\n\n<p>Among the libraries served by CDNjs, you can add the assets related.<\/p>\n\n<ul>\n<li>Shows all the assets associated with a library version<\/li>\n<li>Allows you to change the main asset used<\/li>\n<li>Allows you to add and remove assets<\/li>\n<li>Shows the assets already used in grey to avoid addind duplicates<\/li>\n<\/ul>\n\n<h4>Manage Priorities<\/h4>\n\n<p>With an easy drag&amp;drop, manage the order in which your libraries will be loaded.<\/p>\n\n<ul>\n<li>Easy drag&amp;drop<\/li>\n<li>Header\/Footer choice<\/li>\n<li>Enable\/Disable option<\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>Upload the plugin to your blog or install it via the dashboard, activate it, done.\nThe configuration page is found under Settings-&gt;WP cdnjs<\/p>\n\n<p>This plugin requires PHP and JavaScript.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Is WP cdnjs Free?<\/dt>\n<dd><p>Yes! Every WP cdnjs's features are and always will be free.<\/p><\/dd>\n<dt>Do I need a WordPress.com account?<\/dt>\n<dd><p>Since WP cdnjs do not provided hosted services by WordPress.com, a WordPress.com account is not required.<\/p><\/dd>\n<dt>How do I contribute to WP cdnjs?<\/dt>\n<dd><p>There are opportunities for developers at all levels to contribute.\nYou can participate to the development via the developer section with SVN.<\/p><\/dd>\n<dt>How can I change what action is used to enqueue the CDNJS scripts?<\/dt>\n<dd><p>You can override the default action ('init') that enqueues the CDNJS script like so:<\/p>\n\n<pre><code>add_filter('wp_cdnjs_init_action', 'my_cdnjs_init_action');\nfunction my_cdnjs_init_action() {\n    return 'get_sidebar'; \/\/ the action tag you wish to use\n}\n<\/code><\/pre><\/dd>\n<dt>Is it possible to have all enabled scripts load in the WordPress Admin area?<\/dt>\n<dd><p>Yes. You can use this filter:<\/p>\n\n<pre><code>add_filter('wp_cdnjs_allow_in_admin', 'my_cdnjs_allow_in_admin');\nfunction my_cdnjs_allow_in_admin() {\n    return TRUE;\n}\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.4.0<\/h4>\n\n<p><strong>Major Bungfix<\/strong>\n* CDNJS does not provide assets list via their API\n* tested for WP 5.3 + updated min req version to 5.1\n* tested with PHP 7.3\n* tested with PHP 7.2<\/p>\n\n<h4>0.3.3<\/h4>\n\n<p><strong>Minor Update<\/strong>\n* just tested for 5.2 + updated min req version to 5.1\n* tested with both PHP 7.0 and 7.2.18<\/p>\n\n<h4>0.3.2<\/h4>\n\n<p><strong>Minor Update<\/strong>\n* just tested for 5.1.1 + updated min req version to 5.0<\/p>\n\n<h4>0.3.1<\/h4>\n\n<p><strong>Minor Update<\/strong>\n* tested for 4.9.6 + updated EOL for main script<\/p>\n\n<h4>0.3.0<\/h4>\n\n<p><strong>Major Enhancements<\/strong>\n* Performance increase: Removed the query strings everywhere\n* Removed font-awsome and switched to WP dashicons<\/p>\n\n<p><strong>Minor Enhancements<\/strong>\n* Minimum version set to 4.9 because we refuse to serve outdated WP versions anymore. Security is everyone's matter, you must therefore use an up-to-date WP.<\/p>\n\n<h4>0.2.4<\/h4>\n\n<p><strong>Bug Fix<\/strong>\n* Correct path to language files + added en_US.mo<\/p>\n\n<h4>0.2.3<\/h4>\n\n<p><strong>Enhancements<\/strong>\n* Ajout de la version Francaise, vieux.<\/p>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Release date: January 7, 2018<\/li>\n<li>Release post: <a href=\"https:\/\/wp.me\/p9sB0t-7Y\">WP cdnjs<\/a><\/li>\n<\/ul>\n\n<p><strong>Enhancements<\/strong>\n* Creation of the readme.txt. This took me like 3 hours so it totally justifies a new release.<\/p>\n\n<h4>0.2.1<\/h4>\n\n<p><strong>Major Enhancements<\/strong>\n* add menu_icon + css assets\n* integrate 0.13 functions\n* move main functions to lib\/functions.php\n* add minified js\n* table in Settings is now full width\n* cleanup php code everywhere<\/p>\n\n<h4>0.2.0<\/h4>\n\n<p><strong>Major Enhancements<\/strong>\n* Initial fork from <a href=\"https:\/\/github.com\/mindsharelabs\/wp-cdnjs.git\">wp-cdnjs.git<\/a> to <a href=\"https:\/\/github.com\/audioscavenger\/wp-cdnjs-reborn.git\">wp-cdnjs-reborn.git<\/a>\n* Fix the secondary assets you want to include\n* Add column for choosing the exact version\n* Add checkbox for choosing the the non-minified version<\/p>\n\n<h4>0.1.3<\/h4>\n\n<ul>\n<li>Update for 4.0<\/li>\n<li><\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>Bugfix for header \/ footer setting being reversed<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Added .pot file for translation<\/li>\n<li>Fixed logo and WP version<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Integrates easily CSS and JavaScript Libraries hosted by CDNjs.com. Browse, select version and sub-assets to fit your needs.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/31049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=31049"}],"author":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mindshare"}],"wp:attachment":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=31049"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=31049"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=31049"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=31049"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=31049"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=31049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}