=== Blogger Checklist ===
Contributors: wptechsllc
Tags: blogging, checklist, social media, content management, wordpress tools
Requires at least: 5.0
Tested up to: 6.4
Stable tag: 2.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wptechs-blogger-checklist

A robust tool for managing blog post checklists, featuring fields for social media assets, newsletter inclusion, video tracking, and notes. Built by the WPTechs LLC team to streamline content workflows for WordPress sites.

== Description ==
Blogger Checklist is a powerful yet simple plugin designed to help WordPress users manage their blog content efficiently. Whether you're tracking Pinterest images, Instagram assets, newsletter features, or video content, this plugin provides a clean, user-friendly interface to keep everything organized.

Developed by WPTechs LLC (https://wptechs.net). Contact: https://wptechs.net/contact-us/

== Installation ==
1. Upload the `blogger-checklist` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to the 'Blogger Checklist' menu item in the admin sidebar.

== Features ==
- Checklist fields for Pinterest images (1-3), Instagram image, newsletter status, video presence, and notes.
- Admin page with pagination (25 posts per page), search, and filtering by status and content fields.
- Export checklist data to CSV.
- Status page with health checks plus private distribution auto-update checker.
- Neat Tools page:
  - Dashboard Cleaner (keep "At a Glance" and "Activity")
  - Admin Bar Cleaner (hide New Content, Comments, WP Logo)
  - Delete Pending Comments
  - Delete Unused Tags
  - Delete Unused Categories (excluding Uncategorized)
- Responsive admin styling.

== Changelog ==
= 2.4 - 2025-12-17 =
* Refactor codebase + performance optimizations.
* New features in Tools section to delete transients, spam comments, empty trash.

= 2.3 - 2025-02-21 =
* Fixed Dashboard Cleaner to ensure "At a Glance" widget (`dashboard_glance`) remains visible.

= 2.2 - 2025-02-21 =
* Fixed Dashboard Cleaner to remove WPForms (`wpforms_reports_widget_lite`) and Yoast SEO (`wpseo-dashboard-overview`) widgets.
* Added explicit removal for WooCommerce widgets (`woocommerce_dashboard_status`, `woocommerce_dashboard_recent_reviews`).
* Added Admin Bar Cleaner to Neat Tools: Checkbox to hide "New Content", "Comments", and "WP Logo" from the admin bar.

= 2.1 - 2025-02-21 =
* Fixed fatal error from duplicate `blogger_checklist_status_page()` declaration.
* Added "Neat Tools" admin page with:
  - Dashboard Cleaner: Checkbox to hide all dashboard widgets except "At a Glance" and "Activity".
  - Delete Pending Comments: Bulk action to remove all unapproved comments.
  - Unused Tags Cleaner: Tool to delete tags with no associated posts.
  - Unused Categories Cleaner: Tool to delete categories with no posts (excluding "Uncategorized").
* Enhanced Status page with new checks:
  - Post Count: Total posts tracked in the checklist.
  - Pending Comments: Number of comments awaiting moderation.

= 2.0 - 2025-02-21 =
* Enhanced Status page: "Download Update" button now auto-downloads, installs, and activates the latest plugin version from wptechs.net using WP_Upgrader.

= 1.8.3 - 2025-02-21 =
* Fixed pagination not updating posts or highlighting by preventing duplicate `add_args` and syncing `$paged` correctly.

= 1.8.2 - 2025-02-21 =
* Fixed fatal error on activation caused by `get_query_var('paged')` in wrong context; simplified pagination to use `$_GET['paged']` directly.

= 1.8.1 - 2025-02-21 =
* Fixed pagination not changing pages or highlighting current page by syncing `$paged` with WordPress query vars (reverted due to activation error).

= 1.8 - 2025-02-21 =
* Fixed pagination styling not applying by confirming CSS load with debug background.
* Added update checker to Status page: button checks latest version at wptechs.net and offers download link if newer.

= 1.7 - 2025-02-21 =
* Improved pagination styling with spaced, button-like links, hover effects, and better mobile usability.
* Renamed plugin to "Blogger Checklist" (from "WPTechs Blogger Checklist") for a subtler title while retaining WPTechs LLC authorship.

= 1.6 - 2025-02-21 =
* Added filters for "Missing Pinterest," "Missing Instagram," "Missing Newsletter," and "Missing Video" with "All," "Missing," and "Present" options.
* Updated query logic to support multiple filters.
* Enhanced `.checklist-filters` CSS for multiple dropdowns.

= 1.5 - 2025-02-21 =
* Added status filter ("All", "Complete", "Incomplete") to sort checklist entries.
* Updated CSS to style the filter dropdown.

= 1.4.2 - 2025-02-21 =
* Removed redundant `.checklist-entries::before` pseudo-header from CSS since individual field labels are now in HTML.
* White-labeled plugin for WPTechs LLC with updated description and author details.
* Bumped version to bust cache for CSS updates.

= 1.4.1 - 2025-02-21 =
* Fixed CSS loading issues by confirming enqueue and adding debug background color.
* Restored status dots with correct colors (green for "Complete", red for "Incomplete") using `.status::before`.
* Ensured desktop layout uses flexbox for table-like columns and rows.

= 1.4 - 2025-02-21 =
* Added "Status" submenu page with health checks (PHP 8.1+, WordPress 6.0+, database, stylesheet, etc.) using green/red checkmarks.
* Removed debug "Styles loaded" message from main page.
* Adjusted CSS for better mobile spacing and desktop column layout.

= 1.3.1 - 2025-02-21 =
* Added `data-label` attributes to fields for mobile CSS labeling.
* Fixed mobile layout issues with debug indicators to confirm CSS loading.

= 1.3 - 2025-02-21 =
* Fixed unexpected output during activation with output buffering (`ob_start()`, `ob_end_clean()`).
* Enhanced desktop and mobile styling with `style.css`.

= 1.2 - 2025-02-21 =
* Resolved `htmlspecialchars()` deprecation error for `notes` field by setting `NOT NULL DEFAULT ''` in database and updating inserts.
* Improved mobile responsiveness with initial `style.css`.

= 1.1 - 2025-02-21 =
* Fixed blank admin page by ensuring database table creation and populating existing posts.
* Added debug logging and error handling.

= 1.0 - 2025-02-21 =
* Initial release with core features: checklist admin page, database table, pagination, search, and CSV export.

== Support ==
For assistance, reach out to WPTechs LLC at https://wptechs.net/contact-us/.
