Changeset 21484
- Timestamp:
- 08/09/2012 01:17:14 PM (12 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r21469 r21484 490 490 491 491 return $output; 492 }493 494 /**495 * Retrieve the current blog id496 *497 * @since 3.1.0498 *499 * @return int Blog id500 */501 function get_current_blog_id() {502 global $blog_id;503 return absint($blog_id);504 492 } 505 493 -
trunk/wp-includes/load.php
r21403 r21484 655 655 656 656 /** 657 * Retrieve the current blog id 658 * 659 * @since 3.1.0 660 * 661 * @return int Blog id 662 */ 663 function get_current_blog_id() { 664 global $blog_id; 665 return absint($blog_id); 666 } 667 668 /** 657 669 * Attempts an early load of translations. 658 670 *
Note: See TracChangeset
for help on using the changeset viewer.