Raws li WordPress txuas ntxiv mus nrhiav kev ua tau zoo thiab kev ruaj ntseg kawg,
qhov tseem ceeb tshiab yuav los.
WordPress version 6.6 tau npaj yuav tso tawm thaum Lub Xya Hli 2024 ,
thaum lub sijhawm ntawd nws yuav tso npe tawm mus rau PHP 7.0 thiab 7.1,
thiab nce qhov tsawg kawg nkaus txhawb rau PHP 7.2.24.
Rau qhov kev paub zoo tshaj plaws, nws raug pom zoo kom siv PHP 7.4 thiab siab dua.
Hais lus zoo rau lub sijhawm qub thiab txais tos cov kev hloov tshiab
Txij li thaum WordPress 6.3 version kho qhov WordPress 6.6 saib tsawg kawg nkaus txhawb PHP version thaum
Lub Yim Hli 2023, kev siv PHP 7.0 thiab 7.1 tau poob qis heev. Raws li lub Plaub Hlis 2024,
ob qhov kev hloov pauv tsuas yog 2.45% ntawm kev soj ntsuam WordPress kev teeb tsa,
uas yog qis dua li lub hauv paus dhau los ntawm 5% los tswj kev txhawb nqa.
Cov ntaub ntawv hloov pauv no muab lub hauv paus muaj zog rau
kev nce qhov tsawg kawg nkaus txhawb nqa, thiab tseem cuam tshuam kev txhawb zog rau kev txhim kho tag nrho ecosystem.
Qhov tseem ceeb thiab cuam tshuam ntawm kev hloov tshiab
Kev nce qhov tsawg kawg nkaus txhawb 2024 hloov kho tus xov tooj sau los ntawm thoob ntiaj teb PHP version yuav tsis tsuas yog txhawb kev noj qab haus huv ntawm plugin thiab lub ntsiab lus ecosystem thiab txhim kho cov duab ntev ntawm WordPress 6.6 saib WordPress project, tab sis kuj ntxiv dag zog rau cov neeg tsim khoom sib raug zoo thiab maj mam txhim kho WordPress code puag thiab nws cov cuab yeej txhim kho. Qhov kev txiav txim siab no yuav muaj txiaj ntsig zoo hauv ntau txoj hauv kev thaum lub sijhawm.
Cov kev hloov pauv tau txhawb los ntawm PHP versions dhau los
Saib rov qab ntawm keeb kwm, WordPress tau hloov nws cov kev txhawb nqa rau PHP versions raws li hauv qab no:
Kev them nyiaj yug rau PHP 5.6 tau raug txiav lawm.
Txhim kho PHP 8.0 rau “Compatible with Exceptions” xwm txheej.
Kev zam: tsis muaj npe tsis txaus siab.
WP_Filesystem_FTPext thiab WP_Filesystem_SSH2 muaj teeb meem thaum txuas tsis tau.
Txhim kho PHP 8.1 rau “Compatible with Exceptions” xwm txheej.
Kev zam: Lub neej ntawd tus nqi ntawm ze li ntawm ib nrab ntawm cov neeg siv social media uas qhia cov xov xwm tshaj tawm xov xwm cuav, kev tshawb fawb qhia tus chij parameter ntawm kev ua haujlwm xws li htmlentities() yuav tsum tau teeb tsa kom meej.
Hloov feem ntau strip_tags() nrog wp_strip_tags().
Teeb meem nrog unregister_setting() rau WordPress 6.6 saib qhov chaw tsis paub.
WordPress 6.4: Ntxiv “kev txhawb nqa beta” rau PHP 8.3 .
Hais txog PHP 8 compatibility
Tam sim no, WordPress core yog sib xws nrog PHP 8.0 thiab 8.1 , nrog rau qee qhov kev zam. Raws li rau PHP 8.2 thiab 8.3, nws suav tias yog kev txhawb nqa beta txij li WordPress 6.4.
Kev ruaj ntseg thiab kev tu
Cov vev xaib tseem siv PHP 7.0 lossis 7.1 yuav nyob WordPress 6.6 saib ntawm WordPress 6.5 ceg thiab txuas ntxiv tau txais kev ruaj ntseg hloov tshiab. WordPress txoj cai ruaj ntseg tam sim no suav nrog version 4.1 thiab siab dua. Tsis tas li ntawd, Gutenberg plug-in, raws li kev txhim kho cov cuab yeej rau block editor, tseem yuav nce qhov tsawg kawg nkaus txhawb PHP version rau 7.2 nyob rau lub sijhawm, ua raws li WordPress 6.6.
Saib rau yav tom ntej
Pab pawg tseem ceeb WordPress tsis tau teeb tr npe tsa lub sijhawm hloov kho tshiab hloov kho, nws yuav txuas ntxiv saib xyuas kev siv PHP versions thiab ua haujlwm nrog cov chaw muab kev pabcuam los txhawb cov neeg siv thiab kev lag luam kom nrawm hloov kho. 5% kev siv lub hauv paus yuav tseem yog tus qauv rau kev ntsuas yav tom ntej.