{"id":8056536,"date":"2016-01-25T20:51:59","date_gmt":"2016-01-25T20:51:59","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/needs-update-12\/"},"modified":"2016-09-03T04:22:22","modified_gmt":"2016-09-03T04:22:22","slug":"needs-update-12","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/needs-update-12\/","title":{"rendered":"Needs update"},"content":{"rendered":"<p>**UPDATED**<br \/>\nThe author gave me a well reasoned explanation in order to ask my doubt. So I&#8217;m giving the plugin five starts. He has a point. \ud83d\ude09<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\nThis plugin works fine but I wonder why this code(<code>@import url(&quot;..\/parent-theme\/style.css&quot;);<\/code>) is still being used when in articles like <a href=\"https:\/\/codex.wordpress.org\/Child_Themes\">this<\/a> is said that it should be done like this (<\/p>\n<pre><code>&lt;?php\nadd_action( &#039;wp_enqueue_scripts&#039;, &#039;theme_enqueue_styles&#039; );\nfunction theme_enqueue_styles() {\n    wp_enqueue_style( &#039;parent-style&#039;, get_template_directory_uri() . &#039;\/style.css&#039; );\n\n}\n?&gt;<\/code><\/pre>\n<p>)<\/p>\n","protected":false},"template":"","class_list":["post-8056536","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8056536","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8056536\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8056536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}