The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
This report summarizes scanner evidence for WordPress/gutenberg, a TypeScript project with 11,780 GitHub stars. SynthScan examined 1,538,259 lines of code across 10976 source files, recording 1673 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 1.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 1299 finding(s).
Are imports declared and package/API names verified? 355 finding(s).
Are wrappers, guards, and repeated structures necessary? 1061 finding(s).
Which changes need focused human review? 1673 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1673 distinct pattern matches across 15 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | storybook/decorators/with-design-system-theme.tsx | 16 | export function getDesignSystemThemeSettings( | CODE |
| LOW | …k/stories/design-system/patterns/copy-to-clipboard.tsx | 77 | export function CopyToClipboardIconButtonExample() { | CODE |
| LOW | tools/release/commands/packages.js | 116 | async function runNpmReleaseBranchSyncStep( pluginReleaseBranch, config ) { | CODE |
| LOW | tools/release/commands/packages.js | 469 | function getNpmReleaseGitRecoveryCommands( { | CODE |
| LOW | tools/release/commands/packages.js | 657 | async function verifyRemoteNpmReleaseBranch( | CODE |
| LOW | tools/release/commands/packages.js | 719 | function isNpmPackageVersionMissing( error ) { | CODE |
| LOW | tools/release/commands/packages.js | 861 | async function pushNpmReleaseGitMetadata( | CODE |
| LOW | tools/release/commands/packages.js | 949 | function getNpmReleasePreparedRefs( npmReleaseBranch ) { | CODE |
| LOW | tools/release/commands/packages.js | 968 | function getNpmReleasePreparedStateRecoveryInstructions( npmReleaseBranch ) { | CODE |
| LOW | tools/release/commands/packages.js | 991 | async function pushNpmReleasePreparedCommit( | CODE |
| LOW | tools/release/commands/packages.js | 1060 | async function getNpmReleasePreparedState( | CODE |
| LOW | tools/release/commands/packages.js | 1111 | async function getNpmReleasePreparedCommit( | CODE |
| LOW | tools/release/commands/packages.js | 1133 | async function getNpmReleasePreparedTagNames( | CODE |
| LOW | tools/release/commands/packages.js | 1161 | async function restoreNpmReleasePreparedTags( | CODE |
| LOW | tools/release/commands/packages.js | 1185 | async function deleteNpmReleasePreparedCommit( | CODE |
| LOW | tools/release/commands/packages.js | 1266 | async function isNpmReleaseGitMetadataPublished( | CODE |
| LOW | tools/release/commands/packages.js | 1325 | async function installNpmReleaseDependencies( | CODE |
| LOW | tools/release/commands/packages.js | 1353 | async function getNpmReleasePreparedChangelogCommit( | CODE |
| LOW | tools/release/commands/packages.js | 1378 | function getNpmReleasePreparedPluginBranch( | CODE |
| LOW | tools/release/commands/packages.js | 1536 | async function publishVersionedPackagesToNpm( | CODE |
| LOW | tools/release/commands/packages.js | 1814 | async function publishPreparedPackagesToNpm( | CODE |
| LOW | tools/release/commands/packages.js | 1833 | async function finalizePreparedNpmRelease( | CODE |
| LOW | tools/release/commands/packages.js | 2078 | async function publishNpmGutenbergPlugin( options ) { | CODE |
| LOW | tools/release/commands/packages.js | 2101 | async function publishNpmBugfixWordPressCore( options ) { | CODE |
| LOW | tools/release/commands/common.js | 13 | async function findPluginReleaseBranchName( gitWorkingDirectoryPath ) { | CODE |
| LOW | tools/release/commands/common.js | 36 | function calculateVersionBumpFromChangelog( | CODE |
| LOW | tools/release/commands/changelog.js | 306 | function getPackageOrToolSpecificLabel( labels ) { | CODE |
| LOW | tools/release/commands/changelog.js | 486 | function capitalizeAfterColonSeparatedPrefix( text ) { | CODE |
| LOW | tools/release/commands/changelog.js | 535 | function removeRedundantTypePrefix( title, issue ) { | CODE |
| LOW | tools/release/commands/changelog.js | 628 | function getFormattedItemDescription( title, number, url ) { | CODE |
| LOW | tools/release/commands/changelog.js | 878 | function getFirstTimeContributorPRs( pullRequests ) { | CODE |
| LOW | tools/release/commands/changelog.js | 894 | function getContributorPropsMarkdownList( ftcPRs ) { | CODE |
| LOW | tools/release/commands/changelog.js | 989 | function getContributorsMarkdownList( pullRequests ) { | CODE |
| LOW | tools/release/commands/changelog.js | 1032 | function getManualChangelogInstructions( milestoneTitle ) { | CODE |
| LOW | tools/release/commands/test/changelog.js | 81 | function createOctokitWithoutReleases() { | CODE |
| LOW | tools/docs/update-api-docs.js | 142 | function getDataDocumentationPattern( files ) { | CODE |
| LOW | …mation/src/tasks/first-time-contributor-label/index.ts | 11 | async function firstTimeContributorLabel( | CODE |
| LOW | …src/tasks/first-time-contributor-account-link/index.ts | 36 | async function firstTimeContributorAccountLink( | CODE |
| LOW | tools/validation/validate-changelogs.ts | 135 | function validateSubsectionHeadings( | CODE |
| LOW | test/performance/specs/media-processing.spec.js | 120 | async function measureCrossFormatProcessing( buffer, srcType, dstType, sizes ) { | CODE |
| LOW | test/e2e/config/rtc-websocket-setup.ts | 96 | export async function setupRtcWebSocketProvider( | CODE |
| LOW | …t/e2e/specs/site-editor/block-style-variations.spec.js | 4 | async function selectBlockStyleVariation( page, variationName ) { | CODE |
| LOW | …st/e2e/specs/site-editor/push-to-global-styles.spec.js | 41 | async function setupHeadingWithUppercase( { page, editor } ) { | CODE |
| LOW | …cs/editor/blocks/navigation-submenu-visibility.spec.js | 3 | async function setNavigationOrientationToVertical( page ) { | CODE |
| LOW | test/e2e/specs/editor/blocks/table-of-contents.spec.js | 28 | function postContentWithTocAndHeadings( headings, extraBlocks = '' ) { | CODE |
| LOW | test/e2e/specs/editor/blocks/table-of-contents.spec.js | 38 | function getTableOfContentsEditorBlock( editor ) { | CODE |
| LOW | test/e2e/specs/editor/blocks/query.spec.js | 209 | async function addQueryWithTaxonomyFilters( { page, editor } ) { | CODE |
| LOW | …oration/collaboration-undo-non-synced-entities.spec.ts | 32 | async function waitForCollaborationReady( page: Page ) { | CODE |
| LOW | …tor/collaboration/collaboration-block-gauntlet.spec.ts | 995 | async function selectBlockAndOpenSidebar( blockType: string ) { | CODE |
| LOW | …pecs/editor/collaboration/collaboration-stress.spec.ts | 336 | async function typeNewParagraphAfterHeading( | CODE |
| LOW | …s/editor/collaboration/collaboration-undo-redo.spec.ts | 5 | async function loadDefaultCategoryViaPublishPanel( page: Page ) { | CODE |
| LOW | …boration/collaboration-awareness-avatar-typing.spec.ts | 26 | async function openSessionWithUserAInFirstParagraph( | CODE |
| LOW | …ditor/collaboration/collaboration-metabox-lock.spec.ts | 9 | async function waitForCollaborationEnabledForCurrentPost( | CODE |
| LOW | …st/e2e/specs/editor/various/client-side-media-utils.js | 11 | async function skipIfClientSideMediaInactive( page, testInstance ) { | CODE |
| LOW | …cs/editor/various/single-file-placeholder-drop.spec.js | 21 | async function dropTwoImagesOnCoverPlaceholder( editor, pageUtils ) { | CODE |
| LOW | …e/specs/editor/various/animated-image-subsizes.spec.ts | 110 | async function uploadAndReadSubSizeFrames( | CODE |
| LOW | …/specs/editor/various/list-view-spotlight-mode.spec.js | 78 | async function enterSpotlightModeAndOpenListView( | CODE |
| LOW | test/e2e/specs/editor/various/rich-text.spec.js | 382 | function throwMultipleSelectionChange() { | CODE |
| LOW | test/e2e/specs/editor/various/fullscreen-mode.spec.js | 20 | async function enableDistractionFreeMode( pageUtils ) { | CODE |
| LOW | test/e2e/specs/editor/various/fullscreen-mode.spec.js | 34 | function getSiteEditorOpenNavigationButton( page ) { | CODE |
| 982 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/pr-meta/src/github-api.ts | 106 | * @return True when the branch is at or ahead of the commit. | COMMENT |
| HIGH | …2e/specs/editor/various/heic-exif-preservation.spec.ts | 14 | * @return True when an `Exif` APP1 segment is present. | COMMENT |
| HIGH | packages/blocks/src/api/utils.ts | 114 | * @return True if the parameter is a valid icon and false otherwise. | COMMENT |
| HIGH | packages/blocks/src/api/factory.ts | 513 | * @return True if given blocks are a match for the transform. | COMMENT |
| HIGH | packages/blocks/src/api/registration.ts | 539 | * @return True if a block contains child blocks and false otherwise. | COMMENT |
| HIGH | packages/blocks/src/api/registration.ts | 550 | * @return True if a block contains at least one child blocks with inserter support | COMMENT |
| HIGH | …/blocks/src/api/raw-handling/figure-content-reducer.ts | 9 | * @return True if figure content, false if not. | COMMENT |
| HIGH | …/blocks/src/api/raw-handling/figure-content-reducer.ts | 29 | * @return True if it can, false if not. | COMMENT |
| HIGH | …kages/blocks/src/api/raw-handling/is-inline-content.ts | 10 | * @return True if the node is inline content, false if not. | COMMENT |
| HIGH | packages/blocks/src/store/selectors.ts | 854 | * @return True if a block contains child blocks and false otherwise. | COMMENT |
| HIGH | packages/blocks/src/store/selectors.ts | 894 | * @return True if a block contains at least one child blocks with inserter support | COMMENT |
| HIGH | packages/keycodes/src/platform.ts | 6 | * @return True if MacOS; false otherwise. | COMMENT |
| HIGH | packages/global-styles-engine/src/utils/typography.ts | 25 | * @return True if fluid typography is enabled, false otherwise. | COMMENT |
| HIGH | packages/block-library/src/utils/link-picker.ts | 100 | * @return True if url is the homepage | COMMENT |
| HIGH | packages/upload-media/src/heic-parser.ts | 1010 | * @return True if an `irot` or `imir` property box is present. | COMMENT |
| HIGH | packages/interface/src/store/selectors.ts | 62 | * @return True if the item is pinned and false otherwise. | COMMENT |
| HIGH | packages/api-fetch/src/middlewares/media-upload.ts | 10 | * @return True if the request is for media upload. | COMMENT |
| HIGH | …ages/api-fetch/src/middlewares/fetch-all-middleware.ts | 57 | * @return True if the request contains an unbounded query. | COMMENT |
| HIGH | …ckages/boot/src/components/navigation/path-matching.ts | 9 | * @return True if menuPath is a parent of currentPath | COMMENT |
| HIGH | …kages/interactivity-router/src/assets/test/scs.test.ts | 11 | * @return True if the passed array is contained. False otherwise. | COMMENT |
| HIGH | packages/media-editor/src/image-editor/core/state.ts | 466 | * @return True if any tracked field differs. | COMMENT |
| HIGH | packages/element/src/utils.ts | 5 | * @return True when an element is considered empty. | COMMENT |
| HIGH | packages/element/src/create-interpolate-element.ts | 163 | * @return True means the map is valid. | COMMENT |
| HIGH | packages/interactivity/src/proxies/registry.ts | 74 | * @return True if the passed instance can be proxied. | COMMENT |
| HIGH | packages/url/src/is-valid-protocol.ts | 12 | * @return True if the argument is a valid protocol (e.g. http:, tel:). | COMMENT |
| HIGH | packages/url/src/is-valid-authority.ts | 12 | * @return True if the argument contains a valid authority. | COMMENT |
| HIGH | packages/url/src/is-valid-path.ts | 12 | * @return True if the argument contains a valid path | COMMENT |
| HIGH | packages/url/src/is-valid-fragment.ts | 12 | * @return True if the argument contains a valid fragment. | COMMENT |
| HIGH | packages/url/src/is-valid-query-string.ts | 12 | * @return True if the argument contains a valid query string. | COMMENT |
| HIGH | packages/abilities/src/validation.ts | 152 | * @return True if valid, error message string if invalid. | COMMENT |
| HIGH | …nents/src/custom-gradient-picker/gradient-bar/utils.ts | 23 | * @return True if the point is overlapping. | COMMENT |
| HIGH | packages/components/src/slot-fill/slot.tsx | 18 | * @return True if the argument is a function, false otherwise. | COMMENT |
| HIGH | packages/block-editor/src/utils/dom.ts | 158 | * @return True if the element is scrollable. | COMMENT |
| HIGH | packages/block-editor/src/utils/pasting.ts | 94 | * @return True if the files should be dismissed | COMMENT |
| HIGH | packages/block-editor/src/utils/math.ts | 109 | * @return True if the point is contained by the rectangle, false otherwise. | COMMENT |
| HIGH | packages/block-editor/src/utils/math.ts | 126 | * @return True if the point is within top and bottom of rectangle, false otherwise. | COMMENT |
| HIGH | …ts/block-alignment-control/use-available-alignments.ts | 52 | * @return False when the parent lacks layout support or has `allowEditing` set to false. | COMMENT |
| HIGH | …editor/src/components/global-styles/advanced-panel.tsx | 17 | * @return True if the CSS is valid, false otherwise. | COMMENT |
| HIGH | …ckages/block-editor/src/components/url-input/index.tsx | 37 | * @return True if the argument is a function, false otherwise. | COMMENT |
| HIGH | …/block-editor/src/components/use-paste-styles/index.ts | 28 | * @return True if the text looks like serialized blocks, false otherwise. | COMMENT |
| HIGH | …ock-editor/src/components/use-block-drop-zone/index.ts | 277 | * @return True if the element is a insertion point, false otherwise. | COMMENT |
| HIGH | …lock-editor/src/components/link-control/is-url-like.ts | 7 | * @return True if the value is a valid hash link. | COMMENT |
| HIGH | …lock-editor/src/components/link-control/is-url-like.ts | 17 | * @return True if the value is a relative path. | COMMENT |
| HIGH | …ges/block-editor/src/hooks/auto-inspector-controls.tsx | 19 | * @return True if any attribute has autoGenerateControl marker. | COMMENT |
| HIGH | packages/block-editor/src/store/reducer.ts | 2732 | * @return True if the block has bindings, false otherwise. | COMMENT |
| HIGH | packages/dom/src/phrasing-content.ts | 178 | * @return True if phrasing content, false if not. | COMMENT |
| HIGH | packages/dom/src/dom/is-edge.ts | 18 | * @return True if at the edge, false if not. | COMMENT |
| HIGH | packages/dom/src/dom/is-rtl.ts | 8 | * @return True if rtl, false if ltr. | COMMENT |
| HIGH | packages/dom/src/dom/document-has-text-selection.ts | 12 | * @return True if there is selection, false if not. | COMMENT |
| HIGH | packages/dom/src/dom/is-entirely-selected.ts | 16 | * @return True if entirely selected, false if not. | COMMENT |
| HIGH | packages/dom/src/dom/is-entirely-selected.ts | 83 | * @return True if query is a deep first/last child of container, false otherwise. | COMMENT |
| HIGH | packages/dom/src/dom/is-form-element.ts | 9 | * @return True if form element and false otherwise. | COMMENT |
| HIGH | packages/dom/src/dom/document-has-selection.ts | 11 | * @return True if there is selection, false if not. | COMMENT |
| HIGH | packages/dom/src/dom/is-text-field.ts | 10 | * @return True if the element is an text field, false if not. | COMMENT |
| HIGH | packages/dom/src/dom/is-number-input.ts | 9 | * @return True if the node is number input. | COMMENT |
| HIGH | packages/rich-text/src/is-collapsed.ts | 12 | * @return True if the selection is collapsed, false if not, undefined if there is no selection. | COMMENT |
| HIGH | packages/rich-text/src/is-format-equal.ts | 9 | * @return True if formats are equal, false if not. | COMMENT |
| HIGH | packages/core-data/src/selectors.ts | 1443 | * @return True if the REST request was completed. False otherwise. | COMMENT |
| HIGH | packages/core-data/src/awareness/utils.ts | 64 | * @return True if the collaborator infos are equal, false otherwise. | COMMENT |
| HIGH | …kages/core-data/src/awareness/post-editor-awareness.ts | 212 | * @return True if the editor states are equal, false otherwise. | COMMENT |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ries/design-system/theme-example-application.story.tsx | 408 | defaultValue="admin@example.com" | CODE |
| LOW | test/performance/assets/small-post-with-containers.html | 8 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a | CODE |
| LOW | test/performance/assets/small-post-with-containers.html | 8 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a | CODE |
| LOW | test/performance/assets/small-post-with-containers.html | 32 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a | CODE |
| LOW | test/performance/assets/small-post-with-containers.html | 32 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a | CODE |
| LOW | test/performance/assets/small-post-with-containers.html | 56 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a | CODE |
| LOW | test/performance/assets/small-post-with-containers.html | 56 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna a | CODE |
| LOW | test/performance/assets/large-post.html | 6 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. <a href="http://example.com/" target="_blank" rel="noopener" | CODE |
| LOW | test/performance/assets/large-post.html | 6 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. <a href="http://example.com/" target="_blank" rel="noopener" | CODE |
| LOW | test/e2e/specs/editor/plugins/post-type-locking.spec.js | 125 | .fill( `<!-- wp:paragraph {"placeholder":"Add a description"} --> | CODE |
| LOW | …m-post-types-with-a-predefined-template-1-chromium.txt | 5 | <!-- wp:paragraph {"placeholder":"Add a book description"} --> | CODE |
| LOW | …m-post-types-with-a-predefined-template-1-chromium.txt | 23 | <div class="wp-block-column"><!-- wp:paragraph {"placeholder":"Add a inner paragraph"} --> | CODE |
| LOW | test/e2e/specs/editor/various/preview.spec.js | 308 | await expect( previewTitle ).toHaveText( 'Lorem Ipsum' ); | CODE |
| LOW | test/e2e/specs/editor/various/preview.spec.js | 337 | await expect( previewTitle ).toHaveText( 'Lorem Ipsum Draft' ); | CODE |
| LOW | …/e2e/specs/editor/various/block-notes-floating.spec.js | 16 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna al | CODE |
| LOW | …/e2e/specs/editor/various/block-notes-floating.spec.js | 16 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna al | CODE |
| LOW | …/e2e/specs/editor/various/block-notes-floating.spec.js | 393 | await title.fill( 'Lorem ipsum dolor sit amet, consectetur' ); | CODE |
| LOW | …/e2e/specs/editor/various/block-notes-floating.spec.js | 393 | await title.fill( 'Lorem ipsum dolor sit amet, consectetur' ); | CODE |
| LOW | …specs/editor/various/autocomplete-and-mentions.spec.js | 496 | name: 'Jane Doe', | CODE |
| LOW | test/e2e/specs/editor/various/block-renaming.spec.js | 73 | await expect( nameInput ).toHaveAttribute( 'placeholder', 'Group' ); | CODE |
| LOW | test/e2e/specs/editor/various/block-renaming.spec.js | 127 | await expect( nameInput ).toHaveAttribute( 'placeholder', 'Group' ); | CODE |
| LOW | docs/manifest.json | 1906 | "slug": "placeholder", | CODE |
| LOW | docs/reference-guides/block-api/block-templates.md | 87 | 'placeholder' => 'Add Author...', | CODE |
| LOW | docs/reference-guides/block-api/block-templates.md | 90 | 'placeholder' => 'Add Description...', | CODE |
| LOW | docs/reference-guides/block-api/block-templates.md | 108 | 'placeholder' => 'Add Description...', | CODE |
| LOW | docs/reference-guides/block-api/block-templates.md | 151 | 'placeholder' => 'Add Author...', | CODE |
| LOW | docs/reference-guides/block-api/block-templates.md | 155 | 'placeholder' => 'Add Description...', | CODE |
| LOW | docs/reference-guides/block-api/block-templates.md | 171 | 'placeholder' => 'Add a root-level paragraph', | CODE |
| LOW | docs/reference-guides/block-api/block-templates.md | 179 | 'placeholder' => 'Add an inner paragraph' | CODE |
| LOW | docs/reference-guides/block-api/block-registration.md | 238 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.' | CODE |
| LOW | docs/reference-guides/block-api/block-registration.md | 238 | 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent et eros eu felis.' | CODE |
| LOW | …to-guides/block-tutorial/nested-blocks-inner-blocks.md | 68 | { name: 'core/paragraph', attributes: { content: 'Lorem ipsum...' } } | CODE |
| LOW | …w-to-guides/curating-the-editor-experience/patterns.md | 45 | <div class="wp-block-cover alignfull"><span aria-hidden="true" class="wp-block-cover__background has-primary-background- | CODE |
| LOW | phpunit/blocks/render-post-time-to-read-test.php | 41 | $content = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dol | CODE |
| LOW | phpunit/blocks/render-post-time-to-read-test.php | 41 | $content = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dol | CODE |
| LOW | phpunit/blocks/render-comment-template-test.php | 73 | 'comment_author_email' => 'test@example.org', | CODE |
| LOW | phpunit/blocks/renderBlockCorePostExcerpt.php | 50 | 'post_content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. | CODE |
| LOW | phpunit/blocks/renderBlockCorePostExcerpt.php | 50 | 'post_content' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. | CODE |
| LOW | phpunit/experimental/widget-types-test.php | 501 | 'placeholder' => '', | CODE |
| LOW | phpunit/tests/notes-mention-kses-test.php | 220 | 'comment_author_email' => 'note-author@example.org', | CODE |
| LOW | packages/format-library/src/link/test/utils.ts | 22 | expect( isValidHref( 'mailto:test@example.org' ) ).toBe( true ); | CODE |
| LOW | packages/format-library/src/link/test/utils.ts | 47 | expect( isValidHref( 'mailto: test@example.org' ) ).toBe( false ); | CODE |
| LOW | packages/format-library/src/link/test/utils.ts | 127 | text: 'Lorem ipsum dolor.', | CODE |
| LOW | packages/format-library/src/link/test/utils.ts | 168 | text: 'Lorem ipsum dolor.', | CODE |
| LOW | packages/format-library/src/link/test/utils.ts | 215 | text: 'Lorem ipsum dolor.', | CODE |
| LOW | packages/format-library/src/link/test/utils.ts | 257 | text: 'Lorem ipsum dolor.', | CODE |
| LOW | packages/format-library/src/link/test/utils.ts | 294 | text: 'Lorem ipsum dolor.', | CODE |
| LOW | packages/format-library/src/link/test/utils.ts | 339 | text: 'Lorem ipsum dolor.', | CODE |
| LOW | packages/format-library/src/link/test/utils.ts | 428 | text: 'Lorem ipsum dolor.', | CODE |
| LOW | packages/format-library/src/link/test/utils.ts | 461 | text: 'Lorem ipsum dolor.', | CODE |
| LOW | packages/ui/src/drawer/stories/index.story.tsx | 532 | Paragraph { index + 1 }: Lorem ipsum | CODE |
| LOW | packages/ui/src/drawer/stories/index.story.tsx | 533 | dolor sit amet, consectetur adipiscing | CODE |
| LOW | …s/ui/src/form/textarea-control/stories/index.story.tsx | 70 | defaultValue: `Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | …s/ui/src/form/textarea-control/stories/index.story.tsx | 70 | defaultValue: `Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | …ages/ui/src/form/primitives/searchable-select/types.ts | 137 | placeholder?: ComboboxTriggerProps[ 'placeholder' ]; | CODE |
| LOW | …ages/ui/src/form/primitives/searchable-select/types.ts | 161 | searchPlaceholder?: ComboboxInputProps[ 'placeholder' ]; | CODE |
| LOW | packages/ui/src/form/primitives/combobox/types.ts | 170 | placeholder?: _Combobox.Value.Props[ 'placeholder' ]; | CODE |
| LOW | …i/src/form/primitives/textarea/stories/index.story.tsx | 40 | defaultValue: `Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | …i/src/form/primitives/textarea/stories/index.story.tsx | 40 | defaultValue: `Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | …ui/src/form/primitives/searchable-chip-select/types.ts | 142 | searchPlaceholder?: ComboboxInputProps[ 'placeholder' ]; | CODE |
| 217 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | storybook/main.ts | 101 | // Use a docgen-specific TypeScript configuration that disables | COMMENT |
| LOW | storybook/main.ts | 221 | modulePreload: false, | COMMENT |
| LOW | …specs/testing-skill-routing/test-skill-routing.eval.js | 41 | `${ REFERENCES }/jest.md`, | COMMENT |
| LOW | test/ai-development/lib/sandbox.js | 121 | // | COMMENT |
| LOW | …pecs/interactivity/router-navigation-lifecycle.spec.ts | 1381 | COMMENT | |
| LOW | test/e2e/specs/site-editor/page-list.spec.js | 301 | // edit: async ( page ) => { | COMMENT |
| LOW | test/e2e/specs/site-editor/page-list.spec.js | 421 | // Reset the page to its original state | COMMENT |
| LOW | test/e2e/specs/site-editor/page-list.spec.js | 441 | COMMENT | |
| LOW | test/e2e/specs/site-editor/page-list.spec.js | 461 | // const { featuredImage, statusVisibility } = fields; | COMMENT |
| LOW | …boration/collaboration-code-editor-performance.spec.ts | 81 | // Select all existing content and paste over it. Measure wall-clock | COMMENT |
| LOW | …laboration/collaboration-stale-autosave-notice.spec.ts | 41 | test.describe( 'Collaboration - stale autosave notice', () => { | COMMENT |
| LOW | …cs/editor/various/client-side-media-processing.spec.js | 781 | // Known gap: the client-side pipeline does not bake EXIF orientation into | COMMENT |
| LOW | test/e2e/specs/editor/various/block-notes.spec.js | 1421 | // Remove the reaction. | COMMENT |
| LOW | packages/format-library/src/link/inline.tsx | 221 | const boundary = getFormatBoundary( value, { | COMMENT |
| LOW | packages/format-library/src/link/inline.tsx | 241 | endIndex?: number | undefined | COMMENT |
| LOW | packages/blocks/src/index.ts | 1 | // A "block" is the abstract term used to describe units of markup that, | COMMENT |
| LOW | packages/blocks/src/api/index.ts | 21 | // The block tree is composed of a collection of block nodes. Blocks contained | COMMENT |
| LOW | packages/blocks/src/api/index.ts | 61 | getBlockDefaultClassName, | COMMENT |
| LOW | packages/blocks/src/api/index.ts | 81 | // The invalidation process can also be deconstructed in phases: 1) validate the | COMMENT |
| LOW | packages/ui/global.d.ts | 1 | // When typeRoots is set in tsconfig, TypeScript only includes | COMMENT |
| LOW | packages/ui/src/drawer/test/index.browser.test.tsx | 341 | // | COMMENT |
| LOW | packages/ui/src/drawer/test/index.jsdom.test.tsx | 501 | // must land on the visible scroll container (the outer div), | COMMENT |
| LOW | packages/ui/src/alert-dialog/root.tsx | 81 | // (confirm (success, (animation | COMMENT |
| LOW | …es/ui/src/utils/use-overlay-scroll-state-attributes.ts | 61 | // but adding a stray tab stop to a non-scrolling `<div>` is an | COMMENT |
| LOW | packages/global-styles-engine/src/resolve-style.ts | 21 | COMMENT | |
| LOW | packages/preferences-persistence/src/create/index.ts | 61 | }; | COMMENT |
| LOW | packages/media-fields/src/attached_to/style.scss | 1 | @use "@wordpress/base-styles/variables" as *; | COMMENT |
| LOW | packages/media-fields/src/filename/style.scss | 1 | // Truncation is a DataViews layout concern, so it's scoped to the table/grid/ | COMMENT |
| LOW | packages/block-library/src/common.scss | 261 | // feature query limits the rules to Chromium, which implements MathML Core | COMMENT |
| LOW | packages/block-library/src/tabs/edit.jsx | 1 | import { useBlockProps, useInnerBlocksProps } from '@wordpress/block-editor'; | COMMENT |
| LOW | …ibrary/src/navigation-link/shared/update-attributes.js | 141 | // LinkControl without the title field relies | COMMENT |
| LOW | packages/block-library/src/post-date/edit.jsx | 241 | export function is12HourFormat( format ) { | COMMENT |
| LOW | packages/block-library/src/gallery/index.php | 481 | // falls back to Flex so existing galleries retain their current appearance. | COMMENT |
| LOW | …kages/block-library/src/gallery/use-dynamic-gallery.js | 201 | // they're the gallery's image data, so there's nothing else to reset. The | COMMENT |
| LOW | packages/block-library/src/navigation/edit/index.jsx | 541 | // "placeholder" shown if: | COMMENT |
| LOW | packages/block-library/src/image/transforms.js | 201 | ? anchorElement.className | COMMENT |
| LOW | packages/block-library/src/image/image.jsx | 441 | // clear the id so Gutenberg treats the image as external. | COMMENT |
| LOW | packages/block-library/src/image/view.js | 661 | } ), | COMMENT |
| LOW | packages/upload-media/src/store/types.ts | 221 | // Maximum upload file size. | COMMENT |
| LOW | packages/upload-media/src/store/types.ts | 241 | // the `wp_generate_animated_image_subsizes` filter. Default is true; | COMMENT |
| LOW | packages/upload-media/src/store/actions.ts | 321 | // library. | COMMENT |
| LOW | packages/upload-media/src/store/private-actions.ts | 781 | const settings = select.getSettings(); | COMMENT |
| LOW | packages/upload-media/src/store/private-actions.ts | 901 | // let generateThumbnails() handle threshold scaling as a sideload. | COMMENT |
| LOW | packages/upload-media/src/store/private-actions.ts | 1901 | // Only create a scaled version for images larger than the threshold, | COMMENT |
| LOW | packages/upload-media/src/store/private-actions.ts | 2001 | // Pass the post-finalize attachment through so the reducer | COMMENT |
| LOW | …interface/src/components/interface-skeleton/style.scss | 61 | // Unfortunately an issue still exists where if you swipe the top toolbar | COMMENT |
| LOW | packages/server-side-render/src/errors.ts | 1 | export function parseErrorMessage( error: any ): string { | COMMENT |
| LOW | packages/shortcode/src/index.ts | 161 | * @param {string} text Serialised shortcode attributes. | COMMENT |
| LOW | packages/interactivity-router/src/index.ts | 461 | return new Promise( () => {} ); | COMMENT |
| LOW | packages/interactivity-router/src/index.ts | 501 | } | COMMENT |
| LOW | …compose/src/hooks/use-resize-observer/legacy/index.tsx | 1 | import type { ReactElement } from 'react'; | COMMENT |
| LOW | …compose/src/hooks/use-resize-observer/legacy/index.tsx | 21 | // regardless of the "box" option. | COMMENT |
| LOW | …ose/src/hooks/use-merge-refs/test/index.jsdom.test.tsx | 21 | // A component with two merged ref callbacks. The second has a dependency, | COMMENT |
| LOW | packages/media-editor/src/image-editor/core/state.ts | 261 | case 'SET_ROTATION': { | COMMENT |
| LOW | packages/media-editor/src/image-editor/core/state.ts | 301 | COMMENT | |
| LOW | packages/media-editor/src/image-editor/core/state.ts | 401 | const zoomCap = state.zoom > 0 ? MAX_ZOOM / state.zoom : fitScale; | COMMENT |
| LOW | …ages/media-editor/src/image-editor/core/containment.ts | 301 | * @return The restricted crop pan and zoom values. | COMMENT |
| LOW | …edia-editor/src/image-editor/core/test/stencil-math.ts | 61 | // | COMMENT |
| LOW | …a-editor/src/image-editor/react/components/cropper.tsx | 281 | [ canvasSize, naturalWidth, naturalHeight, state.rotation ] | COMMENT |
| LOW | …ia-editor/src/components/media-editor-modal/style.scss | 61 | COMMENT | |
| 73 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/e2e/specs/editor/blocks/navigation.spec.js | 1859 | // Step 1: Create menu with Page List block | COMMENT |
| LOW⚡ | test/e2e/specs/editor/blocks/navigation.spec.js | 1865 | // Step 2: Insert Navigation block | COMMENT |
| LOW⚡ | test/e2e/specs/editor/blocks/navigation.spec.js | 1875 | // Step 3: Verify Page List is present | COMMENT |
| LOW | test/e2e/specs/editor/blocks/navigation.spec.js | 1889 | // Step 4: Convert Page List using the Detach button | COMMENT |
| LOW | test/e2e/specs/editor/blocks/navigation.spec.js | 1914 | // Step 5: Verify conversion to entity links | COMMENT |
| LOW⚡ | …ecs/editor/collaboration/collaboration-refresh.spec.ts | 17 | // Step 1: User A opens the post, adds content, and saves. | COMMENT |
| LOW⚡ | …ecs/editor/collaboration/collaboration-refresh.spec.ts | 27 | // Step 2: User B loads the post and adds content. | COMMENT |
| LOW⚡ | …ecs/editor/collaboration/collaboration-refresh.spec.ts | 57 | // Step 3: User A refreshes the page. | COMMENT |
| LOW⚡ | …ecs/editor/collaboration/collaboration-refresh.spec.ts | 66 | // Step 4: User A adds new content after refresh. | COMMENT |
| LOW⚡ | …boration/collaboration-code-editor-performance.spec.ts | 58 | // Step 1: Open the code editor and paste step 1 content. | COMMENT |
| LOW⚡ | …boration/collaboration-code-editor-performance.spec.ts | 62 | // Step 2: Save the draft. | COMMENT |
| LOW⚡ | …boration/collaboration-code-editor-performance.spec.ts | 70 | // Step 3: Replace with step 2 content using clipboard paste, which | COMMENT |
| LOW | …boration/collaboration-code-editor-performance.spec.ts | 95 | // Step 4: Switch to visual mode. The editor must process the | COMMENT |
| LOW⚡ | …cs/contributors/documentation/how-to-guide-template.md | 23 | ### Step 1: Optional: title | COMMENT |
| LOW⚡ | …cs/contributors/documentation/how-to-guide-template.md | 27 | ### Step 2: Optional: title | COMMENT |
| LOW⚡ | …cs/contributors/documentation/how-to-guide-template.md | 35 | ### Step 3: Optional: title | COMMENT |
| LOW | docs/contributors/code/release/plugin-release.md | 12 | #### Step 1: Setup | COMMENT |
| LOW | docs/contributors/code/release/plugin-release.md | 18 | #### Step 2: Build the Release | COMMENT |
| LOW | docs/contributors/code/release/plugin-release.md | 31 | #### Step 3: Edit the Release Notes | COMMENT |
| LOW | docs/contributors/code/release/plugin-release.md | 37 | #### Step 4: Write Release Post | COMMENT |
| LOW | docs/how-to-guides/metabox.md | 38 | ### Step 1: Register meta field | COMMENT |
| LOW | docs/how-to-guides/metabox.md | 61 | ### Step 2: Add meta block | COMMENT |
| LOW | docs/how-to-guides/metabox.md | 116 | ### Step 3: Use post meta data | COMMENT |
| LOW | docs/how-to-guides/metabox.md | 159 | ### Step 4: Use block templates (optional) | COMMENT |
| LOW | docs/how-to-guides/format-api.md | 27 | ### Step 1: Register a new format | COMMENT |
| LOW | docs/how-to-guides/format-api.md | 51 | ### Step 2: Add a button to the toolbar | COMMENT |
| LOW | docs/how-to-guides/format-api.md | 89 | ### Step 3: Apply a format when clicked | COMMENT |
| LOW | docs/how-to-guides/format-api.md | 132 | ### Step 4: Show the button only for specific blocks (Optional) | COMMENT |
| LOW | docs/how-to-guides/format-api.md | 176 | ### Step 5: Add a button outside of the dropdown (Optional) | COMMENT |
| LOW | docs/how-to-guides/plugin-sidebar-0.md | 17 | ### Step 1: Get a sidebar up and running | COMMENT |
| LOW | docs/how-to-guides/plugin-sidebar-0.md | 75 | ### Step 2: Tweak the sidebar style and add controls | COMMENT |
| LOW | docs/how-to-guides/plugin-sidebar-0.md | 171 | ### Step 3: Register the meta field | COMMENT |
| LOW | docs/how-to-guides/plugin-sidebar-0.md | 197 | ### Step 4: Initialize the input control | COMMENT |
| LOW | docs/how-to-guides/plugin-sidebar-0.md | 300 | ### Step 5: Update the meta field when the input's content changes | COMMENT |
| LOW | …/how-to-guides/data-basics/5-adding-a-delete-button.md | 10 | ### Step 1: Add a _Delete_ button | COMMENT |
| LOW | …/how-to-guides/data-basics/5-adding-a-delete-button.md | 63 | ### Step 2: Wire the button to a delete action | COMMENT |
| LOW | …/how-to-guides/data-basics/5-adding-a-delete-button.md | 95 | ### Step 3: Add visual feedback | COMMENT |
| LOW | …/how-to-guides/data-basics/5-adding-a-delete-button.md | 127 | ### Step 4: Handle errors | COMMENT |
| LOW | …s/how-to-guides/data-basics/3-building-an-edit-form.md | 7 | ### Step 1: Add an _Edit_ button | COMMENT |
| LOW | …s/how-to-guides/data-basics/3-building-an-edit-form.md | 56 | ### Step 2: Display an _Edit_ form | COMMENT |
| LOW | …s/how-to-guides/data-basics/3-building-an-edit-form.md | 119 | ### Step 3: Populate the form with page details | COMMENT |
| LOW | …s/how-to-guides/data-basics/3-building-an-edit-form.md | 155 | ### Step 4: Making the Page title field editable | COMMENT |
| LOW | …s/how-to-guides/data-basics/3-building-an-edit-form.md | 259 | ### Step 5: Saving the form data | COMMENT |
| LOW | …s/how-to-guides/data-basics/3-building-an-edit-form.md | 316 | ### Step 6: Handle errors | COMMENT |
| LOW | …s/how-to-guides/data-basics/3-building-an-edit-form.md | 391 | ### Step 7: Status indicator | COMMENT |
| LOW | …to-guides/data-basics/4-building-a-create-page-form.md | 7 | ### Step 1: Add a _Create a new page_ button | COMMENT |
| LOW | …to-guides/data-basics/4-building-a-create-page-form.md | 64 | ### Step 2: Extract a controlled PageForm | COMMENT |
| LOW | …to-guides/data-basics/4-building-a-create-page-form.md | 131 | ### Step 3: Build a CreatePageForm | COMMENT |
| LOW | …ow-to-guides/data-basics/2-building-a-list-of-pages.md | 9 | ## Step 1: Build the PagesList component | COMMENT |
| LOW | …ow-to-guides/data-basics/2-building-a-list-of-pages.md | 36 | ## Step 2: Fetch the data | COMMENT |
| LOW | …ow-to-guides/data-basics/2-building-a-list-of-pages.md | 121 | ## Step 3: Turn it into a table | COMMENT |
| LOW | …ow-to-guides/data-basics/2-building-a-list-of-pages.md | 146 | ## Step 4: Add a search box | COMMENT |
| LOW | …ow-to-guides/data-basics/2-building-a-list-of-pages.md | 276 | ## Step 5: Loading Indicator | COMMENT |
| LOW | …a/class-gutenberg-rest-attachments-controller-test.php | 1105 | // Step 1: Upload the original image with client-side processing. | COMMENT |
| LOW | …a/class-gutenberg-rest-attachments-controller-test.php | 1119 | // Step 2: Sideload a thumbnail sub-size (file saved, no metadata written). | COMMENT |
| LOW | …a/class-gutenberg-rest-attachments-controller-test.php | 1131 | // Step 3: Sideload the scaled version (big image threshold). | COMMENT |
| LOW | …a/class-gutenberg-rest-attachments-controller-test.php | 1146 | // Step 4: Finalize with all collected sub-size data. | COMMENT |
| LOW | …ages/media-editor/src/image-editor/core/containment.ts | 336 | // Step 2: build camera with candidate pan and corrected zoom. | COMMENT |
| LOW⚡ | …block-editor/src/components/iframe/use-scale-canvas.ts | 74 | // Step 0: Start with the current scrollTop. | COMMENT |
| LOW⚡ | …block-editor/src/components/iframe/use-scale-canvas.ts | 76 | // Step 1: Undo the effects of the previous scale and frame around the | COMMENT |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …pecs/editor/collaboration/collaboration-stress.spec.ts | 30 | // ── Filler text ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …pecs/editor/collaboration/collaboration-stress.spec.ts | 71 | // ── Block markup helpers ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …pecs/editor/collaboration/collaboration-stress.spec.ts | 181 | // ── Content generator (~5 000 words) ──────────────────────────────── | COMMENT |
| MEDIUM | …pecs/editor/collaboration/collaboration-stress.spec.ts | 324 | // ── Test-specific helpers ─────────────────────────────────────────── | COMMENT |
| MEDIUM | …pecs/editor/collaboration/collaboration-stress.spec.ts | 348 | // ── Tests ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …pecs/editor/collaboration/collaboration-stress.spec.ts | 371 | // ── Phase 1 — Admin opens the post ────────────────────── | COMMENT |
| MEDIUM | …pecs/editor/collaboration/collaboration-stress.spec.ts | 378 | // ── Phase 2 — User 2 (Editor) joins ───────────────────── | COMMENT |
| MEDIUM | …pecs/editor/collaboration/collaboration-stress.spec.ts | 418 | // ── Phase 4 — Two users type in the same paragraph ────── | COMMENT |
| MEDIUM | …pecs/editor/collaboration/collaboration-stress.spec.ts | 445 | // ── Phase 5 — Two users move blocks via toolbar ───────── | COMMENT |
| MEDIUM | …pecs/editor/collaboration/collaboration-stress.spec.ts | 551 | // ── Phase 7 — Final save and publish ──────────────────── | COMMENT |
| MEDIUM | …pecs/editor/collaboration/collaboration-stress.spec.ts | 580 | // ── Phase 1 — Both users open the post ────────────────── | COMMENT |
| MEDIUM | …pecs/editor/collaboration/collaboration-stress.spec.ts | 599 | // ── Phase 2 — Concurrent list-item moves ──────────────── | COMMENT |
| MEDIUM⚡ | …pecs/editor/collaboration/collaboration-stress.spec.ts | 653 | // ── Phase 3 — Save draft ──────────────────────────────── | COMMENT |
| MEDIUM⚡ | …pecs/editor/collaboration/collaboration-stress.spec.ts | 656 | // ── Phase 4 — User 1 refreshes ────────────────────────── | COMMENT |
| MEDIUM⚡ | …pecs/editor/collaboration/collaboration-stress.spec.ts | 665 | // ── Phase 5 — User 2 refreshes ────────────────────────── | COMMENT |
| MEDIUM | …ages/media-editor/src/image-editor/core/test/camera.ts | 801 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ages/media-editor/src/image-editor/core/test/camera.ts | 809 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | lib/media/load.php | 28 | // ── Tier 1: HEIC infrastructure (always loaded) ───────────────────── | COMMENT |
| MEDIUM | lib/media/load.php | 285 | // ── Tier 2: Full client-side processing (VIPS/WASM) ───────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | test/e2e/specs/editor/blocks/navigation.spec.js | 1859 | // Step 1: Create menu with Page List block | COMMENT |
| LOW⚡ | test/e2e/specs/editor/blocks/navigation.spec.js | 1865 | // Step 2: Insert Navigation block | COMMENT |
| LOW⚡ | test/e2e/specs/editor/blocks/navigation.spec.js | 1875 | // Step 3: Verify Page List is present | COMMENT |
| LOW | test/e2e/specs/editor/blocks/navigation.spec.js | 1889 | // Step 4: Convert Page List using the Detach button | COMMENT |
| LOW | test/e2e/specs/editor/blocks/navigation.spec.js | 1914 | // Step 5: Verify conversion to entity links | COMMENT |
| LOW⚡ | …ecs/editor/collaboration/collaboration-refresh.spec.ts | 17 | // Step 1: User A opens the post, adds content, and saves. | COMMENT |
| LOW⚡ | …ecs/editor/collaboration/collaboration-refresh.spec.ts | 27 | // Step 2: User B loads the post and adds content. | COMMENT |
| LOW⚡ | …ecs/editor/collaboration/collaboration-refresh.spec.ts | 57 | // Step 3: User A refreshes the page. | COMMENT |
| LOW⚡ | …ecs/editor/collaboration/collaboration-refresh.spec.ts | 66 | // Step 4: User A adds new content after refresh. | COMMENT |
| LOW⚡ | …boration/collaboration-code-editor-performance.spec.ts | 58 | // Step 1: Open the code editor and paste step 1 content. | COMMENT |
| LOW⚡ | …boration/collaboration-code-editor-performance.spec.ts | 62 | // Step 2: Save the draft. | COMMENT |
| LOW⚡ | …boration/collaboration-code-editor-performance.spec.ts | 70 | // Step 3: Replace with step 2 content using clipboard paste, which | COMMENT |
| LOW | …boration/collaboration-code-editor-performance.spec.ts | 95 | // Step 4: Switch to visual mode. The editor must process the | COMMENT |
| LOW | …a/class-gutenberg-rest-attachments-controller-test.php | 1105 | // Step 1: Upload the original image with client-side processing. | COMMENT |
| LOW | …a/class-gutenberg-rest-attachments-controller-test.php | 1119 | // Step 2: Sideload a thumbnail sub-size (file saved, no metadata written). | COMMENT |
| LOW | …a/class-gutenberg-rest-attachments-controller-test.php | 1131 | // Step 3: Sideload the scaled version (big image threshold). | COMMENT |
| LOW | …a/class-gutenberg-rest-attachments-controller-test.php | 1146 | // Step 4: Finalize with all collected sub-size data. | COMMENT |
| LOW | packages/blocks/src/store/selectors.ts | 297 | // In this case, we need to check if the part before the | COMMENT |
| LOW | …ges/edit-site/src/components/add-new-template/utils.js | 246 | // We need to check if the general template is part of the | COMMENT |
| LOW | …ges/edit-site/src/components/add-new-template/utils.js | 419 | // We need to check if the general template is part of the | COMMENT |
| LOW | …ages/media-editor/src/image-editor/core/containment.ts | 336 | // Step 2: build camera with candidate pan and corrected zoom. | COMMENT |
| LOW⚡ | …block-editor/src/components/iframe/use-scale-canvas.ts | 74 | // Step 0: Start with the current scrollTop. | COMMENT |
| LOW⚡ | …block-editor/src/components/iframe/use-scale-canvas.ts | 76 | // Step 1: Undo the effects of the previous scale and frame around the | COMMENT |
| LOW⚡ | …block-editor/src/components/iframe/use-scale-canvas.ts | 83 | // Step 2: Apply the new scale and frame around the midpoint of the | COMMENT |
| LOW⚡ | …block-editor/src/components/iframe/use-scale-canvas.ts | 90 | // Step 3: Handle an edge case so that you scroll to the top of the | COMMENT |
| LOW | …block-editor/src/components/iframe/use-scale-canvas.ts | 101 | // Step 4: Clamp the scrollTopNext between the minimum and maximum | COMMENT |
| LOW | …/components/rich-text/event-listeners/paste-handler.ts | 66 | // The event listener is attached to the window, so we need to check if | COMMENT |
| LOW | …itor/src/components/rich-text/event-listeners/enter.ts | 97 | // The event listener is attached to the window, so we need to check if | COMMENT |
| LOW | …/src/components/writing-flow/use-selection-observer.ts | 268 | // we need to check if in an element that doesn't support | COMMENT |
| LOW | …/src/components/writing-flow/use-selection-observer.ts | 276 | // We need to check if there was already a selection with a non-selectable focusNode. | COMMENT |
| LOW | packages/block-editor/src/store/actions.ts | 511 | // the original block, so we need to check if removing is possible. | COMMENT |
| LOW | routes/template-list/add-new-template/utils.ts | 260 | // We need to check if the general template is part of the | COMMENT |
| LOW | routes/template-list/add-new-template/utils.ts | 431 | // We need to check if the general template is part of the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …kages/media-utils/src/components/media-upload/index.js | 17 | return wp.media.view.MediaFrame.Select.extend( { | CODE |
| CRITICAL | …kages/media-utils/src/components/media-upload/index.js | 84 | return wp.media.view.MediaFrame.Select.extend( { | CODE |
| CRITICAL | …kages/media-utils/src/components/media-upload/index.js | 127 | return wp.media.view.MediaFrame.Post.extend( { | CODE |
| CRITICAL | …ges/global-styles-ui/src/font-library/upload-fonts.tsx | 161 | font.opentype.tables.fvar.axes.find( | CODE |
| CRITICAL | …/customize-widgets/src/filters/wide-widget-display.jsx | 10 | wp.customize.Widgets.data.availableWidgets.find( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/e2e/specs/editor/various/a11y.spec.js | 130 | // if the height of panels has changed. It would be good to find a more robust way to test | COMMENT |
| MEDIUM | test/e2e/specs/editor/various/a11y.spec.js | 184 | // TODO: find a more robust way to test this behavior. | COMMENT |
| MEDIUM | phpunit/blocks/render-latest-posts-test.php | 325 | // Counting occurrences of the list class is robust to changes in inner HTML structure. | COMMENT |
| MEDIUM | packages/block-library/src/latest-comments/style.scss | 19 | // Following styles leverage :where so that typography block support styles and | COMMENT |
| MEDIUM | packages/block-library/src/cover/style.scss | 329 | // based on if overlay is light or not. The following styles leverage | COMMENT |
| MEDIUM | …ges/patterns/src/components/patterns-manage-button.tsx | 66 | // has edit_theme_options capabilities. We can leverage that here | COMMENT |
| MEDIUM | packages/element/src/serialize.ts | 371 | // The keys are lower-cased for more robust lookup. | COMMENT |
| MEDIUM | packages/element/src/serialize.ts | 452 | // The keys are lower-cased for more robust lookup. | COMMENT |
| MEDIUM | packages/dataviews/src/hooks/use-infinite-scroll.ts | 89 | // This approach is robust even when items are added/removed from both ends simultaneously | COMMENT |
| MEDIUM | packages/theme/src/color-ramps/lib/types.ts | 4 | // Backgrounds for surfaces (nuanced, slight variations compared to bg) | COMMENT |
| MEDIUM | …src/components/more-menu/manage-patterns-menu-item.jsx | 21 | // edit_theme_options capabilities. We can leverage that here and not | COMMENT |
| MEDIUM | packages/data/src/plugins/persistence/index.ts | 150 | // to leverage its behavior of returning the same object when none | COMMENT |
| MEDIUM | lib/demo.php | 51 | <p><?php _e( 'Handling images and media with the utmost care is a primary focus of the new editor. Hopefully, you’ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …nations/architecture/client-side-media-architecture.md | 32 | ### `@wordpress/upload-media` — Queue and orchestration | COMMENT |
| MEDIUM | …nce-guides/interactivity-api/iapi-quick-start-guide.md | 13 | Next, use the [`@wordpress/create-block`](https://developer.wordpress.org/block-editor/reference-guides/packages/package | CODE |
| MEDIUM | …es/interactivity-api/core-concepts/using-typescript.md | 26 | Next, use the [`@wordpress/create-block`](https://developer.wordpress.org/block-editor/reference-guides/packages/package | CODE |
| MEDIUM | docs/getting-started/quick-start-guide.md | 11 | Next, use the [`@wordpress/create-block`](https://developer.wordpress.org/block-editor/reference-guides/packages/package | CODE |
| MEDIUM | …/getting-started/devenv/get-started-with-wp-scripts.md | 23 | If you use <a href="https://developer.wordpress.org/block-editor/getting-started/devenv/get-started-with-create-bloc | CODE |
| MEDIUM | …etting-started/devenv/get-started-with-create-block.md | 3 | Custom blocks for the Block Editor in WordPress are typically registered using plugins and are defined through a specifi | CODE |
| MEDIUM | …s/how-to-guides/data-basics/3-building-an-edit-form.md | 115 |  | CODE |
| MEDIUM | packages/create-block/docs/external-template.md | 195 | assetsPath: null, // Will not scaffold any assets files even if defined by the main template. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/e2e/specs/editor/plugins/block-directory.spec.js | 202 | // Mock the post-new page as requested via apiFetch for determining new CSS/JS assets. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/cherry-pick-wp-release.yml | 163 | # Create a new branch for your PR. | COMMENT |
| MEDIUM | .github/workflows/cherry-pick-wp-release.yml | 181 | # Create a PR and set the base to the ${targetBranch} branch. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/media-fields/src/attached_to/edit.tsx | 122 | // TODO: Add error handling for when selectedPost is not found. | COMMENT |
| LOW | …ckages/core-fields/src/attachment/attached_to/edit.tsx | 129 | // TODO: Add error handling for when selectedPost is not found. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | packages/compose/src/hooks/use-ref-effect/index.ts | 13 | * It's worth noting that if the dependencies array is empty, there's not | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/data/src/plugins/persistence/index.ts | 79 | function getData(): Record< string, unknown > { | CODE |