Skip to content

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
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.

3 participants