=== SPRL URL Shortener ===

Contributors: sprl
Tags: url shortener, short links, qr code, link tracking, branded links, link management
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.1.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Generate short URLs directly from WordPress using SPRL. Create branded links, custom aliases, QR codes, and manage your links from the WordPress dashboard.

== Description ==

SPRL URL Shortener helps bloggers, marketers, agencies, businesses, and website owners create professional short URLs directly from WordPress.

Whether you're sharing blog posts, landing pages, products, or marketing campaigns, SPRL makes link management simple and efficient.

Features include:

* Generate short URLs instantly
* Create custom aliases (logged-in users)
* Generate QR codes
* Copy links with one click
* Secure SPRL account integration
* Link management from WordPress
* Analytics-ready architecture for future enhancements

== Free & Account Features ==

You can start shortening URLs immediately without creating an account.

Guest users can create short URLs with usage limits.

SPRL account holders receive additional benefits including:

* Higher usage limits
* Custom aliases
* Account-based link management
* Future analytics and advanced features

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/sprl-url-shortener` directory, or install the plugin through the WordPress plugins screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Open the SPRL menu from the WordPress admin dashboard.
4. Optionally login with your SPRL account for advanced features.
5. Start creating short URLs.

== Frequently Asked Questions ==

= Do I need a SPRL account? =

No. You can generate short URLs without creating an account. Guest users are subject to usage limits.

= What are the benefits of logging in? =

Logged-in users can access additional features such as custom aliases, higher usage limits, and future premium capabilities.

= Can I create custom short URLs? =

Yes. Custom aliases are available for authenticated users.

= Does the plugin generate QR codes? =

Yes. QR code generation is included.

= Is the plugin free to use? =

Yes. The plugin is free to use. Some advanced features may require a SPRL account.

== External Services ==

This plugin connects to external services to provide URL shortening and QR code generation.

= SPRL API =

This plugin uses the SPRL API (https://insprl.com) to generate and manage shortened URLs.

The plugin can be used without creating a SPRL account. Guest users can generate short URLs with usage limits. Logging into a SPRL account enables additional features such as custom aliases and account-based link management.

Data sent:
* Original URL entered by the user.
* Custom alias (if provided).
* Authentication credentials during login.
* Authentication token for authenticated requests (when applicable).

Data is transmitted only when the user generates a short URL, logs into their SPRL account, or performs account-related actions within the plugin.

Privacy Policy:
https://insprl.com/page/privacy-policy

Terms of Service:
https://insprl.com/page/terms

= QR Code Service =

This plugin uses api.qrserver.com to generate QR code images.

Data sent:
* The shortened URL.
* The requested QR code size.

Data is transmitted only when the user chooses to generate a QR code.

Privacy Policy:
https://goqr.me/privacy-safety-security/

Terms of Service:
https://goqr.me/legal/tos-api.html

== Changelog ==

= 1.1.2 =

* Updated the plugin text domain to match the plugin slug for WordPress internationalization.

= 1.1.1 =

* Improved security by sanitizing and validating AJAX input.
* Escaped output according to WordPress Coding Standards.
* Added capability checks for AJAX actions.
* Added external services documentation.

= 1.1.0 =

* Initial public release
* URL shortening
* Guest URL shortening support
* SPRL account login support
* Custom aliases
* QR code generation
* Persistent login sessions