Changeset 2715203
- Timestamp:
- 04/27/2022 04:28:13 AM (4 years ago)
- Location:
- codup-read-only-admin
- Files:
-
- 14 added
- 3 edited
-
tags/1.1.1.7 (added)
-
tags/1.1.1.7/assets (added)
-
tags/1.1.1.7/assets/css (added)
-
tags/1.1.1.7/assets/css/style.css (added)
-
tags/1.1.1.7/assets/js (added)
-
tags/1.1.1.7/assets/js/custom.js (added)
-
tags/1.1.1.7/codup-read-only-admin.php (added)
-
tags/1.1.1.7/includes (added)
-
tags/1.1.1.7/includes/class-core.php (added)
-
tags/1.1.1.7/includes/functions.php (added)
-
tags/1.1.1.7/readme.txt (added)
-
tags/1.1.1.7/templates (added)
-
tags/1.1.1.7/templates/access-denied.php (added)
-
tags/1.1.1.7/templates/user-meta-fields.php (added)
-
trunk/codup-read-only-admin.php (modified) (1 diff)
-
trunk/includes/class-core.php (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
codup-read-only-admin/trunk/codup-read-only-admin.php
r2703131 r2715203 3 3 * Plugin Name: Codup Read Only Admin 4 4 * Description: This plugins allows to create an admin with read only access. 5 * Version: 1.1.1. 115 * Version: 1.1.1.8 6 6 * Author: Codup.io 7 7 * Author URI: http://codup.io/ 8 * Tested up to: 5.9. 28 * Tested up to: 5.9.3 9 9 * Text Domain: codup-read-only-admin 10 10 */ -
codup-read-only-admin/trunk/includes/class-core.php
r2278259 r2715203 269 269 function save_user_meta($user_id) { 270 270 if (isset($_POST['read_only_admin'])) { 271 update_user_meta($user_id, 'read_only_admin', $_POST['read_only_admin']);271 update_user_meta($user_id, 'read_only_admin', sanitize_text_field($_POST['read_only_admin'])); 272 272 } 273 273 else { -
codup-read-only-admin/trunk/readme.txt
r2703131 r2715203 3 3 Tags: Read Only Access, Admin Role 4 4 Requires at least: 4.4 5 Tested up to: 5.9.2 5 Tested up to: 5.9.3 6 Stable tag: 1.1.1.8 6 7 License: GPLv2 or later 7 8
Note: See TracChangeset
for help on using the changeset viewer.