Plugin Directory

Changeset 3484703


Ignore:
Timestamp:
03/17/2026 11:18:04 AM (11 days ago)
Author:
wpexpertsio
Message:

Fixed: NUA-1332

Location:
new-user-approve/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • new-user-approve/trunk/includes/user-list.php

    r3442291 r3484703  
    604604       ); ?></option>
    605605                        <?php endif; ?>
    606                         <?php foreach (["approve", "deny"] as $status): ?>
     606                        <?php foreach (["approved", "denied"] as $status): ?>
    607607                            <option
    608608                                value="<?php echo esc_attr($status); ?>"<?php selected(
  • new-user-approve/trunk/new-user-approve.php

    r3457721 r3484703  
    55 * Description: Allow administrators to approve users once they register. Only approved users will be allowed to access the site. For support, please go to the <a href="http://wordpress.org/support/plugin/new-user-approve">support forums</a> on wordpress.org.
    66 * Author: New User Approve
    7  * Version: 3.2.4
     7 * Version: 3.2.5
    88 * Author URI: https://newuserapprove.com/
    99 * Text Domain: new-user-approve
     
    1515
    1616if (!defined("NUA_VERSION")) {
    17     define("NUA_VERSION", "3.2.4");
     17    define("NUA_VERSION", "3.2.5");
    1818}
    1919
  • new-user-approve/trunk/readme.txt

    r3457721 r3484703  
    55Requires at least: 4.0
    66Tested up to: 6.9
    7 Stable tag: 3.2.4
     7Stable tag: 3.2.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    176176
    177177== Changelog ==
     178
     179= 3.2.5 =
     180* Fixed - Status value mismatch issue in user edit screen.
    178181
    179182= 3.2.4 =
  • new-user-approve/trunk/src/components/wp-editor/WPEditor.js

    r3442291 r3484703  
    1 import React, { useEffect, useState, useRef } from "react";
     1import React, {useEffect, useState, useRef} from "react";
    22
    3 const WPEditor = ({ editorId, editorName, onChange, editorContent }) => {
     3const WPEditor = ({editorId, editorName, onChange, editorContent}) => {
    44  const [content, setContent] = useState(editorContent);
    55  const [loading, setLoading] = useState(true);
     
    4949              const newContent = editor.getContent();
    5050              setContent(newContent);
    51               handleEditorChange({ editorName, editorContent: newContent });
     51              handleEditorChange({editorName, editorContent: newContent});
    5252            });
    5353          },
     
    5858  };
    5959
    60   const handleEditorChange = ({ editorName, editorContent }) => {
     60  const handleEditorChange = ({editorName, editorContent}) => {
    6161    if (onChange) {
    62       onChange({ editorName, editorContent });
     62      onChange({editorName, editorContent});
    6363    }
    6464  };
    6565
    6666  return (
    67     <div style={{ position: "relative" }}>
     67    <div style={{position: "relative"}}>
    6868      <textarea
    6969        id={editorId}
     
    7373          const newContent = e.target.value;
    7474          setContent(newContent);
    75           handleEditorChange({ editorName, editorContent: newContent });
     75          handleEditorChange({editorName, editorContent: newContent});
    7676        }}
    77         style={{ position: "relative", zIndex: 0 }}
     77        style={{position: "relative", zIndex: 0}}
    7878        disabled={true} // disabled the editor while loading
    7979      ></textarea>
Note: See TracChangeset for help on using the changeset viewer.