Skip to content

Commit 110c610

Browse files
DrewAPictureDrewAPicture
authored andcommitted
Docs: Standardizes and improves DocBlock summaries for the __get(), __set(), __isset(), and __unset() magic methods in wpdb.
See #32246. git-svn-id: https://develop.svn.wordpress.org/trunk@37585 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 8ba4e7a commit 110c610

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/wp-includes/wp-db.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -670,7 +670,7 @@ public function __destruct() {
670670
}
671671

672672
/**
673-
* PHP5 style magic getter, used to lazy-load expensive data.
673+
* Makes private properties readable for backward compatibility.
674674
*
675675
* @since 3.5.0
676676
*
@@ -685,7 +685,7 @@ public function __get( $name ) {
685685
}
686686

687687
/**
688-
* Magic function, for backward compatibility.
688+
* Makes private properties settable for backward compatibility.
689689
*
690690
* @since 3.5.0
691691
*
@@ -705,7 +705,7 @@ public function __set( $name, $value ) {
705705
}
706706

707707
/**
708-
* Magic function, for backward compatibility.
708+
* Makes private properties check-able for backward compatibility.
709709
*
710710
* @since 3.5.0
711711
*
@@ -718,7 +718,7 @@ public function __isset( $name ) {
718718
}
719719

720720
/**
721-
* Magic function, for backward compatibility.
721+
* Makes private properties un-settable for backward compatibility.
722722
*
723723
* @since 3.5.0
724724
*

0 commit comments

Comments
 (0)