Changeset 3484703
- Timestamp:
- 03/17/2026 11:18:04 AM (11 days ago)
- Location:
- new-user-approve/trunk
- Files:
-
- 1 added
- 4 edited
-
includes/nua_jetformbuilder.php (added)
-
includes/user-list.php (modified) (1 diff)
-
new-user-approve.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
src/components/wp-editor/WPEditor.js (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
new-user-approve/trunk/includes/user-list.php
r3442291 r3484703 604 604 ); ?></option> 605 605 <?php endif; ?> 606 <?php foreach (["approve ", "deny"] as $status): ?>606 <?php foreach (["approved", "denied"] as $status): ?> 607 607 <option 608 608 value="<?php echo esc_attr($status); ?>"<?php selected( -
new-user-approve/trunk/new-user-approve.php
r3457721 r3484703 5 5 * 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. 6 6 * Author: New User Approve 7 * Version: 3.2. 47 * Version: 3.2.5 8 8 * Author URI: https://newuserapprove.com/ 9 9 * Text Domain: new-user-approve … … 15 15 16 16 if (!defined("NUA_VERSION")) { 17 define("NUA_VERSION", "3.2. 4");17 define("NUA_VERSION", "3.2.5"); 18 18 } 19 19 -
new-user-approve/trunk/readme.txt
r3457721 r3484703 5 5 Requires at least: 4.0 6 6 Tested up to: 6.9 7 Stable tag: 3.2. 47 Stable tag: 3.2.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 176 176 177 177 == Changelog == 178 179 = 3.2.5 = 180 * Fixed - Status value mismatch issue in user edit screen. 178 181 179 182 = 3.2.4 = -
new-user-approve/trunk/src/components/wp-editor/WPEditor.js
r3442291 r3484703 1 import React, { useEffect, useState, useRef} from "react";1 import React, {useEffect, useState, useRef} from "react"; 2 2 3 const WPEditor = ({ editorId, editorName, onChange, editorContent}) => {3 const WPEditor = ({editorId, editorName, onChange, editorContent}) => { 4 4 const [content, setContent] = useState(editorContent); 5 5 const [loading, setLoading] = useState(true); … … 49 49 const newContent = editor.getContent(); 50 50 setContent(newContent); 51 handleEditorChange({ editorName, editorContent: newContent});51 handleEditorChange({editorName, editorContent: newContent}); 52 52 }); 53 53 }, … … 58 58 }; 59 59 60 const handleEditorChange = ({ editorName, editorContent}) => {60 const handleEditorChange = ({editorName, editorContent}) => { 61 61 if (onChange) { 62 onChange({ editorName, editorContent});62 onChange({editorName, editorContent}); 63 63 } 64 64 }; 65 65 66 66 return ( 67 <div style={{ position: "relative"}}>67 <div style={{position: "relative"}}> 68 68 <textarea 69 69 id={editorId} … … 73 73 const newContent = e.target.value; 74 74 setContent(newContent); 75 handleEditorChange({ editorName, editorContent: newContent});75 handleEditorChange({editorName, editorContent: newContent}); 76 76 }} 77 style={{ position: "relative", zIndex: 0}}77 style={{position: "relative", zIndex: 0}} 78 78 disabled={true} // disabled the editor while loading 79 79 ></textarea>
Note: See TracChangeset
for help on using the changeset viewer.