| 1 | Index: wp-includes/admin-bar.php |
|---|
| 2 | =================================================================== |
|---|
| 3 | --- wp-includes/admin-bar.php (revision 18219) |
|---|
| 4 | +++ wp-includes/admin-bar.php (working copy) |
|---|
| 5 | @@ -94,7 +94,7 @@ |
|---|
| 6 | } |
|---|
| 7 | |
|---|
| 8 | /** |
|---|
| 9 | - * Add the "Dashboard"/"View Site" menu. |
|---|
| 10 | + * Add the "Dashboard"/"Visit Site" menu. |
|---|
| 11 | * |
|---|
| 12 | * @since 3.2.0 |
|---|
| 13 | */ |
|---|
| 14 | @@ -387,7 +387,7 @@ |
|---|
| 15 | } |
|---|
| 16 | |
|---|
| 17 | /** |
|---|
| 18 | - * Set the display status of the admin bar |
|---|
| 19 | + * Set the display status of the admin bar. |
|---|
| 20 | * |
|---|
| 21 | * This can be called immediately upon plugin load. It does not need to be called from a function hooked to the init action. |
|---|
| 22 | * |
|---|
| 23 | @@ -437,7 +437,7 @@ |
|---|
| 24 | * |
|---|
| 25 | * @param string $context Context of this preference check, either 'admin' or 'front' |
|---|
| 26 | * @param int $user Optional. ID of the user to check, defaults to 0 for current user |
|---|
| 27 | - * @return bool Whether the admin bar should be showing for this user |
|---|
| 28 | + * @return bool Whether the admin bar should be showing for this user. |
|---|
| 29 | */ |
|---|
| 30 | function _get_admin_bar_pref( $context, $user = 0 ) { |
|---|
| 31 | $pref = get_user_option( "show_admin_bar_{$context}", $user ); |
|---|