Skip to content

Commit e53427f

Browse files
westonruterkaran241296mukeshpanchal27adamsilverstein
authored
Merge pull request #2687 from karan241296/fix-performance-issues
Fix typos, spelling mistakes, and documentation errors across repository Co-authored-by: karan241296 <makanikaran@git.wordpress.org> Co-authored-by: westonruter <westonruter@git.wordpress.org> Co-authored-by: mukeshpanchal27 <mukesh27@git.wordpress.org> Co-authored-by: adamsilverstein <adamsilverstein@git.wordpress.org>
2 parents 88be4a2 + ca3f366 commit e53427f

10 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎.github/ISSUE_TEMPLATE/feature_request.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ about: Suggest an idea for this project
66

77
## Feature Description
88

9-
<!-- Please describe clear and concisely which problem the feature would solve or which publisher needs it would address. -->
9+
<!-- Please describe clearly and concisely which problem the feature would solve or which publisher needs it would address. -->

‎.github/workflows/props-bot.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
issue_comment:
2121
types:
2222
- created
23-
# This event will run everytime a new PR review is initially submitted.
23+
# This event will run every time a new PR review is initially submitted.
2424
pull_request_review:
2525
types:
2626
- submitted

‎AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ In general, indentation should use tabs. Refer to `.editorconfig` in the project
8484

8585
It is expected for new code introduced to have `@since` tags with the `n.e.x.t` placeholder version. It will get replaced with the actual version at the time of release. Do not add any code review comments to such code.
8686

87-
Every file, function, class, method constant, and global variable must have an associated docblock with a `@since` tag.
87+
Every file, function, class, method, constant, and global variable must have an associated docblock with a `@since` tag.
8888

8989
### PHP
9090

