Make WordPress Core

Ticket #39621: 39621.2.diff

File 39621.2.diff, 3.4 KB (added by carl-alberto, 10 years ago)

Sorry, please disregard the first patch, this is the correct one

  • src/wp-content/themes/twentyseventeen/assets/images/svg-icons.svg

    diff --git src/wp-content/themes/twentyseventeen/assets/images/svg-icons.svg src/wp-content/themes/twentyseventeen/assets/images/svg-icons.svg
    index eb579db..5e4991e 100644
     
    9696<symbol id="icon-digg" viewBox="0 0 37 32">
    9797<path class="path1" d="M5.857 5.036h3.643v17.554h-9.5v-12.446h5.857v-5.107zM5.857 19.661v-6.589h-2.196v6.589h2.196zM10.964 10.143v12.446h3.661v-12.446h-3.661zM10.964 5.036v3.643h3.661v-3.643h-3.661zM16.089 10.143h9.518v16.821h-9.518v-2.911h5.857v-1.464h-5.857v-12.446zM21.946 19.661v-6.589h-2.196v6.589h2.196zM27.071 10.143h9.5v16.821h-9.5v-2.911h5.839v-1.464h-5.839v-12.446zM32.911 19.661v-6.589h-2.196v6.589h2.196z"></path>
    9898</symbol>
     99<symbol id="icon-slack" viewBox="0 0 24 24">
     100<path class="path1" d="M13.299,2.004c-0.215-0.017-0.455,0.023-0.672,0.096c-0.868,0.29-1.322,1.22-1.032,2.087l0.696,2.039l-3.935,1.32 L7.708,5.579c-0.29-0.868-1.22-1.322-2.087-1.032c-0.868,0.29-1.346,1.22-1.056,2.087l0.648,1.944L3.173,9.274 c-0.868,0.29-1.322,1.244-1.032,2.111s1.22,1.322,2.087,1.032l2.039-0.672l1.32,3.911l-1.968,0.648 c-0.868,0.29-1.322,1.22-1.032,2.087c0.29,0.868,1.22,1.346,2.087,1.056L8.62,18.8l0.696,2.039c0.29,0.868,1.244,1.322,2.111,1.032 c0.868-0.29,1.321-1.22,1.032-2.087l-0.672-2.039l3.911-1.32l0.648,1.968c0.29,0.868,1.22,1.322,2.087,1.032 c0.868-0.29,1.345-1.22,1.056-2.087l-0.648-1.944l2.039-0.696c0.868-0.29,1.322-1.244,1.032-2.111 c-0.29-0.868-1.22-1.322-2.087-1.032l-2.039,0.672l-1.32-3.911l1.968-0.648c0.868-0.29,1.322-1.22,1.032-2.087 c-0.29-0.868-1.22-1.346-2.087-1.056l-1.944,0.648l-0.696-2.039C14.521,2.481,13.942,2.054,13.299,2.004z M13.323,9.37l1.32,3.911 l-3.911,1.32l-1.32-3.911L13.323,9.37z"></path>
    99101<symbol id="icon-spotify" viewBox="0 0 27 32">
    100102<path class="path1" d="M20.125 21.607q0-0.571-0.536-0.911-3.446-2.054-7.982-2.054-2.375 0-5.125 0.607-0.75 0.161-0.75 0.929 0 0.357 0.241 0.616t0.634 0.259q0.089 0 0.661-0.143 2.357-0.482 4.339-0.482 4.036 0 7.089 1.839 0.339 0.196 0.589 0.196 0.339 0 0.589-0.241t0.25-0.616zM21.839 17.768q0-0.714-0.625-1.089-4.232-2.518-9.786-2.518-2.732 0-5.411 0.75-0.857 0.232-0.857 1.143 0 0.446 0.313 0.759t0.759 0.313q0.125 0 0.661-0.143 2.179-0.589 4.482-0.589 4.982 0 8.714 2.214 0.429 0.232 0.679 0.232 0.446 0 0.759-0.313t0.313-0.759zM23.768 13.339q0-0.839-0.714-1.25-2.25-1.304-5.232-1.973t-6.125-0.67q-3.643 0-6.5 0.839-0.411 0.125-0.688 0.455t-0.277 0.866q0 0.554 0.366 0.929t0.92 0.375q0.196 0 0.714-0.143 2.375-0.661 5.482-0.661 2.839 0 5.527 0.607t4.527 1.696q0.375 0.214 0.714 0.214 0.518 0 0.902-0.366t0.384-0.92zM27.429 16q0 3.732-1.839 6.884t-4.991 4.991-6.884 1.839-6.884-1.839-4.991-4.991-1.839-6.884 1.839-6.884 4.991-4.991 6.884-1.839 6.884 1.839 4.991 4.991 1.839 6.884z"></path>
    101103</symbol>
  • src/wp-content/themes/twentyseventeen/inc/icon-functions.php

    diff --git src/wp-content/themes/twentyseventeen/inc/icon-functions.php src/wp-content/themes/twentyseventeen/inc/icon-functions.php
    index b73f2a4..a06e7e4 100644
    function twentyseventeen_social_links_icons() {  
    190190                'reddit.com'      => 'reddit-alien',
    191191                'skype.com'       => 'skype',
    192192                'skype:'          => 'skype',
     193                'slack'           => 'slack',
    193194                'slideshare.net'  => 'slideshare',
    194195                'snapchat.com'    => 'snapchat-ghost',
    195196                'soundcloud.com'  => 'soundcloud',