Skip to content

Disabling truncation does not expand snippet descriptions #556

Description

@code-snippets-bot

Report

Disabling Screen Options → Truncate long snippet names and descriptions expands long snippet names, but descriptions remain truncated with an ellipsis in the All Snippets table.

Forum report: https://wordpress.org/support/topic/description-is-not-fully-displayed-even-though-truncate-is-disabled/

A previous issue, #478, covered the option not persisting after reload. That issue is closed. The preference now persists correctly, but it is not fully applied to descriptions.

Reproduction

  1. Add a snippet with a long name and description.
  2. Open Snippets → All Snippets in table view.
  3. Open Screen Options.
  4. Uncheck Truncate long snippet names and descriptions.
  5. Apply the setting or reload the page.

Actual behavior

The long snippet name is displayed in full, but its description still ends with an ellipsis.

Expected behavior

When the option is disabled, both snippet names and descriptions should be displayed without truncation.

Verification

Reproduced with Code Snippets Core 3.10.2.

Truncation enabled

Truncation enabled

Truncation disabled

The checkbox is disabled, but the final description remains truncated.

Truncation disabled

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions