WordPress 5.1“Betty”

每天都好一点点

WordPress 5.1简体中文版现已开放下载,或在您的WordPress仪表盘中升级。我们将此版本命名为“Betty”,以纪念爵士歌手贝蒂·卡特。

WordPress 5.0引入区块编辑器之后,5.1致力于细节,尤其着重提升编辑器的整体性能。此外,此次发布通过对于站点管理员和开发者来说必不可少的工具,为将来更好、更快、更安全的WordPress奠定了基石。

站点健康

基于安全和速度的考虑,此次发布为您带来了WordPress的首个站点健康功能。WordPress会开始向仍在运行古旧PHP版本的站点管理员展示通知。

在安装新插件时,WordPress的站点健康功能会检查插件是否需要与您的站点不兼容的PHP版本。如果是这样,WordPress会阻止您安装此插件。

编辑器性能

在WordPress 5.0中引入后,我们依然在不断改进新的区块编辑器。最重要的是,WordPress 5.1在编辑器内包含了可靠的性能改进。现在您应该能感觉到编辑器打开更快、键入文字更流畅。

我们会在下个版本中加入更多的性能改进。


开发者的小确幸

多站点元数据

5.1引入了新的数据库表来存储站点相关的元数据,及其他与多站点/网络相关的任意站点数据。

Cron API

Cron API已更新,包含全新函数来协助返回数据,和全新过滤器来修改cron存储。其他修改会影响cron在运行FastCGI和PHP-FPM版本7.0.16或更高的服务器上的运行。

全新JS构建流程

WordPress 5.1在5.0版重构大量代码之后,包含了全新的JavaScript构建方式。

其他小确幸

其他改进包括:

  • 更新WP_DEBUG_LOG常量的值
  • 测试套件中新的测试文件配置常量,新的插件动作钩子
  • wp_unique_post_slug()WP_User_Querycount_users()的短路过滤器
  • 新的human_readable_duration函数
  • 改良的分类法metabox清理
  • 使用WP_Meta_Query时有限的元数据键LIKE支持
  • 注册REST API端点时全新的“不能这样使用”通知

…以及更多!


开发团队

