去除WordPress的小工具上的 WordPress.org 版权

去除WordPress的小工具上的 WordPress.org 版权_版权

直接看图,找到,class-wp-widget-meta.php大约60到75行,红框里的删掉即可

<?php
/**
* Filter the "Powered by WordPress" text in the Meta widget.
*
* @since 3.6.0
*
* @param string $title_text Default title text for the WordPress.org link.
*/
echo apply_filters( 'widget_meta_poweredby', sprintf( '<li><a href="%s" title="%s">%s</a></li>',
esc_url( __( 'https://wordpress.org/' ) ),
esc_attr__( 'Powered by WordPress, state-of-the-art semantic personal publishing platform.' ),
_x( 'WordPress.org', 'meta widget link text' )
) );

wp_meta();
?>

去除WordPress的小工具上的 WordPress.org 版权_php_02