From 5752274fc2b5cd42c4bf59f3660f3948de84fe3b Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 13 Jul 2014 23:58:15 +0000 Subject: [PATCH] Fill out inline documentation for magic methods added to the `Custom_Background` class in [28481], [28521], and [28524]. See #22234 and #28885. Built from https://develop.svn.wordpress.org/trunk@29149 git-svn-id: http://core.svn.wordpress.org/trunk@28933 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/custom-background.php | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) diff --git a/wp-admin/custom-background.php b/wp-admin/custom-background.php index 9cd80e3a8f..227341c646 100644 --- a/wp-admin/custom-background.php +++ b/wp-admin/custom-background.php @@ -59,34 +59,40 @@ class Custom_Background { } /** - * Make private properties readable for backwards compatibility + * Make private properties readable for backwards compatibility. * * @since 4.0.0 - * @param string $name - * @return mixed + * @access public + * + * @param string $name Property name. + * @return mixed Property. */ public function __get( $name ) { return $this->$name; } /** - * Make private properties setable for backwards compatibility + * Make private properties setable for backwards compatibility. * * @since 4.0.0 - * @param string $name - * @param string $value - * @return mixed + * @access public + * + * @param string $name Property to set. + * @param mixed $value Property value. + * @return mixed Newly-set property. */ public function __set( $name, $value ) { return $this->$name = $value; } /** - * Make private properties checkable for backwards compatibility + * Make private properties checkable for backwards compatibility. * * @since 4.0.0 - * @param string $name - * @return mixed + * @access public + * + * @param string $name Property to check if set. + * @return bool Whether the property is set. */ public function __isset( $name ) { return isset( $this->$name ); @@ -96,8 +102,9 @@ class Custom_Background { * Make private properties unsetable for backwards compatibility * * @since 4.0.0 - * @param string $name - * @return mixed + * @access public + * + * @param string $name Property to unset. */ public function __unset( $name ) { unset( $this->$name );