WordPress 5.2“Jaco”

保护站点安全

WordPress 5.2简体中文版现已开放下载,或在您的WordPress仪表盘中升级。我们将此版本命名为“Jaco”,以纪念革命性的爵士贝斯手杰可·帕斯透瑞斯。这次更新能够在站点出错时,让您更容易修正您的站点。

我们为您带来了更健壮的工具,让您识别并修正配置问题及致命错误。不管您是正在帮助客户的开发者,还是正在独立维护您的站点,这些工具都能在您需要时帮您获得正确的信息。


站点健康检查

基于在5.1中引入的站点健康功能,这次发布加入了两个新页面,帮助您调试常见的配置问题。此发布还加入了让开发者显示调试信息给站点维护者的空间。

PHP错误保护

这个针对网站管理员的更新能够让您在不需要开发者协助的情况下,安全地修正及管理致命错误。这个功能特别针对所谓“白屏死机(white screen of death)”的情况,并提供了进入能够暂停造成错误的插件或主题的恢复模式的方式。


服务所有人的改进

无障碍访问更新

此次的数个修改一同为使用屏幕阅读器及其他辅助技术的用户改善了内容感知及键盘导航流程。

新的仪表盘图标

十三个新图标包含了Instagram、BuddyPress的一篮子图标及旋转的地球图标来包容全球。在仪表盘中寻找他们吧!

插件兼容性检查

WordPress现在会自动确定您的站点的PHP版本是否与已安装的插件兼容。如果插件需要较您的站点更高版本的PHP,WordPress将不会允许您激活该插件,来帮您防止可能出现的兼容性错误。


开发者的小确幸

PHP版本更新

最低支持的PHP版本现在是5.6.20。从WordPress 5.2*开始,主题和插件能够安全地利用命名空间、匿名函数及更多!

隐私更新

新的主题页模板、一个条件函数和两个CSS类让设计和自定义隐私政策页面变得更简单。

新的正文钩子

5.2导入了wp_body_open钩子,让主题能够在<body>元素的开头插入代码。

构建JavaScript

通过在wordpress/scripts包中加入webpack和Babel配置,开发者不再需要考虑设置复杂的构建工具就能编写现代JavaScript。

* 如果您正在运行古旧版本的PHP(早于5.6.20),请在安装5.2前更新您的PHP


开发团队

