{"id":4093,"date":"2017-08-12T05:56:02","date_gmt":"2017-08-12T05:56:02","guid":{"rendered":"http:\/\/musilda.cz\/?p=4093"},"modified":"2017-08-12T05:56:02","modified_gmt":"2017-08-12T05:56:02","slug":"wordpress-4-9-by-mel-dorazit-14-listopadu","status":"publish","type":"post","link":"https:\/\/affinite.io\/cs\/wordpress-4-9-by-mel-dorazit-14-listopadu\/","title":{"rendered":"WordPress 4.9 by m\u011bl dorazit 14. listopadu"},"content":{"rendered":"

Aktu\u00e1ln\u00ed verze WordPressu je 4.8 (setiny nebudeme \u0159e\u0161it) a ji\u017e se piln\u011b pracuje na verzi 4.9. V sou\u010dasn\u00e9 dob\u011b je na za\u010d\u00e1tek \u0159\u00edjna napl\u00e1nov\u00e1no vyd\u00e1n\u00ed beta verze a WP 4.9 by m\u011bl b\u00fdt k dispozici 14. listopadu.<\/p>\n

P\u0159esto\u017ee se v posledn\u00ed dob\u011b sp\u00ed\u0161e diskutuje na pl\u00e1novanou verz\u00ed 5.0, jen\u017e by m\u011bla obsahovat nov\u00fd editor Guttenberg, tak i 4.9 by n\u00e1s m\u011bla z n\u011bkolika d\u016fvod\u016f zaj\u00edmat.<\/p>\n

Zahrnut\u00ed pluginu CodeMirror WP do j\u00e1dra<\/h2>\n

Plugin CodeMirror WP<\/a>\u00a0umo\u017e\u0148uje zobrazen\u00ed syntaxe k\u00f3du v editoru soubor\u016f \u0161ablon a plugin\u016f. Z\u00e1rove\u0148 um\u00ed na\u010d\u00edtat i soubory zano\u0159en\u00e9 hloub\u011bji v struktu\u0159e, ne\u017e jsou dv\u011b \u00farovn\u011b.<\/p>\n

Pokud nezn\u00e1te, vypad\u00e1 to n\u011bjak takto<\/p>\n

\"\"<\/a><\/p>\n

Osobn\u011b pova\u017euji pou\u017e\u00edv\u00e1n\u00ed editoru na jin\u00e9 \u00fapravy, ne\u017e css, za nebezpe\u010dn\u00e9. P\u0159i p\u0159eklepu, nebo syntaktick\u00e9 chyb\u011b m\u016f\u017eete lehce shodit cel\u00fd web.<\/p>\n

Vylep\u0161en\u00ed funkc\u00ed Customize Snapshots o draft a pl\u00e1nov\u00e1n\u00ed<\/h2>\n

Customize Snapshots roz\u0161i\u0159uje funkcionalitu customiz\u00e9ru o ukl\u00e1d\u00e1n\u00ed zm\u011bn. D\u00edky tomu se m\u016f\u017eete vr\u00e1tit k d\u0159\u00edv\u011bj\u0161\u00edmu nastaven\u00ed, pokud se n\u011bco nepovedlo. Takto funkce je v j\u00e1dru od verze 4.7.<\/p>\n

Nyn\u00ed by m\u011bla tato funkce dostat mo\u017enost ulo\u017eit nastaven\u00ed jako draft a napl\u00e1novat jeho publikaci.<\/p>\n

Vylep\u0161en\u00ed chov\u00e1n\u00ed, p\u0159i p\u0159epnut\u00ed \u0161ablony<\/h2>\n

V p\u0159\u00edpad\u011b, \u017ee pou\u017e\u00edv\u00e1te \u0161ablonu a rozhodnete se ji zm\u011bnit, tak p\u0159i aktivaci nov\u00e9, nedojde k zachov\u00e1n\u00ed nastaven\u00ed menu a widget\u016f.<\/p>\n

P\u0159\u00edklad:<\/p>\n

p\u016fvodn\u00ed \u0161ablona<\/p>\n

register_nav_menu( 'primary', __( 'Primary Menu', 'twentytwelve' ) );<\/pre>\n

nov\u00e1 \u0161ablona<\/p>\n

register_nav_menu( 'primary', __( 'Navigation Menu', 'twentythirteen' ) );<\/pre>\n

Ob\u011b menu jsou um\u00edst\u011bna v pozici primary, ale p\u0159i zm\u011bn\u011b \u0161ablony se toto nastaven\u00ed neprojev\u00ed a mus\u00edte menu znovu p\u0159i\u0159adit.<\/p>\n

Obdobn\u00e9 to je i u widget\u016f.<\/p>\n

V nov\u00e9 verzi by m\u011bl WordPress zachovat um\u00edst\u011bn\u00ed menu, pokud se bude schodovat jeho definice, zde primary. U widget\u016f to bude zase z\u00e1viset na id widget oblasti.<\/p>\n

Aktualizace bude samoz\u0159ejm\u011b obsahovat i \u0159adu dal\u0161\u00edch drobn\u00fdch zm\u011bn a oprav, ale toto jsou podle mne ty nejd\u016fle\u017eit\u011bj\u0161\u00ed.<\/p>\n

A my m\u016f\u017eeme netrp\u011bliv\u011b vyhl\u00ed\u017eet WodPress 5.0<\/p>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

Aktu\u00e1ln\u00ed verze WordPressu je 4.8 (setiny nebudeme \u0159e\u0161it) a ji\u017e se piln\u011b pracuje na verzi 4.9. V sou\u010dasn\u00e9 dob\u011b je na za\u010d\u00e1tek \u0159\u00edjna napl\u00e1nov\u00e1no vyd\u00e1n\u00ed beta verze a WP 4.9 by m\u011bl b\u00fdt k dispozici 14. listopadu. P\u0159esto\u017ee se v posledn\u00ed dob\u011b sp\u00ed\u0161e diskutuje na pl\u00e1novanou verz\u00ed 5.0, jen\u017e by m\u011bla obsahovat nov\u00fd editor Guttenberg,<\/p>\n","protected":false},"author":1,"featured_media":4095,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48,30],"tags":[],"class_list":["post-4093","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-novinky","category-wordpress"],"_links":{"self":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/4093"}],"collection":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/comments?post=4093"}],"version-history":[{"count":0,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/posts\/4093\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media\/4095"}],"wp:attachment":[{"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/media?parent=4093"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/categories?post=4093"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/affinite.io\/cs\/wp-json\/wp\/v2\/tags?post=4093"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}