Skip to content

Commit

Permalink
Merge pull request #72 from wpwhitesecurity/develop
Browse files Browse the repository at this point in the history
1.2.1 Release
  • Loading branch information
DannyWPWS committed Jan 31, 2024
2 parents c398861 + bd21e91 commit 9f52ae3
Show file tree
Hide file tree
Showing 17 changed files with 79 additions and 67 deletions.
2 changes: 1 addition & 1 deletion admin/class-ppm-wp-ms-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package wordpress
* @subpackage wpassword
* @author WP White Security
* @author Melapress
*/

namespace PPMWP\Admin;
Expand Down
2 changes: 1 addition & 1 deletion app/enforcers/class-new-user.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package WordPress
* @subpackage wpassword
* @author WP White Security
* @author Melapress
*/

// If check class exists OR not.
Expand Down
2 changes: 1 addition & 1 deletion app/enforcers/class-shortcodes.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package WordPress
* @subpackage wpassword
* @author WP White Security
* @author Melapress
*/

use \PPMWP\Helpers\OptionsHelper;
Expand Down
2 changes: 1 addition & 1 deletion app/enforcers/class-user-profile.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package WordPress
* @subpackage wpassword
* @author WP White Security
* @author Melapress
*/

use \PPMWP\Helpers\OptionsHelper;
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/class-ppm-emailstrings.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package WordPress
* @subpackage wpassword
* @author WP White Security
* @author Melapress
*/

use \PPMWP\Helpers\OptionsHelper;
Expand Down
2 changes: 1 addition & 1 deletion app/login-page-control/class-login-page-control.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* @package WordPress
* @subpackage wpassword
* @author WP White Security
* @author Melapress
*/

use \PPMWP\Helpers\OptionsHelper;
Expand Down
12 changes: 6 additions & 6 deletions languages/ppm-wp.pot
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Copyright (C) 2023 WP White Security
# Copyright (C) 2024 Melapress
# This file is distributed under the GPL v3.
msgid ""
msgstr ""
"Project-Id-Version: Melapress Login Security 1.2.0\n"
"Project-Id-Version: Melapress Login Security 1.2.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/melapress-login-security\n"
"Last-Translator: WP White Security <info@melapress.com>\n"
"Last-Translator: Melapress <info@melapress.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2023-10-03T10:16:31+00:00\n"
"POT-Creation-Date: 2024-01-31T10:51:47+00:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.7.1\n"
"X-Generator: WP-CLI 2.8.1\n"
"X-Domain: ppm-wp\n"

#. Plugin Name of the plugin
Expand All @@ -27,7 +27,7 @@ msgid "Configure password policies and help your users use strong passwords. Ens
msgstr ""

#. Author of the plugin
msgid "WP White Security"
msgid "Melapress"
msgstr ""

#. Author URI of the plugin
Expand Down
8 changes: 4 additions & 4 deletions melapress-login-security.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
/**
* WPassword
*
* @copyright Copyright (C) 2013-2023, WP White Security - support@melapress.com
* @copyright Copyright (C) 2013-2024, Melapress - support@melapress.com
* @license http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3 or higher
*
* @wordpress-plugin
* Plugin Name: Melapress Login Security
* Version: 1.2.0
* Version: 1.2.1
* Plugin URI: https://www.melapress.com/wordpress-plugins/password-security/
* Description: Configure password policies and help your users use strong passwords. Ensure top notch password security on your website by beefing up the security of your user accounts.
* Author: WP White Security
* Author: Melapress
* Author URI: https://www.melapress.com/
* Text Domain: ppm-wp
* Domain Path: /languages/
Expand Down Expand Up @@ -170,7 +170,7 @@ function mls_free_on_plugin_activation() {
/**
* Meta key flag to mark user as blocked.
*/
define( 'PPMWP_VERSION', '1.2.0' );
define( 'PPMWP_VERSION', '1.2.1' );
}

