Docs: Various corrections and improvements relating to types used in inline documentation.

See #53399


git-svn-id: https://develop.svn.wordpress.org/trunk@52204 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2021-11-18 13:48:43 +00:00
parent fb23461742
commit 9932b46595
30 changed files with 93 additions and 86 deletions
+2 -2
View File
@@ -1213,8 +1213,8 @@ final class WP_Theme implements ArrayAccess {
* @since 4.7.0
* @since 5.8.0 Include block templates.
*
* @return string[] Array of page templates, keyed by filename and post type,
* with the value of the translated header name.
* @return array[] Array of page template arrays, keyed by post type and filename,
* with the value of the translated header name.
*/
public function get_post_templates() {
// If you screw up your current theme and we invalidate your parent, most things still work. Let it slide.