Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21459, comment 4


Ignore:
Timestamp:
08/07/2012 07:56:40 PM (12 years ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21459, comment 4

    initial v1  
    33wp-includes/admin-bar.php:
    44
    5  * Replace get_admin_url() and get_home_url() with admin_url() and home_url() inside on switch/restore.  Likewise replace current_user_can_for_blog() with current_user_can(). This avoids doing multiple switch restores.
     5 * Replace get_admin_url() and get_home_url() with admin_url() and home_url() and place them inside a switch/restore.  Likewise replace current_user_can_for_blog() with current_user_can(). This avoids doing multiple switch restores.
    66
    77wp-includes/ms-blogs.php: