Make WordPress Core

Ticket #40683: 40683.end-of-appearance-group.patch

File 40683.end-of-appearance-group.patch, 528 bytes (added by sabernhardt, 4 years ago)

adding Plugins link within the Appearance group again, but at the end

  • src/wp-includes/admin-bar.php

     
    10241024                );
    10251025        }
    10261026
     1027        // Add a Plugins link.
     1028        if ( current_user_can( 'activate_plugins' ) ) {
     1029                $wp_admin_bar->add_node(
     1030                        array(
     1031                                'parent' => 'appearance',
     1032                                'id'     => 'ab-plugins',
     1033                                'title'  => __( 'Plugins' ),
     1034                                'href'   => admin_url( 'plugins.php' ),
     1035                        )
     1036                );
     1037        }
     1038
    10271039}
    10281040
    10291041/**