Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/bin/generate-parsed-md.php
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,12 @@ function ( $count ) {
ksort( $types );

foreach ( $types as $type => $elements ) {
$markdown .= '### ' . ucfirst( $type ) . "s\n\n";
// Make `class` plural manually.
if ( 'class' === strtolower( $type ) ) {
$markdown .= '### ' . ucfirst( 'classes' ) . "\n\n";
} else {
$markdown .= '### ' . ucfirst( $type ) . "s\n\n";
}

// Sort elements alphabetically
sort( $elements );
Expand Down
2 changes: 1 addition & 1 deletion docs/code-reference/META.md
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,7 @@ This file tracks code elements that need documentation.

## rest-api/class-acf-rest-api.php

### Classs
### Classes

- `ACF_Rest_Api`

Expand Down