HEX
Server: LiteSpeed
System: Linux server315.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/globfdxw/diasporameetsafrica.com/wp-content/plugins/extendify/tests/playwright/setup.php
<?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');