Ki jan yo retire kòd kòmantè WP Rocket Plugin? Retire kòmantè WPRocket premye plan

Ki jan yo retire kòmantè premye plan nan WP Rocket Plugin?

WordPress pluginWP-Rocket se yon jenerasyon kachèt trè itil ak jesyon Plugin, ki ka anpil amelyore vitès la nan aksè sit entènèt.

Sepandan, devlopè li yo pral kite anons kòmantè nan kòd sit entènèt ou a, si ou peye oswa ou pa.

Jan yo montre anba a ▼

Ki jan yo retire kòd kòmantè WP Rocket Plugin? Retire kòmantè WPRocket premye plan

Apre sa, pataje kòman yo efase kòd la kòmantè WP Rocket Plugin epi retire anons ki kache nan paj la?

Ki jan yo retire kòd kòmantè front-end nan sit entènèt WP Rocket plugin

WP Rocket te ajoute depi vèsyon 2.0 get_Rocket_footprint() metòd.Ajoute yon imaj ke nan fen kòd sous paj la, ki se paragraf sa a.Edite fichye WordPress yo nan chemen sa yo pou retire yo.

/wp-content/plugins/wp-Rocket/inc/classes/Buffer/class-cache.php

Vèsyon 3.9.x teste nan atik sa a kòmanse sou liy 436.ou ka wè get_Rocket_footprint() Metòd la se apeprè jan sa a:

private function get_Rocket_footprint( $time = '' ) {
$footprint = defined( 'WP_Rocket_WHITE_LABEL_FOOTPRINT' ) ?
"\n" . '<!-- Cached for great performance' :
"\n" . '<!-- This website is like a Rocket, isn\'t it? Performance optimized by ' . WP_Rocket_PLUGIN_NAME . '. Learn more: https://wp-Rocket.me';
if ( ! empty( $time ) ) {
$footprint .= ' - Debug: cached@' . $time;
}
$footprint .= ' -->';
//return $footprint; /*不返回注释 去除广告注释*/
}
  • Jis kòmante retounen valè retounen nan fen a epi fè li pa retounen yon valè

Depi grefon WordPress yo anjeneral nan yon sik aktyalizasyon konstan, kote egzak la ka chanje.

Nan ka sa:

  1. Ou ka telechaje dosye plugin lokalman.
  2. 使用Notepad++ kòd editèoswa lòt zouti koreksyon pou jwenn dosye plugin globalman;
  3. rechèch mo kle"this website"oswa"performance optimized".
  4. Apre ou jwenn li, kòmante li oswa efase li.

Hope Chen Weiliang Blog ( https://www.chenweiliang.com/ ) pataje "Ki jan yo retire kòd WP Rocket plugin kòmantè? Efase WPRocket premye plan kòmantè", ki se itil pou ou.

Byenvini pataje lyen atik sa a:https://www.chenweiliang.com/cwl-1910.html

Byenveni nan chanèl Telegram blog Chen Weiliang a pou jwenn dènye mizajou yo!

🔔 Se pou premye moun ki jwenn bonjan "ChatGPT Content Maketing AI Itilizasyon Zouti Gid" nan anyè chanèl ki pi wo a! 🌟
📚 Gid sa a gen anpil valè, 🌟Sa a se yon opòtinite ki ra, pa rate li! ⏰⌛💨
Pataje epi like siw renmen!
Pataje w ak renmen ou se motivasyon kontinyèl nou!

 

kòmantè

Adrès imèl ou pa pral pibliye. Jaden obligatwa yo te itilize * Mete etikèt sou

woule nan tèt