Ticket #21432: 21432.4.diff
File 21432.4.diff, 1.1 KB (added by , 13 years ago) |
---|
-
wp-includes/load.php
654 654 } 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 * 659 671 * Used for errors encountered during the initial loading process, before the locale has been -
wp-includes/general-template.php
492 492 } 493 493 494 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 }505 506 /**507 495 * Display or retrieve page title for all areas of blog. 508 496 * 509 497 * By default, the page title will display the separator before the page title,