Skip to content

Commit

Permalink
PP Statuses notice: Solve thickbox display mystery; restore best prac…
Browse files Browse the repository at this point in the history
…tice API usage
  • Loading branch information
agapetry committed Jan 4, 2024
1 parent 5a83ee7 commit 42ca6e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions statuses-intro.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function publishpress_statuses_info() {

if (empty($statuses_info['statuses_installed'])) {
add_action(
'wp_enqueue_scripts',
'admin_enqueue_scripts',
function() {
add_thickbox();
}
Expand All @@ -92,7 +92,7 @@ function() {

if (empty($statuses_info['statuses_installed'])) {
add_action(
'admin_head',
'admin_enqueue_scripts',
function() {
add_thickbox();
}
Expand Down

0 comments on commit 42ca6e9

Please sign in to comment.