Make WordPress Core

Changeset 55289 for trunk/package.json


Ignore:
Timestamp:
02/07/2023 06:52:24 PM (21 months ago)
Author:
jorbin
Message:

Comments: Improve rel attribute usage in comments.

Internal links should be followed and it should be easier to modify other rel attributes on comments. This adds a helper function for determining if a URL is internal and also adds some new filters to make it easy to modify rel attributes in comments.

Props thomasplevy, desrosj, sabernhardt, benish74, samiamnot, galbaras, jorbin.

Fixes #53290, #56444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package.json

    r55275 r55289  
    177177        "env:logs": "node ./tools/local-env/scripts/docker.js logs",
    178178        "env:pull": "node ./tools/local-env/scripts/docker.js pull",
    179         "test:php": "node ./tools/local-env/scripts/docker.js run -T php composer update -W && node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit",
     179        "test:php": "node ./tools/local-env/scripts/docker.js run -T php composer update -W && node ./tools/local-env/scripts/docker.js run php ./vendor/bin/phpunit --group formatting",
    180180        "test:e2e": "node ./tests/e2e/run-tests.js",
    181181        "test:visual": "node ./tests/visual-regression/run-tests.js",
Note: See TracChangeset for help on using the changeset viewer.