=== Multi Tab ===
Contributors: rwky
Donate link: https://www.paypal.me/eduardvd
Tags: multi tab,admin tools,open multiple posts,open multiple products,open tabs
Requires at least: 4.7
Tested up to: 6.9.3
Stable tag: 1.1
Requires PHP: 5.6
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Adds a button in WordPress admin to open selected posts, pages, products, or any CPT in new tabs.

== Description ==

Multi Tab enhances the WordPress admin list tables by adding a simple but powerful feature:
open multiple selected items in new browser tabs with a single click.

The plugin works across all post types (including WooCommerce products) and is designed to be lightweight, fast, and safe.

It uses a single, consolidated script and integrates cleanly into the admin UI without affecting frontend performance.

== Features ==

- Works with ALL post types (posts, pages, products, custom CPTs)
- Adds a button directly in the admin list table actions area
- Opens selected items (checkboxes) in new tabs
- Lightweight: loads only in admin
- No impact on frontend performance
- Single-file architecture (simplified and maintainable)

== Important Note (Browser Limitation) ==

Modern browsers (Chrome, Edge, etc.) may block multiple tabs opened programmatically.

Result:
- First tab opens normally
- Remaining tabs may be blocked by popup protection

This is expected behavior and cannot be bypassed programmatically.

Workaround:
Allow popups for your domain in browser settings.

== Installation ==
1. Download the plugin
2. Upload to `/wp-content/plugins/`
3. Activate the plugin
4. Navigate to any post list (Posts, Pages, Products, etc.)
5. Select items and use the Multi Tab button

== Frequently Asked Questions ==

= Why does it open only one tab? =
Because modern browsers block multiple programmatic tab openings.
You need to allow popups for your site.

= Does it work with WooCommerce? =
Yes, including products and any custom post type.

= Does it affect performance? =
No. It loads only in admin and is extremely lightweight.

== Screenshots ==
1. /assets/screenshot-1.png

== Changelog ==

= 1.1 =
* Reworked plugin into a single-file architecture (PHP + JS consolidated)
* Added support for all custom post types (not just posts/pages/products)
* Improved button integration in admin list tables
* Updated JavaScript logic for better stability
* Clarified browser popup limitation behavior
* Updated documentation and compatibility

= 1.0.4 =
* Small performance update, improved readability, small docs update

= 1.0.2 =
* Small updates in the plugin documentation and code

= 1.0.1 =
* Documentation update

= 1.0 =
* Initial release

== Upgrade Notice ==

= 1.1 =
Major internal cleanup and CPT support. No action required.