WordPress.org

Make WordPress Core

Ticket #45943: 45943-discord.patch

File 45943-discord.patch, 2.4 KB (added by kjellr, 10 months ago)
  • src/wp-content/themes/twentynineteen/classes/class-twentynineteen-svg-icons.php

     
    201201                'codepen'     => array(
    202202                        'codepen.io',
    203203                ),
     204                'discord'     => array(
     205                        'discordapp.com',
     206                        'discord.gg',
     207                        'discord.com',
     208                ),
    204209                'facebook'    => array(
    205210                        'facebook.com',
    206211                        'fb.me',
     
    282287<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    283288        <path d="M4.5,5.4h2.2V16H1V8.5h3.5V5.4L4.5,5.4z M4.5,14.2v-4H3.2v4H4.5z M7.6,8.5V16h2.2V8.5C9.8,8.5,7.6,8.5,7.6,8.5z M7.6,5.4 v2.2h2.2V5.4C9.8,5.4,7.6,5.4,7.6,5.4z M10.7,8.5h5.7v10.1h-5.7v-1.8h3.5V16h-3.5C10.7,16,10.7,8.5,10.7,8.5z M14.2,14.2v-4h-1.3v4 H14.2z M17.3,8.5H23v10.1h-5.7v-1.8h3.5V16h-3.5C17.3,16,17.3,8.5,17.3,8.5z M20.8,14.2v-4h-1.3v4H20.8z"></path>
    284289</svg>',
     290               
     291                'discord'        => '
     292<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
     293        <path d="m18.7 2h-13.4c-1.13 0-2.05 0.92-2.05 2.06v13.52c0 1.14 0.92 2.06 2.05 2.06h11.34l-0.53-1.85 1.28 1.19 1.21 1.12 2.15 1.9v-17.94c0-1.14-0.92-2.06-2.05-2.06zm-3.86 13.06s-0.36-0.43-0.66-0.81c1.31-0.37 1.81-1.19 1.81-1.19-0.41 0.27-0.8 0.46-1.15 0.59-0.5 0.21-0.98 0.35-1.45 0.43-0.96 0.18-1.84 0.13-2.59-0.01-0.57-0.11-1.06-0.27-1.47-0.43-0.23-0.09-0.48-0.2-0.73-0.34-0.03-0.02-0.06-0.03-0.09-0.05-0.02-0.01-0.03-0.02-0.04-0.03-0.18-0.1-0.28-0.17-0.28-0.17s0.48 0.8 1.75 1.18c-0.3 0.38-0.67 0.83-0.67 0.83-2.21-0.07-3.05-1.52-3.05-1.52 0-3.22 1.44-5.83 1.44-5.83 1.44-1.08 2.81-1.05 2.81-1.05l0.1 0.12c-1.8 0.52-2.63 1.31-2.63 1.31s0.22-0.12 0.59-0.29c1.07-0.47 1.92-0.6 2.27-0.63 0.06-0.01 0.11-0.02 0.17-0.02 0.61-0.08 1.3-0.1 2.02-0.02 0.95 0.11 1.97 0.39 3.01 0.96 0 0-0.79-0.75-2.49-1.27l0.14-0.16s1.37-0.03 2.81 1.05c0 0 1.44 2.61 1.44 5.83 0 0-0.85 1.45-3.06 1.52zm-4.65-4.67c-0.57 0-1.02 0.5-1.02 1.11s0.46 1.11 1.02 1.11c0.57 0 1.02-0.5 1.02-1.11 0.01-0.61-0.45-1.11-1.02-1.11zm3.65 0c-0.57 0-1.02 0.5-1.02 1.11s0.46 1.11 1.02 1.11c0.57 0 1.02-0.5 1.02-1.11s-0.45-1.11-1.02-1.11z"></path>
     294</svg>',
    285295
    286296                'dribbble'    => '
    287297<svg viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">