Changeset 32990 for trunk/src/wp-admin/includes/deprecated.php
- Timestamp:
- 06/28/2015 03:26:41 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/deprecated.php
r32800 r32990 471 471 472 472 /** 473 * PHP 4Constructor - Sets up the object properties.473 * PHP5 Constructor - Sets up the object properties. 474 474 * 475 475 * @since 2.1.0 … … 480 480 * @return WP_User_Search 481 481 */ 482 function WP_User_Search ($search_term = '', $page = '', $role = '') {482 function __construct( $search_term = '', $page = '', $role = '' ) { 483 483 _deprecated_function( __FUNCTION__, '3.1', 'WP_User_Query' ); 484 484 … … 491 491 $this->query(); 492 492 $this->do_paging(); 493 } 494 495 /** 496 * PHP4 Constructor - Sets up the object properties. 497 * 498 * @since 2.1.0 499 * 500 * @param string $search_term Search terms string. 501 * @param int $page Optional. Page ID. 502 * @param string $role Role name. 503 * @return WP_User_Search 504 */ 505 public function WP_User_Search( $search_term = '', $page = '', $role = '' ) { 506 self::__construct( $search_term, $page, $role ); 493 507 } 494 508
Note: See TracChangeset
for help on using the changeset viewer.