Wordpress 4.6
[autoinstalls/wordpress.git] / wp-includes / customize / class-wp-customize-nav-menu-location-control.php
index 80ba741383b6465473b2e9bffcaff79bf525c34f..68cd7bffc0c0db9e8f08bce8736e1e472fab825d 100644 (file)
@@ -77,6 +77,7 @@ class WP_Customize_Nav_Menu_Location_Control extends WP_Customize_Control {
                                ?>
                        </select>
                </label>
+               <button type="button" class="button-link edit-menu<?php if ( ! $this->value() ) { echo ' hidden'; } ?>" aria-label="<?php esc_attr_e( 'Edit selected menu' ); ?>"><?php _e( 'Edit Menu' ); ?></button>
                <?php
        }
 }