Skip to content

Commit

Permalink
Correct priority check on Manage Plugins page
Browse files Browse the repository at this point in the history
Fixes #24336
  • Loading branch information
atrol committed Apr 27, 2018
1 parent 743a7dc commit 5a22933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/print_api.php
Expand Up @@ -1248,7 +1248,7 @@ function print_custom_field_projects_list( $p_field_id ) {
* @return void
*/
function print_plugin_priority_list( $p_priority ) {
if( $p_priority < 1 && $p_priority > 5 ) {
if( $p_priority < 1 || $p_priority > 5 ) {
echo '<option value="', $p_priority, '" selected="selected">', $p_priority, '</option>';
}

Expand Down

0 comments on commit 5a22933

Please sign in to comment.