REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 761 B
Close
/home/nshryvcy/himaltourism.com/wp-content/plugins/jetpack/modules/masterbar/profile-edit/bootstrap.php
Text
Base64
<?php /** * Bootstrap the WP.com User profile edit restriction. * * @package automattic\jetpack */ namespace Automattic\Jetpack\Dashboard_Customizations; use Automattic\Jetpack\Connection\Manager as Connection_Manager; require_once __DIR__ . '/profile-edit.php'; require_once __DIR__ . '/class-wpcom-user-profile-fields-revert.php'; /** * Prevent WP.com user profile fields (first_name, last_name, display_name, description) to be updated. */ function load_the_user_profile_info_revert() { new WPCOM_User_Profile_Fields_Revert( new Connection_Manager( 'jetpack' ) ); } \add_action( 'load-profile.php', __NAMESPACE__ . '\load_the_user_profile_info_revert' ); \add_action( 'load-user-edit.php', __NAMESPACE__ . '\load_the_user_profile_info_revert' );
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
bootstrap.php
761 B
lrw-r--r--
2023-04-04 05:35:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-wpcom-user-profile-fields-revert.php
6.30 KB
lrw-r--r--
2023-04-04 05:35:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
profile-edit.php
2.83 KB
lrw-r--r--
2023-04-04 05:35:21
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).