Skip to content

Commit

Permalink
30-06-2022
Browse files Browse the repository at this point in the history
[Added] Improved Error notices.
  • Loading branch information
smileBeda committed Jun 30, 2022
1 parent f2aa002 commit de8efed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/class-cp-plgn-drctry-cp-dir.php
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ private function get_plugins() {

} else {

echo '<script>jQuery(".notice-error").css("display","block").html("<p>' . esc_js( __( 'We could not reach some sub-page of the ClassicPress Directory API. It is possible you have reached the ClassicPress Directory API Limits.', 'cp-plgn-drctry' ) ) . '</p>");</script>';
echo '<script>jQuery("#cp-plgn-drctry-error").css("display","block").html("<p>' . esc_js( __( 'We could not reach some sub-page of the ClassicPress Directory API. It is possible you have reached the ClassicPress Directory API Limits.', 'cp-plgn-drctry' ) ) . '</p>");</script>';
error_log( print_r( $current_page_plugins, true ) );

}
Expand Down

0 comments on commit de8efed

Please sign in to comment.