此次发布由Matt Mullenweg领头,Gary Pendergast担任资深代码重构师诗人。他们得到了以下个人的帮助。这次发布包含了561人的贡献,其中更有231人是首次做出贡献。在您喜欢的音乐服务中听听贝蒂·卡特,并看看下面这些个人资料吧:0x6f012655785191naveengiri360zenaardrianAaron JorbinAbdullah RamzanAbhay VishwakarmaAbhijit RakasAchal JainachbedAdam SilversteinAjit BohraAlain SchlesserAlda VigdísalejandroxlopezAlexAlex ConchaAlex ShielsAlexander BotteramAlexandru VornicescualexgsoallancoleAllen SnookAlvaro Gois dos SantosAna CirujanoAnantajit JGAndrea FerciaAndrea GandinoAndrea Middletonandrei0x309andreiglingeanuAndrew DuthieAndrew LimaAndrew NacinAndrew NevinsAndrew OzzAndrey SavchenkoAndrés ManeiroAndy FragenAndy MeerwaldtAntal TettingerantipoleAnton TimmermansAnton VanyukovAntonio VillegasantonioeatgoatAnwer ARArunAshar Irfanashokrd2013Ayesh KarunaratneAyub AdiputraBarry CeelenBehzod SaidovBen ByrnebenhubermanBenoit ChantrebenvaassenBhargav MehtabikecrazyyBirgir ErlendssonBjornWBlair jersyerBlobfoliobobbingwideboblinthorstBoone GorgesBoro SitnikovskiBrad ParbsBradley TaylorbramheijminkBrandon KraftBrandon PaytonBrent SwisherBrian RichardsbridgetwillardBrooke.bruceallenBurhan NasirBytes.coCaleb BurksCalin DoncampusboycarolinegevenccismaruchasewgChetan PrajapatiChoubyChriCochriscct7Christopher SpiresclaudiuClifford Paulickcodegraucolehconner_bwCorey McKrillcroceCsaba (LittleBigThings)Cyrus CollierDaniel BachhuberDaniel JamesDaniel KoskinenDaniel RichardsDaniele ScasciafrattedanimalbrownDanny de HaanDannyCooperDarko A7Darren EthierDave PulligDavid A. KennedyDavid AndersonDavid BinovecDavid CramerDavid HerreraDavid LingrenDavid ShanskeDavid StonedekervitDenis YanchevskiyDennis SnelldesignsimplydfangstromDhanendranDharmesh PatelDhaval kasavalaDhruvinDiedeExterkateDilip Bhedadingo-dDion HulsedipeshkakadiyaDominik SchillingDonncha Ó CaoimhdontstealmyfishDrew JaynesDrivingralledschalkdsiffordeamaxeArtboardedo888ElectricFeetElla Van DurpeEmil DotsevEric Andrew LewisEric DaamsErich MunzErick HitterericmeyeretoledomEvan SolomonEvangelos AthanasiadisFaisal AlviFelipe EliaFelix ArntzFernando ClaussenflipkeijzerFlorian TIARFPCSJamesFrank KleinfuchswsfullyintGabriel MaldonadoGarethGarrett HyderGary JonesGennady KovsheninGerhard PotgieterGirish PanchalGM_AlexgnifgraymousergregGrzegorz ZiółkowskiGuidoGutenDev✍㊙Hafiz Rahman[email protected]Hans-Christiaan BraunHardeep AsraniHardik AmiparaHarsh PatelharuharuharubyHeather BurnsHelen Hou-SandiHenry WrightHerre GroenHitendra ChopdaIan BelangerIan DunnibantxilloIgnacio Cruz MorenoIgorIgor BenicimathionvvIrene Strikkersisabel104ishitakaIvan MudrikJ.D. GrimesJack ReichertJacob PeattieJake SpurlockJames Nylenjanak KaneriyajanalwinJanki MoradiyajanthielJason CaldwelljavorszkyJaydip RamiJayman PandyaJb AudrasJeff FarthingJeffrey de WitJeffrey PaulJennifer M. DoddJenny WongJeremeyJeremy FeltJeremy HerveJeremy PryJeremy ScottJesper V NielsenJesse FriedmanJimmy ComackJip MoorsJiri HonjoanrhoJobJoe Bailey-RobertsJoe DolsonJoe HoyleJoe McGillJoel JamesJoen AsmussenJohan FalkJohn BlackbournJohn GodleyJohn James JacobyjohnalarconjohnpgreenjohnschulzJonathan ChampJonathan DesrosiersjoneisemanJonny HarrisJoost de ValkJorge CostaJoseph ScottJoshuaWoldJoyjpurdy647jrdelarosajryancardJuhi PatelJulia AmosovajuliemoynatJuliette Reinders FolmerJunaid AhmedJustin SaintonJustin SternbergJustin TadlockK.Adam WhitekapteinblufkeesiemeijerKelly DwankelvinkkhaihongKiran PotphodeKiteKjell ReigstadkkarpieszukkmezeKnut SparhellkonainmKonstantin ObenlandKonstantinos XenoskristastevenskrutidugadelagheeLaken HafnerLance WillettlaurelfulfordlbenicioLeander IversenleemonlenasterglisannekluitmanslizkarkoskiLuca GrandicelliLucasRolffluciano-croceLuke CarbisLuminusMário ValneymaartenleendersmacbookandrewMaciej PalmowskiMaja BenkeMakomallorydxw-oldManuel Augustinmanuel_84Marc Niliusmarcelo2605Marco Martinsmarco.marsalaMarcus Kazmierczakmarcwieland95Marius L. J.mariusvwMariyan BelchevMark JaquithMathieu SarrasinmathieuhaysMatt CromwellMatt GibbsMatt MartzMatthew BoynesMatthew Riley MacPhersonmattyrobmcmwebsolMel ChoycemensmaximusmermelmetalandcoffeeMicah WoodMichael NelsonMichiel HeijmansMigrated to @sebastienserreMiguel FonsecaMiguel TorresmihaiiceyromihdanMike GillihanMike JolleyMike SchroderMilan DinićMilan IvanovicMilana CapMilind MoremirkoschubertMonika RaoMonique Dubbelmanmoto hachi ( mt8.biz )mrmadhatMuhammad KashifMukesh PanchalMultiformeIngegnoMuntasir MahmudmunyaguMyThemeShopmzorznadim0988nandorskyNaoki OhashiNaoko TakanonataliashitovaNate AllenNathan JohnsonndavisonNed ZimmermanNextendwebNick DiegoNick HalseyNick MomrikNick the GeekNicolas FigueiraNicolas GUILLAUMENicolle HelgersNidhi JainNielsNikhil ChavanNilambar SharmaNoam EppelnotnownikkiodysseyOliver SadlerOmar ReissOmkar BhagatOv3rflyPaal Joachim RomdahlpanchenparbaughParham GhaffarianPascal BirchlerPascal CasierPaul BearnePaul BironPaul ParadisePaul SchreiberpepePerdaanPeter WilsonPetter Walbø JohnsgårdPhill Healey [Code Clinic KreativAgentur]Pierre SaïkaliPieter DaalderPiyush PatelpoenaPramod JodhaniPrashant BaldhaPratikPratik K. YadavpreciesPresskoppPresslabsPressTigersprogramminPunit PatelPurnendu DashQuchengRachel BakerRachel CherryRachel PeterRafsun ChowdhuryRahul PrajapatiRaja MohammedRamananRami YushuvaevRamiz MankedramonopolyRavanHredcastorReisiger, Angelikaremyvvrensw90rhetoricalRiad BenguellaRian RietveldRichard TapeRicky Lee WhittemoreRinku YRishi ShahRobbierobdxwRobert AndersonRobin CornettRobin van der VlietRyan McCueRyan PaulRyan WelcherryotsunSébastien SERRESašasagarnasitSami Ahmed SiddiquiSami KeijonenSamuel Wood (Otto)sarah semarkSayed TaquiScott LeeScott ReillySean HayesSebastian KurzynoswkiSebastian PisulaSergey BiryukovShamim HasanShane EckertSharaz ShahidShashwat MittalShawn HoopersherwoodShital MarakanaShiva PoudelSimon ProssersjardoskoldinslilleyslushmanSonja LeixsonjanycSoren WredespartankspyderbytesStanimir StoyanovStanko MetodievstazdotioStephen EdgarStephen HarrisstevenlinxStorm RockwellStoyan KostadinovstrategioSubrata SarkarSultan Nasir UddinswiftTakahashi FumikiTakayuki MiyauchiTammie ListerTaylor LovettteddytimeTerri AnnterwdantharsheblowsThemeZeeThomas Patrick LevyThomas VitalethomaswmThorsten FrommenThrijith ThankachanTiago HillebrandttigertechTim HavingaTim HengeveldTimmy CrawfordTimothy JacobstitodeveraTkamaTobias ZimpelTom J NowellTomHarriganTommy FerrytonybogdanovTor-Bjorn FjellnerTorontoDigitsToshihiro KanaiTowhidul Islamtransl8orUlrichupadalavipulUsman KhalidUtsav tilavauttam007Vaishali PanchalValérie GalassivalchovskivishaldodiyavnsavagevoneffvortfuwarmlaundrywbrubakerWeston RuterWill KwonWilliam EarnhardtwilliampattonwpzincxhezairiYahil MadakiyaYoav FarhiYuiYuriVZane MatthewZebulan Stanphill

最后,让我们感谢为本次发布提供了翻译的贡献者。WordPress 5.1在发布时被翻译成了34种语言,还有更多在路上。

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

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