=== Draeger-IT Media Kit Generator ===
Contributors: stdr1980
Donate link: https://en.tipeee.com/draeger-itblog
Tags: creator, influencer, social media, pdf, marketing
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
Stable tag: 1.5.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Create, manage, archive and share a bilingual creator media kit as PDF directly from WordPress.

== Description ==

Draeger-IT Media Kit Generator helps creators, bloggers and publishers maintain a professional media kit directly in WordPress.

The plugin stores profile data, social reach, monthly blog traffic, collaboration formats, pricing notes and usage-rights information in WordPress. It can then generate a bilingual PDF report and save it as a normal attachment in the Media Library.

Features include:

* Creator / brand profile and contact information.
* Logo selection from the WordPress Media Library.
* Social-media channels and follower counts.
* Monthly blog views with a weighted daily average over the latest six months.
* A compact six-month blog-views chart in the PDF.
* Collaboration formats and guideline prices.
* Separate usage / advertising-rights notes.
* German and English PDF pages.
* PDF history using a native WordPress list table.
* Permanent deletion of generated reports from the Media Library.
* A stable `/media-kit/latest/` URL that always redirects to the newest report.
* `[media_kit_generator_link]` shortcode for linking to the latest report.
* No external API, analytics service or tracking dependency.

The plugin does not send Media Kit data to third-party services.

An **About & Support** admin page provides author information, the Draeger-IT blog link and a direct support email address for problems, questions and inquiries.

== Installation ==

1. Upload the plugin ZIP from **Plugins > Add New > Upload Plugin**, or install it from the WordPress Plugin Directory.
2. Activate **Draeger-IT Media Kit Generator**.
3. Open **Media Kit** in the WordPress admin menu.
4. Add your profile, channels, monthly blog views and collaboration details.
5. Click **Save & generate PDF**.
6. Open the **PDF** tab to access generated reports and the permanent latest-report URL.

== Frequently Asked Questions ==

= Does the plugin use an external service? =

No. The plugin stores its data in WordPress and generates PDFs locally on the WordPress server.

= Where are generated PDFs stored? =

Generated PDFs are registered as normal WordPress Media Library attachments.

= What happens when I delete a generated PDF in the plugin? =

The attachment and the corresponding PDF file are permanently deleted from WordPress.

= What does `/media-kit/latest/` do? =

It is a stable public URL that responds with a temporary redirect to the newest generated Media Kit PDF.

= Does uninstalling the plugin delete my PDFs and logos? =

No. Plugin options, plugin tables and plugin-specific metadata are removed. Existing Media Library files remain untouched.

= Does the plugin support older private Draeger-IT versions? =

Yes. Version 1.5.0 includes a one-time migration for settings and custom tables created by earlier `dit_mk_*` versions.

== Screenshots ==

1. Media Kit profile and contact settings.
2. Social media reach and channel management.
3. Monthly blog views and performance overview.
4. Collaboration formats and pricing.
5. Generated Media Kit PDF management and permanent latest-report URL.
6. About and support page.
7. Example of the generated bilingual Media Kit PDF.

== Changelog ==

= 1.5.5 =
* Renamed the plugin to **Draeger-IT Media Kit Generator** following the WordPress.org review.
* Updated the public plugin slug and text domain to `draeger-it-media-kit-generator`.
* Updated plugin file names, admin slugs, asset handles and translation template to match the assigned WordPress.org slug.
* Kept existing database options, custom tables, migration identifiers, public latest-PDF route and shortcodes unchanged for data compatibility.

= 1.5.4 =
* Added the Tipeee donation link for Draeger-IT.
* Replaced the rarely used `media kit` tag with broader directory tags.
* Added the WordPress.org Screenshots section with seven planned screenshots.

= 1.5.3 =
* Resolved the final three Plugin Check `NoCaching` warnings for one-time migration write queries.
* Added the WordPress.org contributor `stdr1980`.

= 1.5.2 =
* Resolved Plugin Check nonce warnings for save helpers by passing already nonce-protected request data into those methods.
* Added explicit PHPCS documentation for read-only admin query parameters that do not require nonces.
* Added object-cache handling for custom-table reads and cache invalidation after writes.
* Documented justified direct database access to plugin-owned custom tables for Plugin Check / PHPCS.
* Cleaned up Multisite uninstall variables by moving them into a prefixed function scope.
* Removed the empty Contributors header until a valid WordPress.org username is supplied.
* Avoided inspecting the unsanitized uploaded filename when checking whether a logo was uploaded.

= 1.5.1 =
* Added a dedicated **About & Support** admin page.
* Added author information for Stefan Draeger / Draeger-IT.
* Added direct links to `draeger-it.blog` and `info@draeger-it.blog`.
* Added a support checklist for useful technical problem reports.
* Added a privacy reminder not to send passwords or other secrets.
* Added a support link to the plugin action links and a blog link to plugin row metadata.

= 1.5.0 =
* WordPress.org release-candidate cleanup.
* Changed the public text domain to `draeger-it-media-kit-generator`.
* Replaced short PHP prefixes with unique plugin-specific class and constant names.
* Added migration support for earlier `dit_mk_*` settings and tables.
* Hardened direct database queries with `wpdb::prepare()` and `%i` identifiers.
* Added translatable admin strings and localized JavaScript strings.
* Added GPL license information and WordPress.org `readme.txt`.
* Added a deactivation cleanup for rewrite rules.
* Removed PHP error-suppression operators from file handling.
* Kept generated PDFs and uploaded logos intact during uninstall.

== Upgrade Notice ==

= 1.5.5 =
Renames the public plugin identity to Draeger-IT Media Kit Generator and aligns the text domain with the assigned WordPress.org slug. Existing plugin data remains compatible.

= 1.5.4 =
WordPress.org readme cleanup: donation link, directory tags and screenshots metadata.

= 1.5.3 =
Final Plugin Check cleanup and WordPress.org contributor metadata.

= 1.5.2 =
Plugin Check cleanup and review hardening for WordPress.org submission.

= 1.5.1 =
Adds an About & Support page with author, blog and direct support contact information.

= 1.5.0 =
This version migrates data from earlier private `dit_mk_*` releases automatically.

