I would just disable the editor entirely. It is a dangerous tool anyway. I compare it to working on an airplane while its flying. Edit wp-config.php
to add:
define('DISALLOW_FILE_EDIT',true);
You can reverse that by re-editing your wp-config.php
and uploading over FTP (or maybe you have direct file access), as you should be doing anyway, but no one will be able to get to the editor to mess around with things.
Related Posts:
- alphabetically order role drop-down selection in dashboard
- Set default page for user account in admin
- How do I customize the dashboard?
- Allow user access to Dashboard only!
- Add number of members to “Right Now” dashboard widget
- Remove users access to dashboard
- How do I modify the user role ‘subscriber’ to allow the user to delete posts
- Restrict Access to the User Profile
- Edit dashboard based on user ID
- How to create front-end (editable) WordPress user profile pages?
- hide woo commerce dashboard status and reports from woo commerce from specific users but display to other users
- Editor can create any new user except administrator
- Confirmation required on email change
- get_current_user_id() returns 0?
- Email user when password is reset by admin
- How to work around “that email address has already been used” error?
- How can I run a WP-CLI command as authenticated user?
- LEFT JOIN, INNER OUTER JOIN, LEFT OUTER JOIN is driving me crazy. Please help?
- Upload gravatar in WP profile?
- Recover the user that have been deleted
- determining if the user is logged in
- Check if user is online?
- How to check that if current user (ID) has posts or not
- How to get the Role Name of the current user? (WordPress)
- how to get recent registered author id?
- Is it possible to duplicate users on a new WordPress install?
- Why don’t first_name and last_name appear when you print_r the WP_User object?
- How to use search_columns in WP_User_Query?
- Get users only if Gravatar is specified
- Authenticate with a Rails app?
- Send Email to Users after Deleting Account
- How to add local users to wordpress without email password?
- WP User Query fails when searching meta queries and search columns
- Call to undefined function wp_insert_user()
- *wpupdateuser* user_login in my WordPress database
- Updating user meta
- Changing a username
- Change the user_login at registration
- Are User Levels Still Currently Used?
- How to add a user profile page to frontend?
- Error: How to allow the “contributor” to upload media in wordpress
- Delete users from multisite after they have not logged in for a set amount of time?
- Where is the information about the authors for articles stored?
- Restrict access of admin uploads to certain logged-in users?
- how to know when the user is in specific part of the website and when he leaves that part and display the data in the admin dashboard
- Find user by nicename and open profile
- Using Cloudflare caching on wordpress with front-end user logins
- Redirect user after successful email change
- Custom default filtering in the user admin panel disables the other sortable columns
- Reset Password policy
- Creating user without username and password
- Is this code true or not
- Check for valid email after user inactivity?
- How do I let contributors edit their posts after being approved once?
- Custom Comment Notifications Fire on each Page Load
- The Simple and Correct Way to Add User Meta
- Export Users and their Advanced Custom Fields
- Hide hour from displaying when using user_registered
- How to copy user_nicename value into user_login
- how to set default update_user_meta values wordpress
- Fix ‘Add Role’ Option not there in wordpress 5.2.2
- Redirect user to login if not logged in, on specific pages
- Check if user is logged in via JS? [duplicate]
- Page for logged in user to Edit/Delete their own content?
- Followers for WordPress [duplicate]
- Is it possible to build social networking website using WordPress?
- Easiest way to create an user across several websites
- Is there a way to call via javascript if a user is logged-in on a static html file?
- I need a link that directs the user that is logged to his profile
- Is this a hack? WordPress Usernames of every website we have changed into one single name automatically?
- Getting user data via ajax
- How to change default username field after login
- The same session information for peer users on two different WordPress servers
- Post Taxonomy Value get from User Field Value
- Iterating users while user iteration is suppressed
- Custom User Page
- In admin manage users page, how can I stop users with certain privileges from editing users with other privileges?
- Browser extension to allow users to submit posts front end
- Changing the admin User Profile page
- user and usermeta table not found
- UserMeta Changes Meta Value for Post ID
- Users set passwords but cannot login
- Subscriber role – blank page
- Set user role on registration so can upload file to own media library area
- Separate Profiles for Users
- User “none” role
- Migrating Users along with their password
- show count author post today
- Redirect based on log-in status per JavaScript
- i need to let a user to add a role from a frontend form
- Integrating Facebook Registration (and Login) on a WordPress page
- WordPress C# User Login
- Create users from frontend without password
- How to get user contact info
- Why does a super admin on multi site get a rest_user_invalid_id error code when requesting user details through REST?
- WordPress – Security Question at Login from User’s Meta Data
- determine active user browser at the same time
- get Discussion setting in wordpress
- Set a minimal number for next user_id
- Remove My Account Menu items in Woocommerce based on user roles