Skip to content

Added lock script#119

Merged
spelkey-ucd merged 1 commit intosandboxfrom
sb-script
Feb 5, 2026
Merged

Added lock script#119
spelkey-ucd merged 1 commit intosandboxfrom
sb-script

Conversation

@sbagg
Copy link

@sbagg sbagg commented Jan 20, 2026

This is the lock script to fix bug issue #118 for existing research highlights. I dont know if I should have added these to the people.php like last time or make it for ubiquitous use. If it is the former I can move it into people.php.

Can use a command that will automatically lock the research-highlights block:
docker exec -i main-website-local-dev-wordpress-1 bash -lc 'wp --allow-root --path=/usr/src/wordpress eval-file - ' < ./utils/wp-scripts/lock-script.php

Can use the command and specify any block as well:
docker exec -i main-website-local-dev-wordpress-1 bash -lc 'wp --allow-root --path=/usr/src/wordpress eval-file - ucdlib-directory/research-highlights' < ./utils/wp-scripts/lock-script.php

@sbagg sbagg requested a review from spelkey-ucd January 20, 2026 02:20
@sbagg sbagg self-assigned this Jan 20, 2026
@spelkey-ucd spelkey-ucd changed the base branch from stage to sandbox February 5, 2026 14:58
@spelkey-ucd spelkey-ucd merged commit 1809537 into sandbox Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants