Plugin Directory

Changeset 1847655


Ignore:
Timestamp:
03/27/2018 09:38:57 AM (8 years ago)
Author:
deformator
Message:

Hot fix. Squash some bugs from previous version (change user capabilities)

Location:
replain
Files:
24 added
2 edited

Legend:

Unmodified
Added
Removed
  • replain/trunk/readme.txt

    r1846681 r1847655  
    44Tested up to: 4.9.4
    55Requires PHP: 5.2.4
    6 Stable tag: 1.3
     6Stable tag: 1.4
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    5454= 1.3 =
    5555* Improved error reporting.
     56
     57= 1.4 =
     58* Hot fix. Squash some bugs from previous version (change user capabilities).
  • replain/trunk/replain.php

    r1846681 r1847655  
    55Plugin URI: http://wordpress.org/plugins/replain/
    66Description: The simplest live chat in the world. The first live chat in your messenger. Messages from the site come directly to your Telegram. Re:plain For those who need customers, not data.
    7 Version: 1.3
     7Version: 1.4
    88Author: Re:plain
    99Author URI: http://replain.cc
     
    123123    if ( isset( $_POST[ $nonce_name ] ) ) {
    124124        if ( wp_verify_nonce( $_POST[$nonce_name], $nonce_action ) ) {
    125             if ( current_user_can( 'edit_plugins' ) ) {
     125            if ( current_user_can( 'manage_options' ) ) {
    126126                if ( isset( $_POST[$enabled_name] ) ) {
    127127                    update_option( $enabled_name, ( (boolean)$_POST[$enabled_name] ) );
Note: See TracChangeset for help on using the changeset viewer.