Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix undefined hook_suffix #666

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion modules/custom-status/custom-status.php
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,8 @@ function __construct() {
parent::__construct( array(
'plural' => 'custom statuses',
'singular' => 'custom status',
'ajax' => true
'ajax' => true,
'screen' => 'ef-custom-status-settings',
Copy link
Member

@htdat htdat Jun 11, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, any value for screen different from null will get you through this error.

) );

}
Expand Down
1 change: 1 addition & 0 deletions modules/editorial-metadata/editorial-metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -1600,6 +1600,7 @@ function __construct() {
parent::__construct( array(
'plural' => 'editorial metadata',
'singular' => 'editorial metadata',
'screen' => 'ef-editorial-metadata-settings',
) );
}

Expand Down
3 changes: 2 additions & 1 deletion modules/user-groups/user-groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,8 @@ function __construct() {
parent::__construct( array(
'plural' => 'user groups',
'singular' => 'user group',
'ajax' => true
'ajax' => true,
'screen' => 'ef-user-groups-settings',
) );

}
Expand Down