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

See #53399

Built from https://develop.svn.wordpress.org/trunk@52204


git-svn-id: http://core.svn.wordpress.org/trunk@51796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn
2021-11-18 13:50:05 +00:00
parent b3b8d6959c
commit c9746ab584
28 changed files with 91 additions and 84 deletions

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.