Docs: Various docblock corrections and improvements for changes introduced in 6.0.

See #54729


git-svn-id: https://develop.svn.wordpress.org/trunk@53302 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2022-04-28 09:57:51 +00:00
parent bca354c96c
commit 1cffa3f82b
11 changed files with 30 additions and 20 deletions

View File

@@ -467,7 +467,7 @@ abstract class WP_Widget_Media extends WP_Widget {
*
* @since 6.0.0
*
* @var string
* @return string
*/
protected static function get_default_description() {
if ( self::$default_description ) {
@@ -483,7 +483,7 @@ abstract class WP_Widget_Media extends WP_Widget {
*
* @since 6.0.0
*
* @return string[]
* @return (string|array)[]
*/
protected static function get_l10n_defaults() {
if ( ! empty( self::$l10n_defaults ) ) {