if ( ! defined( 'PPMWP_MENU_SLUG' ) ) {
Expand Down
20 changes: 10 additions & 10 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ Plugin URI: https://melapress.com/wordpress-login-security/
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl.html
Requires at least: 5.0
Tested up to: 6.2.2
Tested up to: 6.3.1
Tags: login security, password security, password policies, password strength, limit login attempts, login, login protection, one click password reset, login security policies
Stable tag: 1.2.0
Stable tag: 1.2.1
Requires PHP: 7.2

Implement customized WordPress login and password security policies with easy to beef up the security of your users and website.
Expand All @@ -14,11 +14,11 @@ Implement customized WordPress login and password security policies with easy to

<strong>IMPLEMENT CUSTOMIZED SECURE WORDPRESS LOGIN POLICIES WITH EFFICIENCY</strong>

Achieve better WordPress login and password security through policies that put you firmly in the drive's seat. With high customizability and granularity, login security policies can be implemented by user role or site-wide for complete control over the security of your websites' login process.
Achieve better WordPress login and password security through policies that put you firmly in the driver's seat. With high customizability and granularity, login security policies can be implemented by user role or site-wide for complete control over the security of your websites' login process.

[FEATURES & BENEFITS](https://melapress.com/wordpress-login-security/features/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=mls) | [UPGRADE TO PREMIUM](https://melapress.com/wordpress-login-security/pricing/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=mls) | [GETTING STARTED](https://melapress.com/support/kb/melapress-login-security-getting-started/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=mls)

Use the free edition of [Melapress Login Security](https://melapress.com/wordpress-login-security/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=mls) to implement WordPress password minimum lengths and complexity. The plugin also allows you to set expiration policies, prevent users from recycling old passwords, limit login attempts, and automatically disable inactive user accounts among other things.
Use the free edition of [Melapress Login Security](https://melapress.com/wordpress-login-security/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=mls) to implement WordPress password minimum length and complexity. The plugin also allows you to set expiration policies, prevent users from recycling old passwords, limit login attempts, and automatically disable inactive user accounts, among other things.

#### MAINTAINED & SUPPORTED BY MELAPRESS

Expand All @@ -42,12 +42,12 @@ Ensure your WordPress users use the most secure password policies through the fo
- Disable password reset links
- Mandate WordPress password reset on the first login
- Define policy priority for users with multiple roles
- Reset all users’ passwords with just one click
- Reset all users' passwords with just one click


## Upgrade to Melapress Login Security and get more

The premium edition of Melapress Login Security comes bundled with even more features with which you can take your WordPress website login security to the next level. disable inactive WordPress user accounts]() and force passwords to be reset once accounts have been unlocked. Inactive accounts can be managed within a single dashboard for increased efficiency and faster response times. Moreover, you can set accounts to be locked out after a number of failed login attempts and customize the duration and method of unlocking them.
The premium edition of Melapress Login Security comes bundled with even more features, which enable you to take your WordPress website login security to the next level. Disable inactive WordPress user accounts and force passwords to be reset once accounts have been unlocked. Inactive accounts can be managed within a single dashboard for increased efficiency and faster response times. Moreover, you can set accounts to be locked out after a number of failed login attempts and customize the duration and method of unlocking them.

### Features list

Expand All @@ -56,8 +56,8 @@ The premium edition of Melapress Login Security comes bundled with even more fea
- [Limit failed login attempts](https://melapress.com/support/kb/melapress-login-security-failed-logins-policy-wordpress/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=mls) and automatically disable user accounts after a number of failed login attempts
- Automatically [disable inactive WordPress users[https://melapress.com/inactive-users-wordpress/?utm_source=wp+repo&utm_medium=repo+link&utm_campaign=wordpress_org&utm_content=mls) after a set time
- Change the WordPress login page URL (and set a 404 for the old page)
- Restrict WordPress users' login time by day and / or ours
- Receive detailed weekly summary reports over email of password resets and changes, user account lockouts and more
- Restrict WordPress users' login time by day and/or hours
- Receive detailed weekly summary reports over email of password resets and changes, user account lockouts, and more



Expand All @@ -83,14 +83,14 @@ You can find more detailed information about WordPress website security, passwor
=== Install the plugin from within WordPress ===

1. Navigate to Plugins > Add New
2. Search for ˜Melapress Login Security
2. Search for "Melapress Login Security"
3. Install & activate Melapress Login Security from your Plugins page

=== Install the plugin manually (via file upload) ===

1. Download the plugin from the WordPress plugins repository
2. Unzip the zip file and upload the folder to the /wp-content/plugins/ directory
3. Activate the Melapress Login Security plugin through the "Plugins" menu in WordPress
3. Activate the Melapress Login Security plugin through the Plugins page in WordPress

== Screenshots ==

Expand Down
2 changes: 1 addition & 1 deletion vendor/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

require_once __DIR__ . '/composer/autoload_real.php';

return ComposerAutoloaderInit4f22abb7930d93bead5c3e2fc5e90008::getLoader();
return ComposerAutoloaderInitd674b0d3062349c1572a7e9086aacc6c::getLoader();
8 changes: 4 additions & 4 deletions vendor/composer/autoload_real.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

// autoload_real.php @generated by Composer

class ComposerAutoloaderInit4f22abb7930d93bead5c3e2fc5e90008
class ComposerAutoloaderInitd674b0d3062349c1572a7e9086aacc6c
{
private static $loader;

Expand All @@ -22,15 +22,15 @@ public static function getLoader()
return self::$loader;
}

spl_autoload_register(array('ComposerAutoloaderInit4f22abb7930d93bead5c3e2fc5e90008', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitd674b0d3062349c1572a7e9086aacc6c', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit4f22abb7930d93bead5c3e2fc5e90008', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitd674b0d3062349c1572a7e9086aacc6c', 'loadClassLoader'));

$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';

call_user_func(\Composer\Autoload\ComposerStaticInit4f22abb7930d93bead5c3e2fc5e90008::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitd674b0d3062349c1572a7e9086aacc6c::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Composer\Autoload;

class ComposerStaticInit4f22abb7930d93bead5c3e2fc5e90008
class ComposerStaticInitd674b0d3062349c1572a7e9086aacc6c
{
public static $prefixLengthsPsr4 = array (
'P' =>
Expand Down Expand Up @@ -60,9 +60,9 @@ class ComposerStaticInit4f22abb7930d93bead5c3e2fc5e90008
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit4f22abb7930d93bead5c3e2fc5e90008::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit4f22abb7930d93bead5c3e2fc5e90008::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit4f22abb7930d93bead5c3e2fc5e90008::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitd674b0d3062349c1572a7e9086aacc6c::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitd674b0d3062349c1572a7e9086aacc6c::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitd674b0d3062349c1572a7e9086aacc6c::$classMap;

}, null, ClassLoader::class);
}
Expand Down
12 changes: 6 additions & 6 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
[
{
"name": "deliciousbrains/wp-background-processing",
"version": "1.1.1",
"version_normalized": "1.1.1.0",
"version": "1.2",
"version_normalized": "1.2.0.0",
"source": {
"type": "git",
"url": "https://github.com/deliciousbrains/wp-background-processing.git",
"reference": "ebbed762c42e70e76573ffbd36e591378ba5f2ee"
"reference": "a0018fea79b8e752f41b6a26d6b9b3397d15c52e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/deliciousbrains/wp-background-processing/zipball/ebbed762c42e70e76573ffbd36e591378ba5f2ee",
"reference": "ebbed762c42e70e76573ffbd36e591378ba5f2ee",
"url": "https://api.github.com/repos/deliciousbrains/wp-background-processing/zipball/a0018fea79b8e752f41b6a26d6b9b3397d15c52e",
"reference": "a0018fea79b8e752f41b6a26d6b9b3397d15c52e",
"shasum": ""
},
"require": {
Expand All @@ -27,7 +27,7 @@
"suggest": {
"coenjacobs/mozart": "Easily wrap this library with your own prefix, to prevent collisions when multiple plugins use this library"
},
"time": "2023-07-18T10:22:06+00:00",
"time": "2023-07-20T15:40:50+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
* @package WP-Background-Processing
*/

// phpcs:disable Generic.Commenting.DocComment.MissingShort
/** @noinspection PhpIllegalPsrClassPathInspection */
/** @noinspection AutoloadingIssuesInspection */
// phpcs:disable Generic.Commenting.DocComment.MissingShort

/**
* Abstract WP_Async_Request class.
*
Expand Down Expand Up @@ -139,7 +144,7 @@ protected function get_post_args() {
}

$args = array(
'timeout' => 0.01,
'timeout' => 5,
'blocking' => false,
'body' => $this->data,
'cookies' => $_COOKIE, // Passing cookies ensures request is performed as initiating user.
Expand Down Expand Up @@ -178,6 +183,7 @@ public function maybe_handle() {
* @param mixed $return What to return if filter says don't die, default is null.
*
* @return void|mixed
* @noinspection ForgottenDebugOutputInspection
*/
protected function maybe_wp_die( $return = null ) {
/**
Expand Down
Loading

0 comments on commit 9f52ae3

Please sign in to comment.