{"id":144003,"date":"2021-07-13T08:13:04","date_gmt":"2021-07-13T08:13:04","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/bulk-plugin-toggle\/"},"modified":"2026-06-09T22:44:50","modified_gmt":"2026-06-09T22:44:50","slug":"bulk-plugin-toggle","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/bulk-plugin-toggle\/","author":3606,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"1.0.4","tested":"7.0","requires":"4.9","requires_php":"5.4","requires_plugins":null,"header_name":"Bulk Plugin Toggle","header_author":"Scott Reilly","header_description":"Adds \"Toggle\" as a bulk action for the plugins listing to toggle the activation state for selected plugins.","assets_banners_color":"0073aa","last_updated":"2026-06-09 22:44:50","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=6ARCFJ9TX3522","header_plugin_uri":"https:\/\/coffee2code.com\/wp-plugins\/bulk-plugin-toggle\/","header_author_uri":"https:\/\/coffee2code.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1623,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"coffee2code","date":"2021-07-13 08:12:45"},"1.0.1":{"tag":"1.0.1","author":"coffee2code","date":"2021-07-14 05:56:33"},"1.0.2":{"tag":"1.0.2","author":"coffee2code","date":"2021-11-27 08:06:43"},"1.0.3":{"tag":"1.0.3","author":"coffee2code","date":"2025-02-21 07:14:06"},"1.0.4":{"tag":"1.0.4","author":"coffee2code","date":"2026-06-09 22:44:50"}},"upgrade_notice":{"1.0.4":"<p>Trivial update: added missing textdomain for some string translations, prevented PHP warning in certain contexts, noted compatibility through WP 7.0+, and updated copyright date (2026).<\/p>","1.0.3":"<p>Trivial update: prevented translations from containing unintended markup, noted compatibility through WP 6.7+, removed unit tests from release packaging, and updated copyright date (2025).<\/p>","1.0.2":"<p>Trivial update: noted compatibility through WP 5.8+.<\/p>","1.0.1":"<p>Trivial update: noted compatibility through WP 5.7+, rearranged unit test files and directories slightly, tweaked some documentation, and updated copyright date (2021).<\/p>","1.0":"<p>Initial public release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2563305,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2563305,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2563305,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2563305,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.0.3","1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2563305,"resolution":"1","location":"assets","locale":"","width":1086,"height":868}},"screenshots":{"1":"The \"Toggle\" option in the \"Bulk Actions\" dropdown for the admin plugins listing."}},"plugin_section":[],"plugin_tags":[83,4922,2758,2391,2133],"plugin_category":[],"plugin_contributors":[78189],"plugin_business_model":[],"class_list":["post-144003","plugin","type-plugin","status-publish","hentry","plugin_tags-admin","plugin_tags-bulk-actions","plugin_tags-coffee2code","plugin_tags-plugins","plugin_tags-toggle","plugin_contributors-coffee2code","plugin_committers-coffee2code"],"banners":{"banner":"https:\/\/ps.w.org\/bulk-plugin-toggle\/assets\/banner-772x250.png?rev=2563305","banner_2x":"https:\/\/ps.w.org\/bulk-plugin-toggle\/assets\/banner-1544x500.png?rev=2563305","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/bulk-plugin-toggle\/assets\/icon-128x128.png?rev=2563305","icon_2x":"https:\/\/ps.w.org\/bulk-plugin-toggle\/assets\/icon-256x256.png?rev=2563305","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/bulk-plugin-toggle\/assets\/screenshot-1.png?rev=2563305","caption":"The \"Toggle\" option in the \"Bulk Actions\" dropdown for the admin plugins listing."}],"raw_content":"<!--section=description-->\n<p>This plugin adds \"Toggle\" as a bulk action for the plugins listing to toggle the activation state for selected plugins.<\/p>\n\n<p>From the admin listing of plugins you can now select multiple plugins and choose \"Toggle\" from the \"Bulk actions\" dropdown. When applied, all selected plugins that are currently activated will become deactivated, and all selected plugins that are currently deactivated will become activated.<\/p>\n\n<p>Links: <a href=\"https:\/\/coffee2code.com\/wp-plugins\/bulk-plugin-toggle\/\">Plugin Homepage<\/a> | <a href=\"https:\/\/wordpress.org\/plugins\/bulk-plugin-toggle\/\">Plugin Directory Page<\/a> | <a href=\"https:\/\/github.com\/coffee2code\/bulk-plugin-toggle\/\">GitHub<\/a> | <a href=\"https:\/\/coffee2code.com\/\">Author Homepage<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install via the built-in WordPress plugin installer. Or install the plugin code inside the plugins directory for your site (typically <code>\/wp-content\/plugins\/<\/code>).<\/li>\n<li>Activate the plugin through the 'Plugins' admin menu in WordPress<\/li>\n<li>From the admin 'Plugins' page, select the checkboxes for plugins whose activation state you'd like to toggle, then from the \"Bulk Actions\" dropdown (found above-left and below-left of the table) choose \"Toggle\" and press the \"Apply\" button to submit. Any selected plugins that were active will get deactivated and any that were deactive will get activated.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"why%20isn%27t%20%22toggle%22%20present%20in%20the%20bulk%20actions%20dropdown%20for%20plugins%20for%20me%3F\"><h3>Why isn't \"Toggle\" present in the bulk actions dropdown for plugins for me?<\/h3><\/dt>\n<dd><p>The \"Toggle\" bulk action is only available to users who have both the \"activate_plugins\" and \"deactivate_plugins\" capabilities, which generally implies administrators. The toggle is also only shown when looking at the \"All\" or \"Update Available\" views.<\/p><\/dd>\n<dt id=\"does%20this%20plugin%20include%20unit%20tests%3F\"><h3>Does this plugin include unit tests?<\/h3><\/dt>\n<dd><p>Yes. The tests are not packaged in the release .zip file or included in plugins.svn.wordpress.org, but can be found in the <a href=\"https:\/\/github.com\/coffee2code\/bulk-plugin-toggle\/\">plugin's GitHub repository<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4 (2026-06-09)<\/h4>\n\n<ul>\n<li>Fix: Add missing textdomain for string translations<\/li>\n<li>Fix: Prevent PHP warning in instances where a global array key is not set<\/li>\n<li>Change: Prevent unnecessary Plugin Check warnings<\/li>\n<li>Change: Note compatibility through WP 7.0+<\/li>\n<li>Change: Note compatibility through PHP 8.5+<\/li>\n<li>Change: Update copyright date (2026)<\/li>\n<\/ul>\n\n<h4>1.0.3 (2025-01-19)<\/h4>\n\n<ul>\n<li>Change: Prevent translations from containing unintended markup<\/li>\n<li>Change: Note compatibility through WP 6.7+<\/li>\n<li>Change: Update copyright date (2025)<\/li>\n<li>Change: Tweak formatting in <code>README.md<\/code><\/li>\n<li>New: Add <code>.gitignore<\/code> file<\/li>\n<li>Change: Remove development and testing-related files from release packaging<\/li>\n<li>Unit tests:\n\n<ul>\n<li>Hardening: Prevent direct web access to <code>bootstrap.php<\/code><\/li>\n<li>Allow tests to run against current versions of WordPress<\/li>\n<li>New: Add <code>composer.json<\/code> for PHPUnit Polyfill dependency<\/li>\n<li>Change: Prevent PHP warnings due to missing core-related generated files<\/li>\n<li>Change: In bootstrap, add backcompat for PHPUnit pre-v6.0<\/li>\n<li>Change: In bootstrap, store path to plugin file constant<\/li>\n<li>New: Add script to install WP for unit testing<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>1.0.2 (2021-11-27)<\/h4>\n\n<ul>\n<li>Change: Note compatibility through WP 5.8+<\/li>\n<li>Change: Unit tests: In bootstrap, move definition of constant for plugin file directory to top of file<\/li>\n<\/ul>\n\n<p><em>Full changelog is available in <a href=\"https:\/\/github.com\/coffee2code\/bulk-plugin-toggle\/blob\/master\/CHANGELOG.md\">CHANGELOG.md<\/a>.<\/em><\/p>","raw_excerpt":"Adds &quot;Toggle&quot; as a bulk action for the plugins listing to toggle the activation state for selected plugins.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/144003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/users\/3606"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=144003"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=144003"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=144003"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=144003"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=144003"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=144003"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=144003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}