Uso da função wc_get_log_file_name foi descontinuado em WC 8.6.0

[ad_1]

Oi Claudio,

só passando para reforçar meu comentário nessa discussão do GitHub sobre o uso da função wc_get_log_file_name que foi descontinuada na versão 8.6.0 do WooCommerce.

Seu plugin está utilizando essa função em duas classes diferentes:

  • WC_Correios_Shipping
  • WC_Correios_Integration

Em ambas as classes a função get_log_link utiliza a função wc_get_log_file_name como argumento na URL do link para visualizar os logs.

O aviso que aparece no log do PHP é:

Doing it wrong: Function wc_get_log_file_name is deprecated since version 8.6.0 with no alternative available.

Abraço

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer