Server IP : 209.38.156.173 / Your IP : 216.73.216.122 [ Web Server : Apache/2.4.52 (Ubuntu) System : Linux lakekumayuhotel 5.15.0-136-generic #147-Ubuntu SMP Sat Mar 15 15:53:30 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.1.2-1ubuntu2.22 Disable Function : NONE Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/wp-content/plugins/jetpack/modules/masterbar/profile-edit/ |
Upload File : |
<?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' );