Hi Everybody,
One of theme soft rejected reasons envato toolkit errors :
esc_html__(
REQUIRED: get_themes() found in the file class-envato-wordpress-theme-upgrader.php. Deprecated since version 3.4. Use wp_get_themes() instead.
Line 74: if ( function_exists( ‘wp_get_themes’ ) )
Line 75: $themes_list = wp_get_themes();
Line 77: $themes_list = get_themes();
Line 232: if ( function_exists( ‘wp_get_themes’ ) )
Line 233: $installed_themes = wp_get_themes();
Line 235: $installed_themes = get_themes();
REQUIRED: get_current_theme() found in the file class-envato-wordpress-theme-upgrader.php. Deprecated since version 3.4. Use wp_get_theme() instead.
it isn’t supposed to be from our side, it should be fixed from envato team, so
Anyone here faced these issues and fixed them ?
Thank you all