‎CONTRIBUTING.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ In general, all code must follow the [WordPress Coding Standards and best practi
1212
## Guidelines
1313

1414
- As with all WordPress projects, we want to ensure a welcoming environment for everyone. With that in mind, all contributors are expected to follow our [Code of Conduct](https://make.wordpress.org/handbook/community-code-of-conduct/).
15-
- All WordPress projects are [licensed under the GPLv2+](/LICENSE), and all contributions to the [Performance Lab](https://wordpress.org/plugins/performance-lab/) plugin will be released under the GPLv2+ license. You maintain copyright over any contribution you make, and by submitting a pull request, you are agreeing to release that contribution under the GPLv2+ license.
15+
- All WordPress projects are [licensed under the GPLv2+](./LICENSE), and all contributions to the [Performance Lab](https://wordpress.org/plugins/performance-lab/) plugin will be released under the GPLv2+ license. You maintain copyright over any contribution you make, and by submitting a pull request, you are agreeing to release that contribution under the GPLv2+ license.
1616

1717
## Use of AI Tools
1818

@@ -24,4 +24,4 @@ For more, please see the [WordPress AI Guidelines](https://make.wordpress.org/ai
2424

2525
## Reporting Security Issues
2626

27-
Please see [SECURITY.md](/SECURITY.md).
27+
Please see [SECURITY.md](./SECURITY.md).

‎plugins/auto-sizes/readme.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Contributions are always welcome! Learn more about how to get involved in the [C
9090
**Enhancements**
9191

9292
* Accurate sizes: Add ancestor block context for image and cover block that help in sizes calculate. ([1795](https://github.com/WordPress/performance/pull/1795))
93-
* Accurate sizes: Calculate sizes base on ancestor block context. ([1818](https://github.com/WordPress/performance/pull/1818))
93+
* Accurate sizes: Calculate sizes based on ancestor block context. ([1818](https://github.com/WordPress/performance/pull/1818))
9494

9595
= 1.4.0 =
9696

‎plugins/optimization-detective/detect.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ async function getAlreadySubmittedSessionStorageKey(
247247
) {
248248
if ( ! win.crypto || ! win.crypto.subtle ) {
249249
warn(
250-
'Unable to generate sessionStorage key for already-submitted URL since crypto is not available, likely due to to the page not being served via HTTPS.'
250+
'Unable to generate sessionStorage key for already-submitted URL since crypto is not available, likely due to the page not being served via HTTPS.'
251251
);
252252
return null;
253253
}

‎plugins/optimization-detective/docs/extensions.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Stable plugins for use in production from the WordPress.org Plugin Directory:
4040
* [Image Prioritizer](https://wordpress.org/plugins/image-prioritizer/): Prioritizes the loading of images and videos based on how visible they are to actual visitors; adds fetchpriority and applies lazy loading.
4141
* [Embed Optimizer](https://wordpress.org/plugins/embed-optimizer/): Optimizes the performance of embeds through lazy-loading, adding dns-prefetch links, and reserving space to reduce layout shifts.
4242

43-
Experimental plugins being explored exploration, from repositories on GitHub:
43+
Experimental plugins being explored, from repositories on GitHub:
4444

4545
* [Optimization Detective Content Visibility](https://github.com/westonruter/od-content-visibility): Applies content-visibility to posts in The Loop to improve rendering performance.
4646
* [Optimization Detective Intrinsic Dimensions](https://github.com/westonruter/od-intrinsic-dimensions): Supplies width and height attributes to IMG and VIDEO tags that lack them according to their intrinsic dimensions. This reduces Cumulative Layout Shift (CLS).
@@ -52,4 +52,4 @@ For development and debugging, also on GitHub:
5252
* [Optimization Detective Store Query Vars](https://github.com/westonruter/od-store-query-vars): Stores the Query Vars with a URL Metric in the Optimization Detective plugin. This is useful for debugging URL Metrics, in particular what the slug was computed from.
5353
* [Optimization Detective Store User Agent](https://github.com/westonruter/od-store-user-agent): Stores the User Agent with a URL Metric in the Optimization Detective plugin. This is useful for debugging URL Metrics, in particular to understand what device has a given viewport's dimensions.
5454
* [Optimization Detective Dev Mode](https://github.com/westonruter/od-dev-mode): Adds filters to facilitate development of the Optimization Detective plugin.
55-
* [Optimization Detective Default Disabled](https://github.com/westonruter/od-default-disabled): Disables functionality in Optimization Detective by default unless the `?optimization_detective_enabled=1` query parameter is present. This allows you for troubleshooting issues on a live site without visitors seeing a broken experience.
55+
* [Optimization Detective Default Disabled](https://github.com/westonruter/od-default-disabled): Disables functionality in Optimization Detective by default unless the `?optimization_detective_enabled=1` query parameter is present. This allows you to troubleshoot issues on a live site without visitors seeing a broken experience.

‎plugins/optimization-detective/docs/hooks.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ Filters how long the current IP is locked from submitting another URL metric sto
243243
Filtering the TTL to zero will disable any URL Metric storage locking. This is useful, for example, to disable locking when a user is logged in with code like the following:
244244

245245
```php
246-
add_filter( 'od_metrics_storage_lock_ttl', function ( int $ttl ): int {
246+
add_filter( 'od_url_metric_storage_lock_ttl', function ( int $ttl ): int {
247247
return is_user_logged_in() ? 0 : $ttl;
248248
} );
249249
```
@@ -253,7 +253,7 @@ By default, the TTL is zero (0) for authorized users and sixty (60) for everyone
253253
During development this is useful to set to zero, so you can quickly collect new URL Metrics by reloading the page without having to wait for the storage lock to release:
254254

255255
```php
256-
add_filter( 'od_metrics_storage_lock_ttl', function ( int $ttl ): int {
256+
add_filter( 'od_url_metric_storage_lock_ttl', function ( int $ttl ): int {
257257
return 0;
258258
} );
259259
```

‎plugins/optimization-detective/docs/introduction.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ As shown in the Background section above, WordPress core can incorrectly add `fe
463463
Here Image Prioritizer does the following:
464464

465465
* Remove `fetchpriority=high` from the `IMG` tag since it is not the common LCP element across all viewport sizes (or even in one viewport).
466-
* Add preload links with `fetchpriority=high` with media queries to target viewport-specific LCP images:
466+
* Add preload links with `fetchpriority=high` using media queries to target viewport-specific LCP images:
467467

468468
```html
469469
<link

‎plugins/webp-uploads/readme.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,4 +234,4 @@ By default, the Modern Image Formats plugin will only generate WebP versions of
234234

235235
= 2.0.0 =
236236

237-
This release adds support for AVIF images and enables selecting the the output image format to choose between WebP and AVIF when both are available. AVIF is used as the default when the server supports it.
237+
This release adds support for AVIF images and enables selecting the output image format to choose between WebP and AVIF when both are available. AVIF is used as the default when the server supports it.

0 commit comments

Comments
 (0)