$get_plugin, 'fields' => array( 'short_description' => false, 'sections' => false, 'requires' => false, 'rating' => false, 'ratings' => false, 'downloaded' => false, 'last_updated' => false, 'added' => false, 'tags' => false, 'compatibility' => false, 'homepage' => false, 'donate_link' => false, ), )); if (is_wp_error($api)) { // phpcs:ignore WordPress.Security.EscapeOutput -- Content already escaped in the method wp_die($api); } // phpcs:disable WordPress.WP.GlobalVariablesOverride.Prohibited -- Use to merge params in Plugin_Installer_Skin construct $title = __('Plugin Install', 'wpmf'); $parent_file = 'plugins.php'; $submenu_file = 'plugin-install.php'; $title = sprintf(__('Installing Plugin: %s', 'wpmf'), $api->name . ' ' . $api->version); $nonce = 'install-plugin_' . $get_plugin; $url = 'update.php?action=install-plugin&plugin=' . urlencode($get_plugin); if (isset($_GET['from'])) { $url .= '&from=' . urlencode(stripslashes($_GET['from'])); } // phpcs:enable $upgrader = new Plugin_Upgrader(new Plugin_Installer_Skin(compact('title', 'url', 'nonce', 'plugin', 'api'))); $upgrader->install($api->download_link); } elseif ('activate' === $act) { /** * Filter check capability of current user to active plugin * * @param boolean The current user has the given capability * @param string Action name * * @return boolean * * @ignore Hook already documented */ $wpmf_capability = apply_filters('wpmf_user_can', current_user_can('activate_plugins'), 'active_imagerecycle_plugin'); if (!$wpmf_capability) { wp_die(esc_html__('You do not have sufficient permissions to activate plugins for this site.', 'wpmf')); } if (is_multisite() && !is_network_admin() && is_network_only_plugin($get_plugin)) { wp_redirect(self_admin_url('plugins.php?plugin_status=' . $status . '&paged=' . $page . '&s=' . $s)); exit; } check_admin_referer('activate-plugin_' . $get_plugin); $result = activate_plugin( $get_plugin, self_admin_url('plugins.php?error=true&plugin=' . $get_plugin), is_network_admin() ); if (is_wp_error($result)) { if ('unexpected_output' === $result->get_error_code()) { $u = 'plugins.php?error=true&charsout=' . strlen($result->get_error_data()); $u .= '&plugin=' . $get_plugin . '&plugin_status=' . $status . '&paged=' . $page . '&s=' . $s; $redirect = self_admin_url($u); wp_redirect( add_query_arg( '_error_nonce', wp_create_nonce('plugin-activation-error_' . $get_plugin), $redirect ) ); exit; } else { // phpcs:ignore WordPress.Security.EscapeOutput -- Content already escaped in the method wp_die($result); } } if (!is_network_admin()) { $recent = (array) get_option('recently_activated'); unset($recent[$get_plugin]); update_option('recently_activated', $recent); } else { $recent = (array) get_site_option('recently_activated'); unset($recent[$get_plugin]); update_site_option('recently_activated', $recent); } if (isset($_GET['from']) && 'import' === $_GET['from']) { wp_redirect(self_admin_url('import.php?import=' . str_replace('-importer', '', dirname($get_plugin)))); // overrides the ?error=true one above and redirects to the Imports page, stripping the -importer suffix } else { // overrides the ?error=true one above wp_redirect( self_admin_url('options-general.php?page=option-folder') ); } } } ?>
logo image recycle

Great! ImageRecycle is installed

Speed optimization of your WordPress website is highly recommended for SEO. The image compression is one of the tools that help to reduce your page size significantly while preserving the image quality.

You can now manage all you images and compression from the ImageRecycle plugin, menu Media > ImageRecycle.

ImageRecycle got a dedicated plugin for WordPress that run the images optimization automatically on your website & PDF
In order to start the optimization process, please install the WordPress plugin. Enjoy!

' . esc_html__('ImageRecycle is properly installed: manage images', 'wpmf') . ''; ?>

logo image recycle

Get faster with lightweight images!

Speed optimization of your WordPress website is highly recommended for SEO. The image compression is one of the tools that help to reduce your page size significantly while preserving the image quality.
optimization
WP Media Folder is fully integrated with ImageRecycle service, you have a free trial with no engagement and we provide a 20% OFF coupon! Use the coupon here: www.imagerecycle.com

ImageRecycle 20% OFF, apply on all memberships: WPMF-20

ImageRecycle got a dedicated plugin for WordPress that run the images and PDF optimization automatically on your website.
In order to start the optimization process, please install the WordPress plugin. Enjoy!

' . esc_html__('Install ImageRecycle plugin', 'wpmf') . ''; } } else { echo ' ' . esc_html__('Install ImageRecycle plugin', 'wpmf') . ''; } } else { if (!is_plugin_active($plugin_file)) { $url = wp_nonce_url( 'options-general.php?page=option-folder&action=activate&plugin=' . $plugin_file, 'activate-plugin_' . $plugin_file ); if (is_multisite()) { /** * Filter check capability of current user to check active plugins on multiple site * * @param boolean The current user has the given capability * @param string Action name * * @return boolean * * @ignore Hook already documented */ $wpmf_capability = apply_filters('wpmf_user_can', current_user_can('manage_network_plugins'), 'activate_network_imagerecycle_plugins'); if ($wpmf_capability) { echo ' ' . esc_html__('Activate Plugin', 'wpmf') . ''; } } else { echo ' ' . esc_html__('Activate Plugin', 'wpmf') . ''; } } } ?>