Make WordPress Core

Ticket #35322: 35322.1.patch

File 35322.1.patch, 6.4 KB (added by thewanderingbrit, 8 years ago)
  • .gitignore

    From 27be925a2a9416301805dac6699c281acd9f3335 Mon Sep 17 00:00:00 2001
    From: Dave Clements <dave@theukedge.com>
    Date: Thu, 7 Jan 2016 23:07:51 -0500
    Subject: [PATCH 1/3] ignore .svn-backup folder
    
    ---
     .gitignore | 3 ++-
     1 file changed, 2 insertions(+), 1 deletion(-)
    
    diff --git a/.gitignore b/.gitignore
    index dd18e54..c7ebd63 100644
    a b wp-tests-config.php 
    1515/npm-debug.log
    1616/build
    1717/tests/phpunit/build
    18 /wp-cli.local.yml
     18/wp-cli.local.yml
     19/.svn-backup
    1920
    2021# Files and folders that get created in wp-content
    2122/src/wp-content/blogs.dir
  • src/wp-includes/embed-template.php

    From 279308d80c35700a2a23e3b85d2429f08d66213d Mon Sep 17 00:00:00 2001
    From: Dave Clements <dave@theukedge.com>
    Date: Thu, 7 Jan 2016 23:11:45 -0500
    Subject: [PATCH 2/3] when site icon is not set, pull WP logo from includes,
     not admin directory
    
    ---
     src/wp-includes/embed-template.php     |   8 ++++----
     src/wp-includes/images/w-logo-blue.png | Bin 0 -> 3113 bytes
     2 files changed, 4 insertions(+), 4 deletions(-)
     create mode 100644 src/wp-includes/images/w-logo-blue.png
    
    diff --git a/src/wp-includes/embed-template.php b/src/wp-includes/embed-template.php
    index fab8c84..11af91c 100644
    a b  
    124124                                        $site_title = sprintf(
    125125                                                '<a href="%s" target="_top"><img src="%s" srcset="%s 2x" width="32" height="32" alt="" class="wp-embed-site-icon"/><span>%s</span></a>',
    126126                                                esc_url( home_url() ),
    127                                                 esc_url( get_site_icon_url( 32, admin_url( 'images/w-logo-blue.png' ) ) ),
    128                                                 esc_url( get_site_icon_url( 64, admin_url( 'images/w-logo-blue.png' ) ) ),
     127                                                esc_url( get_site_icon_url( 32, includes_url( 'images/w-logo-blue.png' ) ) ),
     128                                                esc_url( get_site_icon_url( 64, includes_url( 'images/w-logo-blue.png' ) ) ),
    129129                                                esc_html( get_bloginfo( 'name' ) )
    130130                                        );
    131131
     
    177177                                $site_title = sprintf(
    178178                                        '<a href="%s" target="_top"><img src="%s" srcset="%s 2x" width="32" height="32" alt="" class="wp-embed-site-icon"/><span>%s</span></a>',
    179179                                        esc_url( home_url() ),
    180                                         esc_url( get_site_icon_url( 32, admin_url( 'images/w-logo-blue.png' ) ) ),
    181                                         esc_url( get_site_icon_url( 64, admin_url( 'images/w-logo-blue.png' ) ) ),
     180                                        esc_url( get_site_icon_url( 32, includes_url( 'images/w-logo-blue.png' ) ) ),
     181                                        esc_url( get_site_icon_url( 64, includes_url( 'images/w-logo-blue.png' ) ) ),
    182182                                        esc_html( get_bloginfo( 'name' ) )
    183183                                );
    184184
  • new file src/wp-includes/images/w-logo-blue.png

    diff --git a/src/wp-includes/images/w-logo-blue.png b/src/wp-includes/images/w-logo-blue.png
    new file mode 100644
    index 0000000000000000000000000000000000000000..11e550c74e07cdbae3192894aacdd5e3cb271def
    GIT binary patch
    literal 3113
    zcmeHJ`8O1b7iY#UWH(AuCR>;xGGu2kH1_d^d7{C4F;m9&EG-6=eHmMlvdpB$KK8NA
    z(AXwRj1tO7dMM&$DWR|TXME3j=iJZzoX`E?{_r{XbIwh1LE4FlD2nj#@Q69s+qfOE
    z%fAo;9`*Jyz!M%Gz<`UBhwYK%i75ZC{&V2}+JPX%T*J{Ne~EBIy7TY?fPDM{f<nR~
    zqQ}I<C5}r<Nz2H}$t!>qPn=XbrF>fD%vn|NIW=_+O|A3VIuNLy{sjX=Bbc$tB~vqV
    z3rj0&8(X-Yy#vD0=`zyU#nsIn<@Fod+XwTzub=-_Y(UT-f8uY162c=Q|B8-@jk|g4
    z_MP~I#H73T?kA_Drln_OW#^D`^YRM{9~3<-epK@KNoiSm1)1`+^4W80Rdr2mU3~+s
    zv8lPGwXL1r(b?7A!(jIIy<qhZ3=Xqjj*O0tznbK{nSMJnJNNGWJa^&4;>V>=e=o1B
    ze*Uty{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QZiHtMjm${Wny|;`oEm
    z04HM4@IQQ9(`O<i+@x~+*6*~g)Ex1+yZ{v?y>7SO4pZVE9>s7{f_}r9(qAg*a<4_j
    z+JLxah^O$CPXKorkX0($__or<J89a>f$e0sx%et?!sSF_g8M^jwXv0o^L`v*@Xh4U
    z;go1VUmVKK{rJY3r)){!mkGE8WGh=L!3eH3<u8#5BJC^zSA4bzy7a-2@zo2Z^Y>G$
    zUTm5~>PgyVY$0{HF`j}y3B1g6H9I^j&JMx$eWaEvCDqIVY5bj+KynYY!cs?lnw)`t
    zart^)KNeIuIvRv6nsu>%bR#V@^TU}0vAt#E546H3zeEevrdYW1=EJJj2Yr=}g}KIb
    zM06%6aotUmJ64nF(OKfG$}NJqj>;m8bvQ2SRYp%;THH89@A>HJ;9rB*Iz+J)dNS^0
    z;@Y}(a8X~NEH2kD<HhT$(3MX>y%~wF%}`fe9JUqF%pYMFlY3P+vp?T#xy8g0aT}sD
    zF8xOP1f@^*T7)xdncP%yDK~9n^ex!n*M#Hl54pP(`|avW^kwrn>ncvu^jPbnhVQ)Q
    zN~63S@>tN-Aw|O<%&9Ag)a&Xyq5L#9wU_qDBy5A*fI=%)4ew*xi4?~-oV6RS7&ejK
    foKN|Infb*#*Sp&c!PU3@`|~^4B5i7|{1W~LxiNf@
  • .gitignore

    literal 0
    HcmV?d00001
    
    
    From af8e71789757cc07140823715a33ad7b5a93acde Mon Sep 17 00:00:00 2001
    From: Dave Clements <dave@theukedge.com>
    Date: Thu, 7 Jan 2016 23:42:47 -0500
    Subject: [PATCH 3/3] Revert "ignore .svn-backup folder"
    
    This reverts commit 27be925a2a9416301805dac6699c281acd9f3335.
    ---
     .gitignore | 3 +--
     1 file changed, 1 insertion(+), 2 deletions(-)
    
    diff --git a/.gitignore b/.gitignore
    index c7ebd63..dd18e54 100644
    a b wp-tests-config.php 
    1515/npm-debug.log
    1616/build
    1717/tests/phpunit/build
    18 /wp-cli.local.yml
    19 /.svn-backup
     18/wp-cli.local.yml
    2019
    2120# Files and folders that get created in wp-content
    2221/src/wp-content/blogs.dir