Changeset 62178 for trunk/src/wp-includes/class-wp-admin-bar.php
- Timestamp:
- 03/30/2026 05:31:56 AM (4 months ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-admin-bar.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-admin-bar.php
r61997 r62178 194 194 * 195 195 * @param string $id 196 * @return object| voidNode.196 * @return object|null Node. 197 197 */ 198 198 final public function get_node( $id ) { … … 201 201 return clone $node; 202 202 } 203 return null; 203 204 } 204 205 … … 207 208 * 208 209 * @param string $id 209 * @return object| void210 * @return object|null 210 211 */ 211 212 final protected function _get_node( $id ) { 212 213 if ( $this->bound ) { 213 return ;214 return null; 214 215 } 215 216 … … 221 222 return $this->nodes[ $id ]; 222 223 } 223 } 224 225 /** 226 * @since 3.3.0 227 * 228 * @return array|void 224 return null; 225 } 226 227 /** 228 * @since 3.3.0 229 * 230 * @return array|null 229 231 */ 230 232 final public function get_nodes() { 231 233 $nodes = $this->_get_nodes(); 232 234 if ( ! $nodes ) { 233 return ;235 return null; 234 236 } 235 237 … … 243 245 * @since 3.3.0 244 246 * 245 * @return array| void247 * @return array|null 246 248 */ 247 249 final protected function _get_nodes() { 248 250 if ( $this->bound ) { 249 return ;251 return null; 250 252 } 251 253 … … 308 310 * @since 3.3.0 309 311 * 310 * @return object| void312 * @return object|null 311 313 */ 312 314 final protected function _bind() { 313 315 if ( $this->bound ) { 314 return ;316 return null; 315 317 } 316 318
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)