此次发布由Matt MullenwegJosepha Haden ChomphosyGary Pendergast领头。他们得到了以下个人的帮助。这次发布包含了561人的贡献,其中更有231人是首次做出贡献。在您喜欢的音乐服务中听听杰可·帕斯透瑞斯,并看看下面这些个人资料吧:Aaron D. CampbellAaron JorbinAdam SilversteinAdam SoucieAdil ÖztaşerAjit BohraAlain SchlesserAlda VigdísAlex DenningAlex DimitrovAlex KirkAlex MillsAlex ShielsAlexisAlexis LloydallancoleAllen SnookAndr?andraganescuAndrea FerciaAndrea MiddletonAndrei LupuAndrew DixonAndrew DuthieAndrew NacinAndrew OzzAndrey “Rarst” SavchenkoAndrés ManeiroAndy FragenAndy MeerwaldtAniket PatelanischaroliaAnton TimmermansAnton VanyukovAntonio VillegasantonypuckeyAri StathopoulosAslam ShekhaxaakBego Mario GardeBen DunkleBen Ritner – Kadence ThemesBenjamin IntalBill EricksonBirgir ErlendssonBodo (Hugo) BarwichbongerBoone GorgesBradley TaylorBrandon KraftBrent SwisherBurhan NasirCathi BoscoChetan PrajapatiChiara MagnaniChoubyChris Van PattenD.S. WebsterDamon CookDaniel BachhuberDaniel JamesDaniel LlewellynDaniel RichardsDaniele ScasciafratteDarren EthierDave WhitleyDaveFXdavetgreenDavid BaumwaldDavid BinovecDavid BinovecDavid HerreraDavid RoddickDavid SmithDavide ‘Folletto’ CasalidaxelrodDebabrata KarfadekervitDenis de BernardyDennis SnellDerek HermanDerrick HammerdesignsimplyDhanukanuwanDharmesh PatelDianediegoreymendezDilip BhedaDimaDion HulseDixita DusaraDmitry MayorovDominik SchillingDrew JaynesdsiffordEcoTechieEduardo ToledoElla Van DurpeEmil DotsevfabiankaegyFaisal AlviFarhad SakhaeiFelix ArntzFranklin TseFuegasGarrett HyderGary JonesGennady KovsheninghoulGirish PanchalGrzegorz ZiółkowskiGuido ScialfaGutenDev✍㊙gwwarHannah MalcolmHardik AmiparaHardik ThakkarHendrik LuehrsenHenryHenry WrightHooverIan BelangerIan Dunnice9jsIgor ZinovyevimathIxiumJ.D. GrimesjakeparisJamesjanak KaneriyaJanki MoradiyaJarred KennedyJavier VillanuevaJay UpadhyayJaydip RamiJaye SimonsJayman PandyajdeeburkeJean-Baptiste AudrasJeff PaulJeffrey de WitJenny WongJeremy FeltJeremy GreenJeremy Hervejitendrabanjara1991Joe DolsonJoe McGillJoen AsmussenJohan FalkJohanna de VosJohn BlackbournJohn James JacobyJonathan DesrosiersJonathandejongjoneisemanJonny HarrisjonnybojanglesJoost de ValkjordesignJorge BernalJorge CostaJory HogeveenJose CastanedajosephwaJosh FeckJoshuaWoldJoyjploJR TashjianjrfJuhi PateljuliarrrJustin AhinonK. Adam WhiteKamataRyoKarine DoKatyatinaKelin ChauhanKelly DwanKhokan Sardarkillua99KiteKjell ReigstadKnut SparhellKoji KunoKonstantin ObenlandKonstantinos XenosKʜᴀɴ (ಠ_ಠ)laurelfulfordlkraavlovingbothLuke CarbisLuke GedeonLuke PettwayMaciej PalmowskiMaedah BatoolMaja BenkeMalaeManzoor WaniMarcinMarcin PietrzakMarco FernandesMarco PeraltaMarcus KazmierczakmarekhrabeMarius JensenMariyan BelchevMark UrainemarkcallenMarkus EchterhoffMarty HelmickmarybaummattnyeusmdwolinskiMeet MakadiaMel ChoycemheikkilaMicah WoodmichelleweberMiguel FonsecaMiguel TorresMikael KorpelaMike AuteriMike Schinkel [WPLib Box project lead]Mike SchroderMike SelanderMikeNGarrettMilan DinićmirkaMobin GhasempoorMohadese GhasemiMohammed SaimonMorten Rand-HendriksenMorteza GeransayehMuhammad MuhsinMukesh PanchalMustafa UysalmzorzNahidNaoki OhashiNate AllenNed ZimmermanNeokazis CharalamposNick CernisNick DiegoNick HalseyNidhi JainNielsNiels de BlaauwNikolay NikolovNilambar SharmaninionotnownikkiOliver SadleronlankapandeliszPascal BirchlerPaul BearnePaul BironPedro MendonçaPeter BookerPeter Wilsonpfiledpilou69Pranali PatelPratikPratik K. YadavPresskopppsealockPunit PatelRachel CherryRahmonRamananRami YushuvaevRamiz MankedramonopolyRiad BenguellaRinat KhazievRobert AndersonRudy SusantoRyan BorenRyan WelcherSébastien SERRESaeed FardSal FerrarelloSalar GholizadehSamaneh MirrajabiSami KeijonenSamuel ElhSantiago GarzaSara Copesaracupsarah semarkScott ArciszewskiScott ReillySebastian PisulaSekineh EbrahimzadehSergey BiryukovSergioEstevaosgastardsharifkiberuShashank PanchalshazdehShital Marakanasky_76Soren WredeStephen EdgarSteven WordSubrata SarkarSudar MuthuSudhir Yadavszepe.viktorTakayuki MiyauchiTammie ListerThemonicthomstarkThorsten FrommenThrijith ThankachanTim HedgefieldTim WrightTimothy JacobstimphtmatsuurtmdesignedtmdesignedTobias ZimpelTobiasBgTomHarrigantonybogdanovTor-Bjorn FjellnerToro_Unit (Hiroshi Urabe)torres126Torsten LandsiedelTowhidul IslamTracy LevesqueUmang BhanvadiaVaishali PanchalvrimillWebFactoryWeston RuterWFMattRWilliam ‘Bahia’ BayWilliam EarnhardtwilliampattonWillscrltWolly aka Paolo Valentiwrwrwr0Yoav FarhiYuiZebulan StanphillČeslav Przywara

此外,十分感谢在支持论坛中做出贡献的社群志愿者。志愿者回答来自全世界用户的问题,无论这些用户是菜鸟还是大虾。这些发布因他们的努力更加成功!

如果您想帮忙,请查阅Make WordPress和我们的核心开发博客

感谢您选择WordPress,我们希望您喜欢!

发表评论