Make WordPress Core

Changeset 43861


Ignore:
Timestamp:
11/03/2018 07:56:28 AM (6 years ago)
Author:
pento
Message:

Build Tools: Update the @wordpress packages.

This brings support for the custom fields meta box to the block editor.

The webpack and copy-webpack-plugin packages have also been updated.

See #45145.
Fixes #45257.

Location:
branches/5.0
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/package-lock.json

    r43847 r43861  
    3030        },
    3131        "@webassemblyjs/ast": {
    32             "version": "1.7.10",
    33             "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.7.10.tgz",
    34             "integrity": "sha512-wTUeaByYN2EA6qVqhbgavtGc7fLTOx0glG2IBsFlrFG51uXIGlYBTyIZMf4SPLo3v1bgV/7lBN3l7Z0R6Hswew==",
    35             "dev": true,
    36             "requires": {
    37                 "@webassemblyjs/helper-module-context": "1.7.10",
    38                 "@webassemblyjs/helper-wasm-bytecode": "1.7.10",
    39                 "@webassemblyjs/wast-parser": "1.7.10"
     32            "version": "1.7.11",
     33            "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.7.11.tgz",
     34            "integrity": "sha512-ZEzy4vjvTzScC+SH8RBssQUawpaInUdMTYwYYLh54/s8TuT0gBLuyUnppKsVyZEi876VmmStKsUs28UxPgdvrA==",
     35            "dev": true,
     36            "requires": {
     37                "@webassemblyjs/helper-module-context": "1.7.11",
     38                "@webassemblyjs/helper-wasm-bytecode": "1.7.11",
     39                "@webassemblyjs/wast-parser": "1.7.11"
    4040            }
    4141        },
    4242        "@webassemblyjs/floating-point-hex-parser": {
    43             "version": "1.7.10",
    44             "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.7.10.tgz",
    45             "integrity": "sha512-gMsGbI6I3p/P1xL2UxqhNh1ga2HCsx5VBB2i5VvJFAaqAjd2PBTRULc3BpTydabUQEGlaZCzEUQhLoLG7TvEYQ==",
     43            "version": "1.7.11",
     44            "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.7.11.tgz",
     45            "integrity": "sha512-zY8dSNyYcgzNRNT666/zOoAyImshm3ycKdoLsyDw/Bwo6+/uktb7p4xyApuef1dwEBo/U/SYQzbGBvV+nru2Xg==",
    4646            "dev": true
    4747        },
    4848        "@webassemblyjs/helper-api-error": {
    49             "version": "1.7.10",
    50             "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.7.10.tgz",
    51             "integrity": "sha512-DoYRlPWtuw3yd5BOr9XhtrmB6X1enYF0/54yNvQWGXZEPDF5PJVNI7zQ7gkcKfTESzp8bIBWailaFXEK/jjCsw==",
     49            "version": "1.7.11",
     50            "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.7.11.tgz",
     51            "integrity": "sha512-7r1qXLmiglC+wPNkGuXCvkmalyEstKVwcueZRP2GNC2PAvxbLYwLLPr14rcdJaE4UtHxQKfFkuDFuv91ipqvXg==",
    5252            "dev": true
    5353        },
    5454        "@webassemblyjs/helper-buffer": {
    55             "version": "1.7.10",
    56             "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.7.10.tgz",
    57             "integrity": "sha512-+RMU3dt/dPh4EpVX4u5jxsOlw22tp3zjqE0m3ftU2tsYxnPULb4cyHlgaNd2KoWuwasCQqn8Mhr+TTdbtj3LlA==",
     55            "version": "1.7.11",
     56            "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.7.11.tgz",
     57            "integrity": "sha512-MynuervdylPPh3ix+mKZloTcL06P8tenNH3sx6s0qE8SLR6DdwnfgA7Hc9NSYeob2jrW5Vql6GVlsQzKQCa13w==",
    5858            "dev": true
    5959        },
    6060        "@webassemblyjs/helper-code-frame": {
    61             "version": "1.7.10",
    62             "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.7.10.tgz",
    63             "integrity": "sha512-UiytbpKAULOEab2hUZK2ywXen4gWJVrgxtwY3Kn+eZaaSWaRM8z/7dAXRSoamhKFiBh1uaqxzE/XD9BLlug3gw==",
    64             "dev": true,
    65             "requires": {
    66                 "@webassemblyjs/wast-printer": "1.7.10"
     61            "version": "1.7.11",
     62            "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.7.11.tgz",
     63            "integrity": "sha512-T8ESC9KMXFTXA5urJcyor5cn6qWeZ4/zLPyWeEXZ03hj/x9weSokGNkVCdnhSabKGYWxElSdgJ+sFa9G/RdHNw==",
     64            "dev": true,
     65            "requires": {
     66                "@webassemblyjs/wast-printer": "1.7.11"
    6767            }
    6868        },
    6969        "@webassemblyjs/helper-fsm": {
    70             "version": "1.7.10",
    71             "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.7.10.tgz",
    72             "integrity": "sha512-w2vDtUK9xeSRtt5+RnnlRCI7wHEvLjF0XdnxJpgx+LJOvklTZPqWkuy/NhwHSLP19sm9H8dWxKeReMR7sCkGZA==",
     70            "version": "1.7.11",
     71            "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.7.11.tgz",
     72            "integrity": "sha512-nsAQWNP1+8Z6tkzdYlXT0kxfa2Z1tRTARd8wYnc/e3Zv3VydVVnaeePgqUzFrpkGUyhUUxOl5ML7f1NuT+gC0A==",
    7373            "dev": true
    7474        },
    7575        "@webassemblyjs/helper-module-context": {
    76             "version": "1.7.10",
    77             "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.7.10.tgz",
    78             "integrity": "sha512-yE5x/LzZ3XdPdREmJijxzfrf+BDRewvO0zl8kvORgSWmxpRrkqY39KZSq6TSgIWBxkK4SrzlS3BsMCv2s1FpsQ==",
     76            "version": "1.7.11",
     77            "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.7.11.tgz",
     78            "integrity": "sha512-JxfD5DX8Ygq4PvXDucq0M+sbUFA7BJAv/GGl9ITovqE+idGX+J3QSzJYz+LwQmL7fC3Rs+utvWoJxDb6pmC0qg==",
    7979            "dev": true
    8080        },
    8181        "@webassemblyjs/helper-wasm-bytecode": {
    82             "version": "1.7.10",
    83             "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.7.10.tgz",
    84             "integrity": "sha512-u5qy4SJ/OrxKxZqJ9N3qH4ZQgHaAzsopsYwLvoWJY6Q33r8PhT3VPyNMaJ7ZFoqzBnZlCcS/0f4Sp8WBxylXfg==",
     82            "version": "1.7.11",
     83            "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.7.11.tgz",
     84            "integrity": "sha512-cMXeVS9rhoXsI9LLL4tJxBgVD/KMOKXuFqYb5oCJ/opScWpkCMEz9EJtkonaNcnLv2R3K5jIeS4TRj/drde1JQ==",
    8585            "dev": true
    8686        },
    8787        "@webassemblyjs/helper-wasm-section": {
    88             "version": "1.7.10",
    89             "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.7.10.tgz",
    90             "integrity": "sha512-Ecvww6sCkcjatcyctUrn22neSJHLN/TTzolMGG/N7S9rpbsTZ8c6Bl98GpSpV77EvzNijiNRHBG0+JO99qKz6g==",
    91             "dev": true,
    92             "requires": {
    93                 "@webassemblyjs/ast": "1.7.10",
    94                 "@webassemblyjs/helper-buffer": "1.7.10",
    95                 "@webassemblyjs/helper-wasm-bytecode": "1.7.10",
    96                 "@webassemblyjs/wasm-gen": "1.7.10"
     88            "version": "1.7.11",
     89            "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.7.11.tgz",
     90            "integrity": "sha512-8ZRY5iZbZdtNFE5UFunB8mmBEAbSI3guwbrsCl4fWdfRiAcvqQpeqd5KHhSWLL5wuxo53zcaGZDBU64qgn4I4Q==",
     91            "dev": true,
     92            "requires": {
     93                "@webassemblyjs/ast": "1.7.11",
     94                "@webassemblyjs/helper-buffer": "1.7.11",
     95                "@webassemblyjs/helper-wasm-bytecode": "1.7.11",
     96                "@webassemblyjs/wasm-gen": "1.7.11"
    9797            }
    9898        },
    9999        "@webassemblyjs/ieee754": {
    100             "version": "1.7.10",
    101             "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.7.10.tgz",
    102             "integrity": "sha512-HRcWcY+YWt4+s/CvQn+vnSPfRaD4KkuzQFt5MNaELXXHSjelHlSEA8ZcqT69q0GTIuLWZ6JaoKar4yWHVpZHsQ==",
     100            "version": "1.7.11",
     101            "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.7.11.tgz",
     102            "integrity": "sha512-Mmqx/cS68K1tSrvRLtaV/Lp3NZWzXtOHUW2IvDvl2sihAwJh4ACE0eL6A8FvMyDG9abes3saB6dMimLOs+HMoQ==",
    103103            "dev": true,
    104104            "requires": {
     
    107107        },
    108108        "@webassemblyjs/leb128": {
    109             "version": "1.7.10",
    110             "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.7.10.tgz",
    111             "integrity": "sha512-og8MciYlA8hvzCLR71hCuZKPbVBfLQeHv7ImKZ4nlyxrYbG7uJHYtHiHu6OV9SqrGuD03H/HtXC4Bgdjfm9FHw==",
     109            "version": "1.7.11",
     110            "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.7.11.tgz",
     111            "integrity": "sha512-vuGmgZjjp3zjcerQg+JA+tGOncOnJLWVkt8Aze5eWQLwTQGNgVLcyOTqgSCxWTR4J42ijHbBxnuRaL1Rv7XMdw==",
    112112            "dev": true,
    113113            "requires": {
     
    116116        },
    117117        "@webassemblyjs/utf8": {
    118             "version": "1.7.10",
    119             "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.7.10.tgz",
    120             "integrity": "sha512-Ng6Pxv6siyZp635xCSnH3mKmIFgqWPCcGdoo0GBYgyGdxu7cUj4agV7Uu1a8REP66UYUFXJLudeGgd4RvuJAnQ==",
     118            "version": "1.7.11",
     119            "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.7.11.tgz",
     120            "integrity": "sha512-C6GFkc7aErQIAH+BMrIdVSmW+6HSe20wg57HEC1uqJP8E/xpMjXqQUxkQw07MhNDSDcGpxI9G5JSNOQCqJk4sA==",
    121121            "dev": true
    122122        },
    123123        "@webassemblyjs/wasm-edit": {
    124             "version": "1.7.10",
    125             "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.7.10.tgz",
    126             "integrity": "sha512-e9RZFQlb+ZuYcKRcW9yl+mqX/Ycj9+3/+ppDI8nEE/NCY6FoK8f3dKBcfubYV/HZn44b+ND4hjh+4BYBt+sDnA==",
    127             "dev": true,
    128             "requires": {
    129                 "@webassemblyjs/ast": "1.7.10",
    130                 "@webassemblyjs/helper-buffer": "1.7.10",
    131                 "@webassemblyjs/helper-wasm-bytecode": "1.7.10",
    132                 "@webassemblyjs/helper-wasm-section": "1.7.10",
    133                 "@webassemblyjs/wasm-gen": "1.7.10",
    134                 "@webassemblyjs/wasm-opt": "1.7.10",
    135                 "@webassemblyjs/wasm-parser": "1.7.10",
    136                 "@webassemblyjs/wast-printer": "1.7.10"
     124            "version": "1.7.11",
     125            "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.7.11.tgz",
     126            "integrity": "sha512-FUd97guNGsCZQgeTPKdgxJhBXkUbMTY6hFPf2Y4OedXd48H97J+sOY2Ltaq6WGVpIH8o/TGOVNiVz/SbpEMJGg==",
     127            "dev": true,
     128            "requires": {
     129                "@webassemblyjs/ast": "1.7.11",
     130                "@webassemblyjs/helper-buffer": "1.7.11",
     131                "@webassemblyjs/helper-wasm-bytecode": "1.7.11",
     132                "@webassemblyjs/helper-wasm-section": "1.7.11",
     133                "@webassemblyjs/wasm-gen": "1.7.11",
     134                "@webassemblyjs/wasm-opt": "1.7.11",
     135                "@webassemblyjs/wasm-parser": "1.7.11",
     136                "@webassemblyjs/wast-printer": "1.7.11"
    137137            }
    138138        },
    139139        "@webassemblyjs/wasm-gen": {
    140             "version": "1.7.10",
    141             "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.7.10.tgz",
    142             "integrity": "sha512-M0lb6cO2Y0PzDye/L39PqwV+jvO+2YxEG5ax+7dgq7EwXdAlpOMx1jxyXJTScQoeTpzOPIb+fLgX/IkLF8h2yw==",
    143             "dev": true,
    144             "requires": {
    145                 "@webassemblyjs/ast": "1.7.10",
    146                 "@webassemblyjs/helper-wasm-bytecode": "1.7.10",
    147                 "@webassemblyjs/ieee754": "1.7.10",
    148                 "@webassemblyjs/leb128": "1.7.10",
    149                 "@webassemblyjs/utf8": "1.7.10"
     140            "version": "1.7.11",
     141            "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.7.11.tgz",
     142            "integrity": "sha512-U/KDYp7fgAZX5KPfq4NOupK/BmhDc5Kjy2GIqstMhvvdJRcER/kUsMThpWeRP8BMn4LXaKhSTggIJPOeYHwISA==",
     143            "dev": true,
     144            "requires": {
     145                "@webassemblyjs/ast": "1.7.11",
     146                "@webassemblyjs/helper-wasm-bytecode": "1.7.11",
     147                "@webassemblyjs/ieee754": "1.7.11",
     148                "@webassemblyjs/leb128": "1.7.11",
     149                "@webassemblyjs/utf8": "1.7.11"
    150150            }
    151151        },
    152152        "@webassemblyjs/wasm-opt": {
    153             "version": "1.7.10",
    154             "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.7.10.tgz",
    155             "integrity": "sha512-R66IHGCdicgF5ZliN10yn5HaC7vwYAqrSVJGjtJJQp5+QNPBye6heWdVH/at40uh0uoaDN/UVUfXK0gvuUqtVg==",
    156             "dev": true,
    157             "requires": {
    158                 "@webassemblyjs/ast": "1.7.10",
    159                 "@webassemblyjs/helper-buffer": "1.7.10",
    160                 "@webassemblyjs/wasm-gen": "1.7.10",
    161                 "@webassemblyjs/wasm-parser": "1.7.10"
     153            "version": "1.7.11",
     154            "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.7.11.tgz",
     155            "integrity": "sha512-XynkOwQyiRidh0GLua7SkeHvAPXQV/RxsUeERILmAInZegApOUAIJfRuPYe2F7RcjOC9tW3Cb9juPvAC/sCqvg==",
     156            "dev": true,
     157            "requires": {
     158                "@webassemblyjs/ast": "1.7.11",
     159                "@webassemblyjs/helper-buffer": "1.7.11",
     160                "@webassemblyjs/wasm-gen": "1.7.11",
     161                "@webassemblyjs/wasm-parser": "1.7.11"
    162162            }
    163163        },
    164164        "@webassemblyjs/wasm-parser": {
    165             "version": "1.7.10",
    166             "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.7.10.tgz",
    167             "integrity": "sha512-AEv8mkXVK63n/iDR3T693EzoGPnNAwKwT3iHmKJNBrrALAhhEjuPzo/lTE4U7LquEwyvg5nneSNdTdgrBaGJcA==",
    168             "dev": true,
    169             "requires": {
    170                 "@webassemblyjs/ast": "1.7.10",
    171                 "@webassemblyjs/helper-api-error": "1.7.10",
    172                 "@webassemblyjs/helper-wasm-bytecode": "1.7.10",
    173                 "@webassemblyjs/ieee754": "1.7.10",
    174                 "@webassemblyjs/leb128": "1.7.10",
    175                 "@webassemblyjs/utf8": "1.7.10"
     165            "version": "1.7.11",
     166            "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.7.11.tgz",
     167            "integrity": "sha512-6lmXRTrrZjYD8Ng8xRyvyXQJYUQKYSXhJqXOBLw24rdiXsHAOlvw5PhesjdcaMadU/pyPQOJ5dHreMjBxwnQKg==",
     168            "dev": true,
     169            "requires": {
     170                "@webassemblyjs/ast": "1.7.11",
     171                "@webassemblyjs/helper-api-error": "1.7.11",
     172                "@webassemblyjs/helper-wasm-bytecode": "1.7.11",
     173                "@webassemblyjs/ieee754": "1.7.11",
     174                "@webassemblyjs/leb128": "1.7.11",
     175                "@webassemblyjs/utf8": "1.7.11"
    176176            }
    177177        },
    178178        "@webassemblyjs/wast-parser": {
    179             "version": "1.7.10",
    180             "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.7.10.tgz",
    181             "integrity": "sha512-YTPEtOBljkCL0VjDp4sHe22dAYSm3ZwdJ9+2NTGdtC7ayNvuip1wAhaAS8Zt9Q6SW9E5Jf5PX7YE3XWlrzR9cw==",
    182             "dev": true,
    183             "requires": {
    184                 "@webassemblyjs/ast": "1.7.10",
    185                 "@webassemblyjs/floating-point-hex-parser": "1.7.10",
    186                 "@webassemblyjs/helper-api-error": "1.7.10",
    187                 "@webassemblyjs/helper-code-frame": "1.7.10",
    188                 "@webassemblyjs/helper-fsm": "1.7.10",
     179            "version": "1.7.11",
     180            "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.7.11.tgz",
     181            "integrity": "sha512-lEyVCg2np15tS+dm7+JJTNhNWq9yTZvi3qEhAIIOaofcYlUp0UR5/tVqOwa/gXYr3gjwSZqw+/lS9dscyLelbQ==",
     182            "dev": true,
     183            "requires": {
     184                "@webassemblyjs/ast": "1.7.11",
     185                "@webassemblyjs/floating-point-hex-parser": "1.7.11",
     186                "@webassemblyjs/helper-api-error": "1.7.11",
     187                "@webassemblyjs/helper-code-frame": "1.7.11",
     188                "@webassemblyjs/helper-fsm": "1.7.11",
    189189                "@xtuc/long": "4.2.1"
    190190            }
    191191        },
    192192        "@webassemblyjs/wast-printer": {
    193             "version": "1.7.10",
    194             "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.7.10.tgz",
    195             "integrity": "sha512-mJ3QKWtCchL1vhU/kZlJnLPuQZnlDOdZsyP0bbLWPGdYsQDnSBvyTLhzwBA3QAMlzEL9V4JHygEmK6/OTEyytA==",
    196             "dev": true,
    197             "requires": {
    198                 "@webassemblyjs/ast": "1.7.10",
    199                 "@webassemblyjs/wast-parser": "1.7.10",
     193            "version": "1.7.11",
     194            "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.7.11.tgz",
     195            "integrity": "sha512-m5vkAsuJ32QpkdkDOUPGSltrg8Cuk3KBx4YrmAGQwCZPRdUHXxG4phIOuuycLemHFr74sWL9Wthqss4fzdzSwg==",
     196            "dev": true,
     197            "requires": {
     198                "@webassemblyjs/ast": "1.7.11",
     199                "@webassemblyjs/wast-parser": "1.7.11",
    200200                "@xtuc/long": "4.2.1"
    201201            }
     
    211211        },
    212212        "@wordpress/api-fetch": {
    213             "version": "2.2.1",
    214             "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-2.2.1.tgz",
    215             "integrity": "sha512-uKEXy1d78m+foRhc5yDoE3C6NBVlEL18F70vxedI4XvypkJ15tSNEPVVxwiHRfJ4AUhA9Cmu3HE6VW9ytYuAnQ==",
     213            "version": "2.2.2",
     214            "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-2.2.2.tgz",
     215            "integrity": "sha512-yqJjHR+EjbMZ9BO3DWJqydvlRZoS9M1NvdwXouzkmxCCdVF4JfmWdydfakeXreYH8+T01V/JjP2rZYcQDn36/Q==",
    216216            "requires": {
    217217                "@babel/runtime": "^7.0.0",
     
    238238        },
    239239        "@wordpress/block-library": {
    240             "version": "2.1.7",
    241             "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-2.1.7.tgz",
    242             "integrity": "sha512-mhEmJ8v9eXcrxrTi5KO0ui0ipszjv2eY9POzHMNfW5WtxC/Lppev0ygGg881FX7ZwaOXcTqJ0shlWS/um5R+Dg==",
     240            "version": "2.1.8",
     241            "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-2.1.8.tgz",
     242            "integrity": "sha512-U8SmRZYsmbmPFV6mh6fyDkif+jvAUCeQgkDJjIMLBucq/7KWQutUj9Led8cFvgZ9mM/ZJ8h4YoFsuh7WhB7Liw==",
    243243            "requires": {
    244244                "@babel/runtime": "^7.0.0",
    245245                "@wordpress/autop": "^2.0.2",
    246246                "@wordpress/blob": "^2.1.0",
    247                 "@wordpress/blocks": "^5.1.1",
    248                 "@wordpress/components": "^5.0.1",
     247                "@wordpress/blocks": "^5.1.2",
     248                "@wordpress/components": "^5.0.2",
    249249                "@wordpress/compose": "^2.1.0",
    250                 "@wordpress/core-data": "^2.0.8",
    251                 "@wordpress/data": "^3.0.1",
     250                "@wordpress/core-data": "^2.0.9",
     251                "@wordpress/data": "^3.1.0",
    252252                "@wordpress/deprecated": "^2.0.3",
    253                 "@wordpress/editor": "^6.1.0",
     253                "@wordpress/editor": "^6.1.1",
    254254                "@wordpress/element": "^2.1.5",
    255255                "@wordpress/html-entities": "^2.0.2",
    256256                "@wordpress/i18n": "^3.0.1",
    257257                "@wordpress/keycodes": "^2.0.3",
    258                 "@wordpress/viewport": "^2.0.7",
     258                "@wordpress/viewport": "^2.0.8",
    259259                "classnames": "^2.2.5",
    260260                "lodash": "^4.17.10",
     
    267267        },
    268268        "@wordpress/block-serialization-default-parser": {
    269             "version": "1.0.1",
    270             "resolved": "https://registry.npmjs.org/@wordpress/block-serialization-default-parser/-/block-serialization-default-parser-1.0.1.tgz",
    271             "integrity": "sha512-r3pi1GVDnxR4MEb8BcS2UX8BQcNHU/7PyueUihSWGbVJaCksSf+wyRKVTuZiOQKagO95fWy7Egc0JcWK6clmiQ==",
     269            "version": "1.0.2",
     270            "resolved": "https://registry.npmjs.org/@wordpress/block-serialization-default-parser/-/block-serialization-default-parser-1.0.2.tgz",
     271            "integrity": "sha512-rPsZz5b2E3o9DVsbTmAL64B5CQro65L1QAqyrqr89qUAROvLZepZKIuGo2fd8dsnWIO5v8oaMmc0amSdEmVAiw==",
    272272            "requires": {
    273273                "@babel/runtime": "^7.0.0"
     
    275275        },
    276276        "@wordpress/block-serialization-spec-parser": {
    277             "version": "1.0.3",
    278             "resolved": "https://registry.npmjs.org/@wordpress/block-serialization-spec-parser/-/block-serialization-spec-parser-1.0.3.tgz",
    279             "integrity": "sha512-qteB0HjG6Kc2FHMPx3Q76iuUYLaj8R+FZD+WT5eXRHgm0o1iGAYjth2qyAjj0hQ/ij5pWYc3pdEjiwQOcSqnLQ=="
     277            "version": "1.0.4",
     278            "resolved": "https://registry.npmjs.org/@wordpress/block-serialization-spec-parser/-/block-serialization-spec-parser-1.0.4.tgz",
     279            "integrity": "sha512-Z+XfCWG3/wW9IIuxEuS7tHV81tx4rp0ZcAxF9+ESDbhaP5GFSFLVL4+/ubL713vev5TFaPJZN9pRYSljg+bOqA=="
    280280        },
    281281        "@wordpress/blocks": {
    282             "version": "5.1.1",
    283             "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-5.1.1.tgz",
    284             "integrity": "sha512-k/xrp9LqZx5V5lixWHfmNPhGETUIOHk3vE0t0KxMWKkjkJfRG/5POLx45tD1KZbhx4m8O6Eq0haDpE1Curms0w==",
     282            "version": "5.1.2",
     283            "resolved": "https://registry.npmjs.org/@wordpress/blocks/-/blocks-5.1.2.tgz",
     284            "integrity": "sha512-azOaGvpKyV+Jh8yQKjZ/1FzT63LyTmv/OddzSaln8glETF5yh8xsTDbh1XE9zGICi53fl7lgbpkW9OfZrbQTWQ==",
    285285            "requires": {
    286286                "@babel/runtime": "^7.0.0",
    287287                "@wordpress/autop": "^2.0.2",
    288288                "@wordpress/blob": "^2.1.0",
    289                 "@wordpress/block-serialization-default-parser": "^1.0.1",
    290                 "@wordpress/block-serialization-spec-parser": "^1.0.3",
    291                 "@wordpress/data": "^3.0.1",
     289                "@wordpress/block-serialization-default-parser": "^1.0.2",
     290                "@wordpress/block-serialization-spec-parser": "^1.0.4",
     291                "@wordpress/data": "^3.1.0",
    292292                "@wordpress/dom": "^2.0.4",
    293293                "@wordpress/element": "^2.1.5",
     
    296296                "@wordpress/is-shallow-equal": "^1.1.4",
    297297                "@wordpress/shortcode": "^2.0.2",
    298                 "hpq": "^1.2.0",
     298                "hpq": "^1.3.0",
    299299                "lodash": "^4.17.10",
    300300                "rememo": "^3.0.0",
     
    306306        },
    307307        "@wordpress/components": {
    308             "version": "5.0.1",
    309             "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-5.0.1.tgz",
    310             "integrity": "sha512-Ub3h47JjZbzDw94JJaL0B4TiSLb73aqEAZOxjGPeJ72aR4TZS8mwayxN+tcgIAi0VEkcOWz2559CHk0UM214IA==",
     308            "version": "5.0.2",
     309            "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-5.0.2.tgz",
     310            "integrity": "sha512-i/gnog8ilbZb+8EuIKfJnPQkx1IEh6U/mmWDaesWrYVuIzs7Z4NGWUpLKnmQZHGN6G0YZkd3FJSu5gspwT5bDg==",
    311311            "requires": {
    312312                "@babel/runtime": "^7.0.0",
    313313                "@wordpress/a11y": "^2.0.2",
    314                 "@wordpress/api-fetch": "^2.2.1",
     314                "@wordpress/api-fetch": "^2.2.2",
    315315                "@wordpress/compose": "^2.1.0",
    316316                "@wordpress/deprecated": "^2.0.3",
     
    351351        },
    352352        "@wordpress/core-data": {
    353             "version": "2.0.8",
    354             "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-2.0.8.tgz",
    355             "integrity": "sha512-HJo8C/fX5w1pWT4Qw06KUdSCqi3mabrcljMYvspHdezynlGPd+0qJIlMav3cG6TQ6vZsTu+HN8gDiPT1gay8dw==",
     353            "version": "2.0.9",
     354            "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-2.0.9.tgz",
     355            "integrity": "sha512-+mnHzz6lOur6+MEpgdASza1e7RjCgLty7p+tFZM9k8euNnx+UxffiPd1IWTV8CqBV7sTpZE5mqrM3oCeUxUFtg==",
    356356            "requires": {
    357357                "@babel/runtime": "^7.0.0",
    358                 "@wordpress/api-fetch": "^2.2.1",
    359                 "@wordpress/data": "^3.0.1",
     358                "@wordpress/api-fetch": "^2.2.2",
     359                "@wordpress/data": "^3.1.0",
    360360                "@wordpress/url": "^2.2.0",
    361361                "equivalent-key-map": "^0.2.2",
     
    375375        },
    376376        "@wordpress/data": {
    377             "version": "3.0.1",
    378             "resolved": "https://registry.npmjs.org/@wordpress/data/-/data-3.0.1.tgz",
    379             "integrity": "sha512-7sMJ1EhaONY6vT7Miq534xhtKF+J/LecdiyX4r+DLk1Zgeacl48hUwGGvCzJ+CzwJZ06L1F/5lIEAiWM6he77A==",
     377            "version": "3.1.0",
     378            "resolved": "https://registry.npmjs.org/@wordpress/data/-/data-3.1.0.tgz",
     379            "integrity": "sha512-XQNSOy7xSHVi4KGxOOd6gJJ3+Qq4XWZMK5hMBSEwVCiyIcSbcP6I1AT1NnnPuJeH94BmFCPNADElHB4gazg8xA==",
    380380            "requires": {
    381381                "@babel/runtime": "^7.0.0",
    382382                "@wordpress/compose": "^2.1.0",
     383                "@wordpress/deprecated": "^2.0.3",
    383384                "@wordpress/element": "^2.1.5",
    384385                "@wordpress/is-shallow-equal": "^1.1.4",
     
    428429        },
    429430        "@wordpress/edit-post": {
    430             "version": "2.0.2",
    431             "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-2.0.2.tgz",
    432             "integrity": "sha512-oSArO39TUFR+PboGABq85aYBxo8suOnjJIwc7KzhoelhGVQ+AHxN83xk8L4fhgWvp5v4k4rNu7i/HiVdy0iIsw==",
     431            "version": "2.0.3",
     432            "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-2.0.3.tgz",
     433            "integrity": "sha512-p95SERqEfafGPh4xvAWJLxL6CeBHpiHk6ZKCHd5aAzALYc53ERWCDkz4vR7KLmhFLpaUNfduAcOD+Zh0oxJr8g==",
    433434            "requires": {
    434435                "@babel/runtime": "^7.0.0",
    435436                "@wordpress/a11y": "^2.0.2",
    436                 "@wordpress/api-fetch": "^2.2.1",
    437                 "@wordpress/block-library": "^2.1.7",
    438                 "@wordpress/blocks": "^5.1.1",
    439                 "@wordpress/components": "^5.0.1",
     437                "@wordpress/api-fetch": "^2.2.2",
     438                "@wordpress/block-library": "^2.1.8",
     439                "@wordpress/blocks": "^5.1.2",
     440                "@wordpress/components": "^5.0.2",
    440441                "@wordpress/compose": "^2.1.0",
    441                 "@wordpress/core-data": "^2.0.8",
    442                 "@wordpress/data": "^3.0.1",
     442                "@wordpress/core-data": "^2.0.9",
     443                "@wordpress/data": "^3.1.0",
    443444                "@wordpress/deprecated": "^2.0.3",
    444                 "@wordpress/editor": "^6.1.0",
     445                "@wordpress/editor": "^6.1.1",
    445446                "@wordpress/element": "^2.1.5",
    446                 "@wordpress/format-library": "^1.0.2",
     447                "@wordpress/format-library": "^1.0.3",
    447448                "@wordpress/hooks": "^2.0.3",
    448449                "@wordpress/i18n": "^3.0.1",
    449450                "@wordpress/keycodes": "^2.0.3",
    450                 "@wordpress/nux": "^2.0.8",
     451                "@wordpress/nux": "^2.0.9",
    451452                "@wordpress/plugins": "^2.0.6",
    452453                "@wordpress/url": "^2.2.0",
    453                 "@wordpress/viewport": "^2.0.7",
     454                "@wordpress/viewport": "^2.0.8",
    454455                "classnames": "^2.2.5",
    455456                "lodash": "^4.17.10",
     
    458459        },
    459460        "@wordpress/editor": {
    460             "version": "6.1.0",
    461             "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-6.1.0.tgz",
    462             "integrity": "sha512-ppc5PLjecQrFMSb/I5bv1ENR0E7BSWoqrsW+IjapPkdhPrw5i2UtL3wWb13Nn+4G6UQEUJQO+md+uXnlVMdNkg==",
     461            "version": "6.1.1",
     462            "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-6.1.1.tgz",
     463            "integrity": "sha512-jLF2ig7G+25Amc+393swPpgGA7W5qJJHR8Nq+P4fQE4c98q4uB0buXeZBtxENscnMC8arsiucSymQMXlMkCSMA==",
    463464            "requires": {
    464465                "@babel/runtime": "^7.0.0",
    465466                "@wordpress/a11y": "^2.0.2",
    466                 "@wordpress/api-fetch": "^2.2.1",
     467                "@wordpress/api-fetch": "^2.2.2",
    467468                "@wordpress/blob": "^2.1.0",
    468                 "@wordpress/blocks": "^5.1.1",
    469                 "@wordpress/components": "^5.0.1",
     469                "@wordpress/blocks": "^5.1.2",
     470                "@wordpress/components": "^5.0.2",
    470471                "@wordpress/compose": "^2.1.0",
    471                 "@wordpress/core-data": "^2.0.8",
    472                 "@wordpress/data": "^3.0.1",
     472                "@wordpress/core-data": "^2.0.9",
     473                "@wordpress/data": "^3.1.0",
    473474                "@wordpress/date": "^2.1.0",
    474475                "@wordpress/deprecated": "^2.0.3",
     
    480481                "@wordpress/is-shallow-equal": "^1.1.4",
    481482                "@wordpress/keycodes": "^2.0.3",
    482                 "@wordpress/notices": "^1.0.1",
    483                 "@wordpress/nux": "^2.0.8",
     483                "@wordpress/notices": "^1.0.2",
     484                "@wordpress/nux": "^2.0.9",
    484485                "@wordpress/token-list": "^1.0.2",
    485486                "@wordpress/url": "^2.2.0",
    486                 "@wordpress/viewport": "^2.0.7",
     487                "@wordpress/viewport": "^2.0.8",
    487488                "@wordpress/wordcount": "^2.0.3",
    488489                "classnames": "^2.2.5",
     
    523524        },
    524525        "@wordpress/format-library": {
    525             "version": "1.0.2",
    526             "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-1.0.2.tgz",
    527             "integrity": "sha512-Y49EBpjfo6CbkT8ytuCfaLq53vdGGO+R3XkmEIGrdwaPUFgUyICtrNZKRxml6wx63DdcernaDeYMfz5XWuMWnQ==",
     526            "version": "1.0.3",
     527            "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-1.0.3.tgz",
     528            "integrity": "sha512-mNo9WgS9PChhtGV8ihV3a/i1KlpIttqma/wTiaHPkoecZwYECptnMF+jYNeQ8DTP/GtvgnWhiEdnlEVQ/tknHw==",
    528529            "requires": {
    529530                "@babel/runtime": "^7.0.0",
    530                 "@wordpress/components": "^5.0.1",
     531                "@wordpress/components": "^5.0.2",
    531532                "@wordpress/dom": "^2.0.4",
    532                 "@wordpress/editor": "^6.1.0",
     533                "@wordpress/editor": "^6.1.1",
    533534                "@wordpress/element": "^2.1.5",
    534535                "@wordpress/i18n": "^3.0.1",
    535536                "@wordpress/keycodes": "^2.0.3",
    536                 "@wordpress/rich-text": "^2.0.1",
     537                "@wordpress/rich-text": "^2.0.2",
    537538                "@wordpress/url": "^2.2.0"
    538539            }
     
    595596        },
    596597        "@wordpress/list-reusable-blocks": {
    597             "version": "1.1.6",
    598             "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-1.1.6.tgz",
    599             "integrity": "sha512-69FxfHl8zb0kYcYkAFE9zJCUpBfOP/zLGVa96yTaf/kP0RDrb6oB8APLOWtBrAxIriKcksinjwi1WZv5kw7+fA==",
     598            "version": "1.1.7",
     599            "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-1.1.7.tgz",
     600            "integrity": "sha512-kdAmGks2p+J/z3iwOnir4kg/itqex+kRiJkH7TozzafgM2czBDh8oJ27Esy7NYAc8iu0FOfi4pIkQiZlGcKW3w==",
    600601            "requires": {
    601602                "@babel/runtime": "^7.0.0",
    602                 "@wordpress/api-fetch": "^2.2.1",
    603                 "@wordpress/components": "^5.0.1",
     603                "@wordpress/api-fetch": "^2.2.2",
     604                "@wordpress/components": "^5.0.2",
    604605                "@wordpress/compose": "^2.1.0",
    605606                "@wordpress/element": "^2.1.5",
     
    609610        },
    610611        "@wordpress/notices": {
    611             "version": "1.0.1",
    612             "resolved": "https://registry.npmjs.org/@wordpress/notices/-/notices-1.0.1.tgz",
    613             "integrity": "sha512-Spj6SWDIYUOXA8YtJaX5um0SIqWMKPwJHKnMyFd8pq6K3dsp+vVwsTQEld06XxN9ZyQCKXkQkY1R8rzQozvD2w==",
     612            "version": "1.0.2",
     613            "resolved": "https://registry.npmjs.org/@wordpress/notices/-/notices-1.0.2.tgz",
     614            "integrity": "sha512-wvXWEuZRupmmuADY9boBm91YEUaGpE52+Xx2d1nqH8047XI+iBGsTCLSo3kzNMVrKgNVCli0wFb26KmB+KPRBw==",
    614615            "requires": {
    615616                "@babel/runtime": "^7.0.0",
    616617                "@wordpress/a11y": "^2.0.2",
    617                 "@wordpress/data": "^3.0.1",
     618                "@wordpress/data": "^3.1.0",
    618619                "lodash": "^4.17.10"
    619620            }
    620621        },
    621622        "@wordpress/nux": {
    622             "version": "2.0.8",
    623             "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-2.0.8.tgz",
    624             "integrity": "sha512-DgOLf9wRq+nYK8+KOf/1+DcZQMIo7eQBPN7rffwA3qoVlyzN3Emkn1O4pJwK+c/o5hp0TU2nHRKrYbUvWAwgMQ==",
     623            "version": "2.0.9",
     624            "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-2.0.9.tgz",
     625            "integrity": "sha512-Zna2UABmkzxdP6dTPOeDc1ki+AoGDVsqDKOFK7m3OkzcIeUcLuUAQ0a0cJYyK7EE/T4lFezYJSamJ0osThXmHA==",
    625626            "requires": {
    626627                "@babel/runtime": "^7.0.0",
    627                 "@wordpress/components": "^5.0.1",
     628                "@wordpress/components": "^5.0.2",
    628629                "@wordpress/compose": "^2.1.0",
    629                 "@wordpress/data": "^3.0.1",
     630                "@wordpress/data": "^3.1.0",
    630631                "@wordpress/deprecated": "^2.0.3",
    631632                "@wordpress/element": "^2.1.5",
     
    658659        },
    659660        "@wordpress/rich-text": {
    660             "version": "2.0.1",
    661             "resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-2.0.1.tgz",
    662             "integrity": "sha512-cWbb3CryMaUkUARX+izJu++60IC8vRz68oxgg/bKP3l8Bof2NaAZJt637qQCghl5XVzUXjpBayufF3bdnuajfA==",
     661            "version": "2.0.2",
     662            "resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-2.0.2.tgz",
     663            "integrity": "sha512-86h3BEDtjegQ/SxkwtzuSUcKN7DQJN/4EZEeAF6Wg3Jg6E6wNl5y8v3ymdCYjyF8N901FN177uB9cKDrhaxXzQ==",
    663664            "requires": {
    664665                "@babel/runtime": "^7.0.0",
    665                 "@wordpress/data": "^3.0.1",
     666                "@wordpress/data": "^3.1.0",
    666667                "@wordpress/deprecated": "^2.0.3",
    667668                "@wordpress/escape-html": "^1.0.1",
     
    699700        },
    700701        "@wordpress/viewport": {
    701             "version": "2.0.7",
    702             "resolved": "https://registry.npmjs.org/@wordpress/viewport/-/viewport-2.0.7.tgz",
    703             "integrity": "sha512-bvJytESuTdoTr5GmLmKlLoWp4WfIsN7Jpe5u+EBrbbWXYlDPMBgEnD83bu8myPmQb56YJPPz561YCeTZMPjhDQ==",
     702            "version": "2.0.8",
     703            "resolved": "https://registry.npmjs.org/@wordpress/viewport/-/viewport-2.0.8.tgz",
     704            "integrity": "sha512-3gSZ381WHMGR4ZzfWRmEh2NL2tA06ukUD8H6LoNCxuyeHkQwUgqBrKc8c6CLSoCkS7aNarSvlqEqYmrKqr1jcA==",
    704705            "requires": {
    705706                "@babel/runtime": "^7.0.0",
    706707                "@wordpress/compose": "^2.1.0",
    707                 "@wordpress/data": "^3.0.1",
     708                "@wordpress/data": "^3.1.0",
    708709                "@wordpress/element": "^2.1.5",
    709710                "lodash": "^4.17.10"
     
    11881189                "lodash": {
    11891190                    "version": "3.10.1",
    1190                     "resolved": "http://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
     1191                    "resolved": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz",
    11911192                    "integrity": "sha1-W/Rejkm6QYnhfUgnid/RW9FAt7Y=",
    11921193                    "dev": true
     
    13941395                "util": {
    13951396                    "version": "0.10.3",
    1396                     "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz",
     1397                    "resolved": "http://registry.npmjs.org/util/-/util-0.10.3.tgz",
    13971398                    "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=",
    13981399                    "dev": true,
     
    20862087        "bin-build": {
    20872088            "version": "2.2.0",
    2088             "resolved": "http://registry.npmjs.org/bin-build/-/bin-build-2.2.0.tgz",
     2089            "resolved": "https://registry.npmjs.org/bin-build/-/bin-build-2.2.0.tgz",
    20892090            "integrity": "sha1-EfjdYfcP/Por3KpbRvXo/t1CIcw=",
    20902091            "dev": true,
     
    21622163                "semver": {
    21632164                    "version": "4.3.6",
    2164                     "resolved": "http://registry.npmjs.org/semver/-/semver-4.3.6.tgz",
     2165                    "resolved": "https://registry.npmjs.org/semver/-/semver-4.3.6.tgz",
    21652166                    "integrity": "sha1-MAvG4OhjdPe6YQaLWx7NV/xlMto=",
    21662167                    "dev": true,
     
    25742575        "camelcase-keys": {
    25752576            "version": "2.1.0",
    2576             "resolved": "http://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz",
     2577            "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz",
    25772578            "integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=",
    25782579            "dev": true,
     
    31883189        },
    31893190        "copy-webpack-plugin": {
    3190             "version": "4.5.4",
    3191             "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.5.4.tgz",
    3192             "integrity": "sha512-0lstlEyj74OAtYMrDxlNZsU7cwFijAI3Ofz2fD6Mpo9r4xCv4yegfa3uHIKvZY1NSuOtE9nvG6TAhJ+uz9gDaQ==",
     3191            "version": "4.6.0",
     3192            "resolved": "https://registry.npmjs.org/copy-webpack-plugin/-/copy-webpack-plugin-4.6.0.tgz",
     3193            "integrity": "sha512-Y+SQCF+0NoWQryez2zXn5J5knmr9z/9qSQt7fbL78u83rxmigOy8X5+BFn8CFSuX+nKT8gpYwJX68ekqtQt6ZA==",
    31933194            "dev": true,
    31943195            "requires": {
     
    33203321        "cson-parser": {
    33213322            "version": "1.3.5",
    3322             "resolved": "http://registry.npmjs.org/cson-parser/-/cson-parser-1.3.5.tgz",
     3323            "resolved": "https://registry.npmjs.org/cson-parser/-/cson-parser-1.3.5.tgz",
    33233324            "integrity": "sha1-fsZ14DkUVTO/KmqFYHPxWZ2cLSQ=",
    33243325            "dev": true,
     
    41404141                "domelementtype": {
    41414142                    "version": "1.1.3",
    4142                     "resolved": "http://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz",
     4143                    "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.1.3.tgz",
    41434144                    "integrity": "sha1-vSh3PiZCiBrsUVRJJCmcXNgiGFs=",
    41444145                    "dev": true
     
    44504451        "eventemitter2": {
    44514452            "version": "0.4.14",
    4452             "resolved": "http://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz",
     4453            "resolved": "https://registry.npmjs.org/eventemitter2/-/eventemitter2-0.4.14.tgz",
    44534454            "integrity": "sha1-j2G3XN4BKy6esoTUVFWDtWQ7Yas=",
    44544455            "dev": true
     
    46374638        "external-editor": {
    46384639            "version": "2.2.0",
    4639             "resolved": "http://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz",
     4640            "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz",
    46404641            "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==",
    46414642            "dev": true,
     
    47214722        "fast-deep-equal": {
    47224723            "version": "1.1.0",
    4723             "resolved": "http://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz",
     4724            "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz",
    47244725            "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=",
    47254726            "dev": true
     
    48934894                "commander": {
    48944895                    "version": "2.1.0",
    4895                     "resolved": "http://registry.npmjs.org/commander/-/commander-2.1.0.tgz",
     4896                    "resolved": "https://registry.npmjs.org/commander/-/commander-2.1.0.tgz",
    48964897                    "integrity": "sha1-0SG7roYNmZKj1Re6lvVliOR8Z4E=",
    48974898                    "dev": true
     
    57095710        "get-stream": {
    57105711            "version": "3.0.0",
    5711             "resolved": "http://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",
     5712            "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz",
    57125713            "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ="
    57135714        },
     
    59795980        "got": {
    59805981            "version": "5.7.1",
    5981             "resolved": "http://registry.npmjs.org/got/-/got-5.7.1.tgz",
     5982            "resolved": "https://registry.npmjs.org/got/-/got-5.7.1.tgz",
    59825983            "integrity": "sha1-X4FjWmHkplifGAVp6k44FoClHzU=",
    59835984            "dev": true,
     
    62566257        "grunt-contrib-uglify": {
    62576258            "version": "2.0.0",
    6258             "resolved": "http://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-2.0.0.tgz",
     6259            "resolved": "https://registry.npmjs.org/grunt-contrib-uglify/-/grunt-contrib-uglify-2.0.0.tgz",
    62596260            "integrity": "sha1-jJlw1pCTbN5tJaoRk1Sb2SkBaTA=",
    62606261            "dev": true,
     
    66076608        "grunt-sass": {
    66086609            "version": "2.0.0",
    6609             "resolved": "http://registry.npmjs.org/grunt-sass/-/grunt-sass-2.0.0.tgz",
     6610            "resolved": "https://registry.npmjs.org/grunt-sass/-/grunt-sass-2.0.0.tgz",
    66106611            "integrity": "sha1-kHTPnXtFkuIPd4jKpye4+aoGtgo=",
    66116612            "dev": true,
     
    69826983        },
    69836984        "hpq": {
    6984             "version": "1.2.0",
    6985             "resolved": "https://registry.npmjs.org/hpq/-/hpq-1.2.0.tgz",
    6986             "integrity": "sha1-nGGLI5YqLXPW6Cugh0l4vLNov6I="
     6985            "version": "1.3.0",
     6986            "resolved": "https://registry.npmjs.org/hpq/-/hpq-1.3.0.tgz",
     6987            "integrity": "sha512-fvYTvdCFOWQupGxqkahrkA+ERBuMdzkxwtUdKrxR6rmMd4Pfl+iZ1QiQYoaZ0B/v0y59MOMnz3XFUWbT50/NWA=="
    69876988        },
    69886989        "hsl-regex": {
     
    70127013        "htmlparser2": {
    70137014            "version": "3.8.3",
    7014             "resolved": "http://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz",
     7015            "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz",
    70157016            "integrity": "sha1-mWwosZFRaovoZQGn15dX5ccMEGg=",
    70167017            "dev": true,
     
    70477048                "readable-stream": {
    70487049                    "version": "1.1.14",
    7049                     "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
     7050                    "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
    70507051                    "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
    70517052                    "dev": true,
     
    77447745        "inquirer": {
    77457746            "version": "5.2.0",
    7746             "resolved": "http://registry.npmjs.org/inquirer/-/inquirer-5.2.0.tgz",
     7747            "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-5.2.0.tgz",
    77477748            "integrity": "sha512-E9BmnJbAKLPGonz0HeWHtbKf+EeSP93paWO3ZYoUpq/aowXvYGjjCSuashhXPpzbArIjBbji39THkxTz9ZeEUQ==",
    77487749            "dev": true,
     
    78987899        "is-builtin-module": {
    78997900            "version": "1.0.0",
    7900             "resolved": "http://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz",
     7901            "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-1.0.0.tgz",
    79017902            "integrity": "sha1-VAVy0096wxGfj3bDDLwbHgN6/74=",
    79027903            "dev": true,
     
    80558056        "is-obj": {
    80568057            "version": "1.0.1",
    8057             "resolved": "http://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
     8058            "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz",
    80588059            "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=",
    80598060            "dev": true
     
    84398440        "json5": {
    84408441            "version": "0.5.1",
    8441             "resolved": "http://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
     8442            "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz",
    84428443            "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE="
    84438444        },
    84448445        "jsonfile": {
    84458446            "version": "2.4.0",
    8446             "resolved": "http://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
     8447            "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz",
    84478448            "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=",
    84488449            "dev": true,
     
    85448545        "load-json-file": {
    85458546            "version": "1.1.0",
    8546             "resolved": "http://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
     8547            "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
    85478548            "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
    85488549            "dev": true,
     
    92839284        "media-typer": {
    92849285            "version": "0.3.0",
    9285             "resolved": "http://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
     9286            "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
    92869287            "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=",
    92879288            "dev": true
     
    93129313        "meow": {
    93139314            "version": "3.7.0",
    9314             "resolved": "http://registry.npmjs.org/meow/-/meow-3.7.0.tgz",
     9315            "resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz",
    93159316            "integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=",
    93169317            "dev": true,
     
    95099510        "mkdirp": {
    95109511            "version": "0.5.1",
    9511             "resolved": "http://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
     9512            "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
    95129513            "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=",
    95139514            "requires": {
     
    95949595                "readable-stream": {
    95959596                    "version": "1.1.14",
    9596                     "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
     9597                    "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
    95979598                    "integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
    95989599                    "dev": true,
     
    97479748                "semver": {
    97489749                    "version": "5.3.0",
    9749                     "resolved": "http://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
     9750                    "resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
    97509751                    "integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=",
    97519752                    "dev": true
     
    1102011021        "progress": {
    1102111022            "version": "1.1.8",
    11022             "resolved": "http://registry.npmjs.org/progress/-/progress-1.1.8.tgz",
     11023            "resolved": "https://registry.npmjs.org/progress/-/progress-1.1.8.tgz",
    1102311024            "integrity": "sha1-4mDHj2Fhzdmw5WzD4Khd4Xx6V74=",
    1102411025            "dev": true
     
    1188411885        "regjsgen": {
    1188511886            "version": "0.2.0",
    11886             "resolved": "http://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz",
     11887            "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz",
    1188711888            "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc="
    1188811889        },
     
    1222712228        "safe-regex": {
    1222812229            "version": "1.1.0",
    12229             "resolved": "http://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
     12230            "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz",
    1223012231            "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=",
    1223112232            "dev": true,
     
    1329413295        "strip-dirs": {
    1329513296            "version": "1.1.1",
    13296             "resolved": "http://registry.npmjs.org/strip-dirs/-/strip-dirs-1.1.1.tgz",
     13297            "resolved": "https://registry.npmjs.org/strip-dirs/-/strip-dirs-1.1.1.tgz",
    1329713298            "integrity": "sha1-lgu9EoeETzl1pFWKoQOoJV4kVqA=",
    1329813299            "dev": true,
     
    1331613317        "strip-eof": {
    1331713318            "version": "1.0.0",
    13318             "resolved": "http://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
     13319            "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz",
    1331913320            "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8="
    1332013321        },
     
    1350713508        "through": {
    1350813509            "version": "2.3.8",
    13509             "resolved": "http://registry.npmjs.org/through/-/through-2.3.8.tgz",
     13510            "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz",
    1351013511            "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=",
    1351113512            "dev": true
     
    1360613607        },
    1360713608        "tinymce": {
    13608             "version": "4.8.4",
    13609             "resolved": "https://registry.npmjs.org/tinymce/-/tinymce-4.8.4.tgz",
    13610             "integrity": "sha512-hbq7Xw8rnSc5oozvhgjeGKxZ9nhelNWLyoFq+BDUbrqztq5vF+4Lw8IsxFOfnn5teE383NeWLXQT9tRwf/eeHg=="
     13609            "version": "4.8.5",
     13610            "resolved": "https://registry.npmjs.org/tinymce/-/tinymce-4.8.5.tgz",
     13611            "integrity": "sha512-1V6+PxP5Kp8H/Kuf+EOe6vyrtj1Dlj98q33DgiKGoGPTmbcQaVZWiT+lhqj8ICXKVLV3YxAieOJyJXai4SLHQg=="
    1361113612        },
    1361213613        "tmp": {
     
    1431714318        },
    1431814319        "webpack": {
    14319             "version": "4.23.1",
    14320             "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.23.1.tgz",
    14321             "integrity": "sha512-iE5Cu4rGEDk7ONRjisTOjVHv3dDtcFfwitSxT7evtYj/rANJpt1OuC/Kozh1pBa99AUBr1L/LsaNB+D9Xz3CEg==",
    14322             "dev": true,
    14323             "requires": {
    14324                 "@webassemblyjs/ast": "1.7.10",
    14325                 "@webassemblyjs/helper-module-context": "1.7.10",
    14326                 "@webassemblyjs/wasm-edit": "1.7.10",
    14327                 "@webassemblyjs/wasm-parser": "1.7.10",
     14320            "version": "4.24.0",
     14321            "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.24.0.tgz",
     14322            "integrity": "sha512-Xur0l8nBETnW+DjpFqSGME1jNXxEPVETl30k1lWAsbnukVJdq330/i3PDOLPUtVl/E/cciiOp5uW098hFfQLQA==",
     14323            "dev": true,
     14324            "requires": {
     14325                "@webassemblyjs/ast": "1.7.11",
     14326                "@webassemblyjs/helper-module-context": "1.7.11",
     14327                "@webassemblyjs/wasm-edit": "1.7.11",
     14328                "@webassemblyjs/wasm-parser": "1.7.11",
    1432814329                "acorn": "^5.6.2",
    1432914330                "acorn-dynamic-import": "^3.0.0",
     
    1509415095        "wrap-ansi": {
    1509515096            "version": "2.1.0",
    15096             "resolved": "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
     15097            "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz",
    1509715098            "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=",
    1509815099            "requires": {
     
    1515915160        "xmlbuilder": {
    1516015161            "version": "8.2.2",
    15161             "resolved": "http://registry.npmjs.org/xmlbuilder/-/xmlbuilder-8.2.2.tgz",
     15162            "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-8.2.2.tgz",
    1516215163            "integrity": "sha1-aSSGc0ELS6QuGmE2VR0pIjNap3M=",
    1516315164            "dev": true
  • branches/5.0/package.json

    r43853 r43861  
    1717        "@wordpress/library-export-default-webpack-plugin": "^1.0.4",
    1818        "autoprefixer": "^9.1.5",
    19         "copy-webpack-plugin": "^4.5.2",
     19        "copy-webpack-plugin": "^4.6.0",
    2020        "cssnano": "^4.1.4",
    2121        "grunt": "~1.0.3",
     
    4545        "source-map-loader": "^0.2.4",
    4646        "uglify-js": "^3.4.9",
    47         "webpack": "^4.20.2",
     47        "webpack": "^4.24.0",
    4848        "webpack-dev-server": "^3.1.9",
    4949        "webpack-livereload-plugin": "^2.1.1"
     
    5252        "@babel/polyfill": "^7.0.0",
    5353        "@wordpress/a11y": "^2.0.2",
    54         "@wordpress/api-fetch": "^2.2.1",
     54        "@wordpress/api-fetch": "^2.2.2",
    5555        "@wordpress/autop": "^2.0.2",
    5656        "@wordpress/blob": "^2.1.0",
    57         "@wordpress/block-library": "^2.1.7",
    58         "@wordpress/block-serialization-default-parser": "^1.0.1",
    59         "@wordpress/blocks": "^5.1.1",
    60         "@wordpress/components": "^5.0.1",
     57        "@wordpress/block-library": "^2.1.8",
     58        "@wordpress/block-serialization-default-parser": "^1.0.2",
     59        "@wordpress/blocks": "^5.1.2",
     60        "@wordpress/components": "^5.0.2",
    6161        "@wordpress/compose": "^2.1.0",
    62         "@wordpress/core-data": "^2.0.8",
    63         "@wordpress/data": "^3.0.1",
     62        "@wordpress/core-data": "^2.0.9",
     63        "@wordpress/data": "^3.1.0",
    6464        "@wordpress/date": "^2.1.0",
    6565        "@wordpress/deprecated": "^2.0.3",
    6666        "@wordpress/dom": "^2.0.4",
    6767        "@wordpress/dom-ready": "^2.0.2",
    68         "@wordpress/edit-post": "^2.0.2",
    69         "@wordpress/editor": "^6.1.0",
     68        "@wordpress/edit-post": "^2.0.3",
     69        "@wordpress/editor": "^6.1.1",
    7070        "@wordpress/element": "^2.1.5",
    7171        "@wordpress/escape-html": "^1.0.1",
    72         "@wordpress/format-library": "^1.0.2",
     72        "@wordpress/format-library": "^1.0.3",
    7373        "@wordpress/hooks": "^2.0.3",
    7474        "@wordpress/html-entities": "^2.0.2",
     
    7676        "@wordpress/is-shallow-equal": "^1.1.4",
    7777        "@wordpress/keycodes": "^2.0.3",
    78         "@wordpress/list-reusable-blocks": "^1.1.6",
    79         "@wordpress/notices": "^1.0.1",
    80         "@wordpress/nux": "^2.0.8",
     78        "@wordpress/list-reusable-blocks": "^1.1.7",
     79        "@wordpress/notices": "^1.0.2",
     80        "@wordpress/nux": "^2.0.9",
    8181        "@wordpress/plugins": "^2.0.6",
    8282        "@wordpress/redux-routine": "^3.0.3",
    83         "@wordpress/rich-text": "^2.0.1",
     83        "@wordpress/rich-text": "^2.0.2",
    8484        "@wordpress/shortcode": "^2.0.2",
    8585        "@wordpress/token-list": "^1.0.2",
    8686        "@wordpress/url": "^2.2.0",
    87         "@wordpress/viewport": "^2.0.7",
     87        "@wordpress/viewport": "^2.0.8",
    8888        "@wordpress/wordcount": "^2.0.3",
    8989        "element-closest": "^2.0.2",
  • branches/5.0/src/wp-admin/edit-form-blocks.php

    r43857 r43861  
    209209}
    210210
     211// Image sizes.
     212$image_sizes   = get_intermediate_image_sizes();
     213$image_sizes[] = 'full';
     214
     215/** This filter is documented in wp-admin/includes/media.php */
     216$image_size_names = apply_filters(
     217    'image_size_names_choose',
     218    array(
     219        'thumbnail' => __( 'Thumbnail' ),
     220        'medium'    => __( 'Medium' ),
     221        'large'     => __( 'Large' ),
     222        'full'      => __( 'Full Size' ),
     223    )
     224);
     225
     226$available_image_sizes = array();
     227foreach ( $image_sizes as $image_size_slug ) {
     228    $available_image_sizes[] = array(
     229        'slug' => $image_size_slug,
     230        'name' => isset( $image_size_names[ $image_size_slug ] ) ? $image_size_names[ $image_size_slug ] : $image_size_slug,
     231    );
     232}
     233
    211234// Lock settings.
    212235$user_id = wp_check_post_lock( $post->ID );
     
    264287    'allowedMimeTypes'       => get_allowed_mime_types(),
    265288    'styles'                 => $styles,
     289    'availableImageSizes'    => $available_image_sizes,
    266290    'postLock'               => $lock_details,
    267291    'postLockUtils'          => array(
     
    270294        'ajaxUrl'     => admin_url( 'admin-ajax.php' ),
    271295    ),
     296
     297    // Whether or not to load the 'postcustom' meta box is stored as a user meta
     298    // field so that we're not always loading its assets.
     299    'enableCustomFields'     => (bool) get_user_meta( get_current_user_id(), 'enable_custom_fields', true ),
    272300);
    273301
  • branches/5.0/src/wp-admin/includes/meta-boxes.php

    r43837 r43861  
    13621362
    13631363    if ( post_type_supports($post_type, 'custom-fields') )
    1364         add_meta_box('postcustom', __('Custom Fields'), 'post_custom_meta_box', null, 'normal', 'core', array( '__back_compat_meta_box' => true ) );
     1364        $screen = get_current_screen();
     1365        if ( ! $screen || ! $screen->is_block_editor() || (bool) get_user_meta( get_current_user_id(), 'enable_custom_fields', true ) ) {
     1366            add_meta_box('postcustom', __('Custom Fields'), 'post_custom_meta_box', null, 'normal', 'core', array( '__back_compat_meta_box' => false, '__block_editor_compatible_meta_box' => true ) );
     1367        }
    13651368
    13661369    /**
  • branches/5.0/src/wp-admin/includes/post.php

    r43858 r43861  
    19591959            'slug'  => 'common',
    19601960            'title' => __( 'Common Blocks' ),
    1961             'icon'  => 'screenoptions',
     1961            'icon'  => null,
    19621962        ),
    19631963        array(
     
    20612061    <?php the_block_editor_meta_box_post_form_hidden_fields( $post ); ?>
    20622062    </form>
     2063    <form id="toggle-custom-fields-form" method="post" action="<?php echo esc_attr( admin_url( 'post.php' ) ); ?>">
     2064        <?php wp_nonce_field( 'toggle-custom-fields' ); ?>
     2065        <input type="hidden" name="action" value="toggle-custom-fields" />
     2066    </form>
    20632067    <?php foreach ( $locations as $location ) : ?>
    20642068        <form class="metabox-location-<?php echo esc_attr( $location ); ?>">
     
    21362140    }
    21372141
     2142    /**
     2143     * If the 'postcustom' meta box is enabled, then we need to perform some
     2144     * extra initialization on it.
     2145     */
     2146    $enable_custom_fields = (bool) get_user_meta( get_current_user_id(), 'enable_custom_fields', true );
     2147    if ( $enable_custom_fields ) {
     2148        $script = "( function( $ ) {
     2149            if ( $('#postcustom').length ) {
     2150                $( '#the-list' ).wpList( {
     2151                    addBefore: function( s ) {
     2152                        s.data += '&post_id=$post->ID';
     2153                        return s;
     2154                    },
     2155                    addAfter: function() {
     2156                        $('table#list-table').show();
     2157                    }
     2158                });
     2159            }
     2160        } )( jQuery );";
     2161        wp_enqueue_script( 'wp-lists' );
     2162        wp_add_inline_script( 'wp-lists', $script );
     2163    }
     2164
    21382165    // Reset meta box data.
    21392166    $wp_meta_boxes = $_original_meta_boxes;
  • branches/5.0/src/wp-admin/post.php

    r43815 r43861  
    281281    exit();
    282282
     283case 'toggle-custom-fields':
     284    check_admin_referer( 'toggle-custom-fields' );
     285
     286    $current_user_id = get_current_user_id();
     287    if ( $current_user_id ) {
     288        $enable_custom_fields = (bool) get_user_meta( $current_user_id, 'enable_custom_fields', true );
     289        update_user_meta( $current_user_id, 'enable_custom_fields', ! $enable_custom_fields );
     290    }
     291
     292    wp_safe_redirect( wp_get_referer() );
     293    exit();
     294
    283295default:
    284296    /**
  • branches/5.0/src/wp-includes/script-loader.php

    r43840 r43861  
    238238            'lodash',
    239239            'wp-compose',
     240            'wp-deprecated',
    240241            'wp-element',
    241242            'wp-is-shallow-equal',
     
    354355            'wp-blocks',
    355356            'wp-data',
     357            'wp-deprecated',
    356358            'wp-escape-html',
    357359            'wp-polyfill',
Note: See TracChangeset for help on using the changeset viewer.