Skip to content

Commit

Permalink
- Fix – Parse error related to PHP version 7.2
Browse files Browse the repository at this point in the history
Changelog

2.6.1
- Fix – Parse error related to PHP version 7.2
  • Loading branch information
syedaliObjects committed Feb 14, 2023
1 parent 2329789 commit ec18257
Show file tree
Hide file tree
Showing 13 changed files with 1,377 additions and 135 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## 2.5.3 - 2022-06-17
- Improved Settings HTML structure
- Added Note regarding compatibility with login designer within dashboard

## 2.5.2 - 2022-05-26
Made compatibility with [login designer](https://wp.org/plugins/login-designer); Now you can customize the password-protected screen with the customizer using login designer plugin.

## [2.5] - 2021-09-01

### Fixed
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ Features include:
- Password protect your WordPress site with a single password.
- Option to allow access to feeds.
- Option to allow administrators access without entering password.
- Works with Mark Jaquith's [Login Logo](https://wordpress.org/plugins/login-logo/) plugin.
- Works with the [Uber Login Logo](https://wordpress.org/plugins/uber-login-logo/) plugin.
- *New* 👉 Now you can customize the whole password protected screen including the background, font, logo, color e.t.c.

> Please note, this plugin works by setting a cookie to allow access to the site. If you are using a caching plugin or web hosting such as WP Engine that has in-built caching, you will need to configure the caching service to be disabled if the Password Protected cookie is set.
Expand Down Expand Up @@ -73,6 +72,12 @@ If you would like to translate this plugin you can easily contribute at the [Tra

Upgrade Notice
--------------
### 2.5.3
- Improved Settings HTML structure
- Added Note regarding compatibility with login designer within dashboard

### 2.5.2
Made compatibility with [login designer](https://wp.org/plugins/login-designer); Now you can customize the password-protected screen with the customizer using login designer plugin.

### 2.5
Fixes robots tag for WordPress 5.7+
Expand Down
2 changes: 1 addition & 1 deletion admin/admin-bar.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static function load() {
public static function toolbar_item() {

global $wp_admin_bar;

if ( self::allow_current_user() ) {

$wp_admin_bar->add_menu( array(
Expand Down
2 changes: 1 addition & 1 deletion admin/admin-caching.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function cache_settings_info() {
// Caching Section
add_settings_section(
'password_protected_compat_caching',
__( 'Caching', 'password-protected' ),
__( 'Having issue with Caching?', 'password-protected' ),
array( $this, 'section_caching' ),
'password-protected-compat'
);
Expand Down
Loading

0 comments on commit ec18257

Please sign in to comment.