[wp-trac] [WordPress Trac] #43319: Bootstrap 4 Card issue in backend

WordPress Trac noreply at wordpress.org
Wed Feb 14 16:35:16 UTC 2018


#43319: Bootstrap 4 Card issue in backend
--------------------------------+-----------------------------
 Reporter:  jimboobrien         |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  General             |    Version:  4.9.1
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 Hello,

 While working in the back-end of WordPress, I noticed that a class of
 .card is being applied from forms.css which is located in wp-admin.
 Bootstrap 4 is coming out with cards in the next version. Right now I'm
 building a Card Builder for use at the CDC. This is causing issues with my
 card builder and we don't have a very good method of changing core
 wordpress files in our build process. Therefore, updates will be a
 nightmare. If the selector .card on line 766 of forms.css was scoped to
 have another selector in front of it, then we could avoid having to change
 WP core in our project.

 For the sake of having this issue pop up again later in the future I would
 advise prefixing .card in forms.css with form or something else to make it
 scoped differently. This will help avoid issues with Bootstrap 4 being
 brought into the back-end of WP.

 - Jim

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43319>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list