{"id":289,"date":"2012-03-01T10:05:02","date_gmt":"2012-03-01T10:05:02","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=289"},"modified":"2022-02-17T07:14:04","modified_gmt":"2022-02-17T07:14:04","slug":"using-wordpress-dev-javascript","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/wordpress\/development\/using-wordpress-dev-javascript","title":{"rendered":"Using WordPress Dev Javascript"},"content":{"rendered":"<p>WordPress minifies the core javascript files. \u00a0For instance it uses\u00a0editor.js instead of the original source code file\u00a0editor.dev.js. \u00a0You can&#8217;t just rename the .dev.js files as the minifying also changes things such as variable names. \u00a0However you can tell wordpress to use the dev.js files instead by adding this to\u00a0wp-config.php\u00a0(before any requires):<\/p>\n<p>define(&#8216;SCRIPT_DEBUG&#8217;, true);<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress minifies the core javascript files. \u00a0For instance it uses\u00a0editor.js instead of the original source code file\u00a0editor.dev.js. \u00a0You can&#8217;t just rename the .dev.js files as the minifying also changes things such as variable names. \u00a0However you can tell wordpress to use the dev.js files instead by adding this to\u00a0wp-config.php\u00a0(before any requires): define(&#8216;SCRIPT_DEBUG&#8217;, true);<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[],"class_list":["post-289","post","type-post","status-publish","format-standard","hentry","category-development"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=289"}],"version-history":[{"count":5,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/289\/revisions"}],"predecessor-version":[{"id":1457,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/289\/revisions\/1457"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=289"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}