WordPress.org

Make WordPress Core

Ticket #43566: 43566.patch

File 43566.patch, 449 bytes (added by mukesh27, 2 years ago)
  • wp-includs/admin-bar.php

    diff -Naur old/wp-includs/admin-bar.php new/wp-includs/admin-bar.php
    old new  
    347347                        ) );
    348348                }
    349349
    350         } else if ( current_user_can( 'read' ) ) {
     350        } elseif ( current_user_can( 'read' ) ) {
    351351                // We're on the front end, link to the Dashboard.
    352352                $wp_admin_bar->add_menu( array(
    353353                        'parent' => 'site-name',