| Server IP : 66.29.153.156 / Your IP : 216.73.216.226 Web Server : LiteSpeed System : Linux premium322.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64 User : lastyfjz ( 1521) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/lastyfjz/./werepairmobile.com/wp-content/plugins/extendify/tests/playwright/ |
Upload File : |
<?php
require '/wordpress/wp-load.php';
$userId = 1;
// Mirrors the user-meta block in cypress/support/helpers.js cy.resetAll() so
// specs don't have to dismiss welcome guides / pattern modals on first paint.
$userSettings = [
'core/edit-post' => [
'welcomeGuide' => false,
'core/edit-post/pattern-modal' => false,
'pattern-modal' => false,
'edit-post/pattern-modal' => false,
'patternModal' => false,
],
'core/edit-site' => ['welcomeGuide' => false],
'core' => ['enableChoosePatternModal' => false],
'_modified' => gmdate('c'),
];
update_user_meta($userId, 'wp_persisted_preferences', $userSettings);
// Theme-agnostic "blueprint applied" marker for global-setup.ts. setup.php is
// the last blueprint step, so this lands after every other seed. Exposed via
// the public /?rest_route=/ JSON root (which echoes blogdescription) so the
// poller doesn't need auth.
update_option('blogdescription', 'extendify-pw-blueprint-ready');