Skip to content

Commit

Permalink
Added security checks to public views
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGL committed Aug 17, 2024
1 parent ce29b4a commit cef0c82
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simpay/simpay-wordpress",
"version": "2.2.2",
"version": "2.2.3",
"type": "library",
"require": {
"simpaypl/simpay": "^2.2"
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: darkgl
Donate link: https://darkgl.pl/
Tags: simpay, payments, directbiling, sms
Requires at least: 6.0
Tested up to: 6.3.1
Stable tag: 2.2.2
Tested up to: 6.6.1
Stable tag: 2.2.3
Requires PHP: 8.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down
2 changes: 1 addition & 1 deletion simpay-wordpress.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: SimPay Wordpress
* Plugin URI: https://simpay.pl
* Description: Use SimPay SMS service to use during registration or access to the post.
* Version: 2.2.2
* Version: 2.2.3
* Author: SimPay
* Author URI: https://simpay.pl
* License: GPL-2.0+
Expand Down
4 changes: 4 additions & 0 deletions view/public/paywall/access-denied-alert.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<?php if (!defined('ABSPATH')) {
exit;
} ?>

<div class="simpay-alert-paywall">
<h2>Dziękujemy za zainteresowanie!</h2>
<p>Dostęp do treści na tej stronie jest zarezerwowany tylko dla płatnych użytkowników.</p>
Expand Down
4 changes: 4 additions & 0 deletions view/public/register/register-form.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<?php if (!defined('ABSPATH')) {
exit;
} ?>

<p class="message">
Aby się zarejestrować, wyślij SMS <br>na numer
<strong><?php echo $smsNumber; ?></strong><br>
Expand Down

0 comments on commit cef0c82

Please sign in to comment.