Fix/55278 standardize font library rest api #86766
Annotations
5 errors and 10 warnings
|
lib/experimental/fonts/font-library/class-wp-rest-font-families-controller.php#L17
The "WP_REST_Font_Families_Controller" class should be guarded against redeclaration.
|
lib/experimental/fonts/font-library/class-wp-rest-font-families-controller.php#L138
Missing doc comment for function prepare_item_for_response()
|
lib/experimental/fonts/font-library/class-wp-rest-font-collections-controller.php#L17
The "WP_REST_Font_Collections_Controller" class should be guarded against redeclaration.
|
|
lib/experimental/fonts/font-library/class-wp-font-family.php#L466
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
lib/experimental/fonts/font-library/class-wp-font-family.php#L478
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
lib/experimental/fonts/font-library/class-wp-rest-font-families-controller.php#L138
Unused function parameter $request.
|
lib/experimental/fonts/font-library/class-wp-rest-font-families-controller.php#L155
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
lib/experimental/fonts/font-library/class-wp-rest-font-families-controller.php#L160
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
lib/experimental/fonts/font-library/class-wp-rest-font-families-controller.php#L169
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
lib/experimental/fonts/font-library/class-wp-rest-font-families-controller.php#L178
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
lib/experimental/fonts/font-library/class-wp-rest-font-families-controller.php#L188
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
lib/experimental/fonts/font-library/class-wp-rest-font-families-controller.php#L212
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
lib/experimental/fonts/font-library/class-wp-rest-font-families-controller.php#L262
Missing $domain parameter in function call to __(). If this text string is supposed to use a WP Core translation, use the "default" text domain.
|
The logs for this run have expired and are no longer available.
Loading