Make WordPress Core

Ticket #31250: fix-v2.31250.patch

File fix-v2.31250.patch, 2.2 KB (added by jacklenox, 12 years ago)

Update to previous patch to include fixes for Twenty Fourteen and Twenty Thirteen

  • wp-content/themes/twentyfifteen/css/editor-style.css

    diff --git wp-content/themes/twentyfifteen/css/editor-style.css wp-content/themes/twentyfifteen/css/editor-style.css
    index c9ea518..28ba7b3 100644
    Description: Used to style the TinyMCE editor.  
    1515 * 6.0 - Galleries
    1616 * 7.0 - Audio / Video
    1717 * 8.0 - RTL
     18 * 9.0 - Media Queries
    1819 */
    1920
    2021
    … … body.rtl {  
    479480.rtl table caption {
    480481        text-align: right;
    481482}
     483
     484
     485/**
     486 * 9.0 Media Queries
     487 */
     488
     489@media screen and (max-width: 660px) {
     490        body, img, .wp-caption {
     491                max-width: 100%;
     492        }
     493
     494        img, .wp-caption {
     495                width: auto !important;
     496        }
     497}
  • wp-content/themes/twentyfourteen/css/editor-style.css

    diff --git wp-content/themes/twentyfourteen/css/editor-style.css wp-content/themes/twentyfourteen/css/editor-style.css
    index 010f358..d8706f7 100644
    Description: Used to style the TinyMCE editor.  
    1717 * 8.0 - Galleries
    1818 * 9.0 - Audio/Video
    1919 * 10.0 - RTL
     20 * 11.0 - Media Queries
    2021 * ----------------------------------------------------------------------------
    2122 */
    2223
    … … html .mceContentBody.rtl {  
    719720.rtl td {
    720721        text-align: right;
    721722}
     723
     724
     725/**
     726 * 11.0 Media Queries
     727 */
     728
     729@media screen and (max-width: 474px) {
     730        body, img, .wp-caption {
     731                max-width: 100%;
     732        }
     733
     734        img, .wp-caption {
     735                width: auto !important;
     736        }
     737}
  • wp-content/themes/twentythirteen/css/editor-style.css

    diff --git wp-content/themes/twentythirteen/css/editor-style.css wp-content/themes/twentythirteen/css/editor-style.css
    index 5684189..2e62184 100644
    Description: Used to style the TinyMCE editor.  
    1818 * 9.0 - Audio/Video
    1919 * 10.0 - Post Formats
    2020 * 11.0 - RTL
     21 * 12.0 - Media Queries
    2122 * ----------------------------------------------------------------------------
    2223 */
    2324
    … … html .mceContentBody.rtl {  
    769770        background: none;
    770771        content: none;
    771772}
     773
     774
     775/**
     776 * 12.0 Media Queries
     777 */
     778
     779@media screen and (max-width: 604px) {
     780        body, img, .wp-caption {
     781                max-width: 100%;
     782        }
     783
     784        img, .wp-caption {
     785                width: auto !important;
     786        }
     787}