Skip to content

Use delete link color for entry delete link in entry sidebar#3192

Merged
Crabcyborg merged 5 commits into
masterfrom
use_delete_link_color_for_delete_entry_link
Jul 16, 2026
Merged

Use delete link color for entry delete link in entry sidebar#3192
Crabcyborg merged 5 commits into
masterfrom
use_delete_link_color_for_delete_entry_link

Conversation

@Crabcyborg

@Crabcyborg Crabcyborg commented Jul 16, 2026

Copy link
Copy Markdown
Contributor
Screenshot 2026-07-16 at 12 56 03 PM Screenshot 2026-07-16 at 12 56 11 PM

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Warning

Review limit reached

@Crabcyborg, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 53 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: ac629d79-e215-47c1-b54b-e0cf51108670

📥 Commits

Reviewing files that changed from the base of the PR and between 0c69f73 and 78a8c13.

📒 Files selected for processing (3)
  • classes/helpers/FrmEntriesHelper.php
  • css/frm_admin.css
  • resources/scss/admin/layout/page/_single-entry-page.scss
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch use_delete_link_color_for_delete_entry_link

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@deepsource-io

deepsource-io Bot commented Jul 16, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 0c69f73...78a8c13 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

Important

Some issues found as part of this review are outside of the diff in this pull request and aren't shown in the inline review comments due to GitHub's API limitations. You can see those issues on the DeepSource dashboard.

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
PHP Jul 16, 2026 4:02p.m. Review ↗
JavaScript Jul 16, 2026 4:02p.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

Comment thread classes/helpers/FrmEntriesHelper.php Outdated
@@ -774,6 +774,7 @@ private static function get_action_links( $id, $entry ) {
$actions['frm_delete'] = array(
'url' => wp_nonce_url( admin_url( 'admin.php?page=formidable-entries&frm_action=destroy&id=' . $id . '&form=' . $entry->form_id ) ),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cannot access property $form_id on array|object


The property you are trying to access is not defined and will cause unexpected behavior when used.

);
if ( current_user_can( 'frm_delete_entries' ) ) {
$actions['frm_delete'] = array(
'url' => wp_nonce_url( admin_url( 'admin.php?page=formidable-entries&frm_action=destroy&id=' . $id . '&form=' . $entry->form_id ) ),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cannot access property $form_id on array|object


The property you are trying to access is not defined and will cause unexpected behavior when used.

);
}

$actions = apply_filters( 'frm_entry_actions_dropdown', $actions, compact( 'id', 'entry' ) );

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Function apply_filters invoked with 3 parameters, 2 required


The function call is not valid, which will result in a fatal runtime error.


if ( $page !== 'show' ) {
$actions['frm_view'] = array(
'url' => admin_url( 'admin.php?page=formidable-entries&frm_action=show&id=' . $id . '&form=' . $entry->form_id ),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cannot access property $form_id on array|object


The property you are trying to access is not defined and will cause unexpected behavior when used.

return apply_filters( 'frm_entry_actions_dropdown', $actions, compact( 'id', 'entry' ) );
if ( current_user_can( 'frm_delete_entries' ) ) {
$actions['frm_delete'] = array(
'url' => wp_nonce_url( admin_url( 'admin.php?page=formidable-entries&frm_action=destroy&id=' . $id . '&form=' . $entry->form_id ) ),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cannot access property $form_id on array|object


The property you are trying to access is not defined and will cause unexpected behavior when used.

);
}

$actions = apply_filters( 'frm_entry_actions_dropdown', $actions, compact( 'id', 'entry' ) );

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Function apply_filters invoked with 3 parameters, 2 required


The function call is not valid, which will result in a fatal runtime error.

@Crabcyborg
Crabcyborg merged commit 8bafefb into master Jul 16, 2026
20 of 22 checks passed
@Crabcyborg
Crabcyborg deleted the use_delete_link_color_for_delete_entry_link branch July 16, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant