<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[44106] branches/4.9/src: Dashboard: Remove the Try Gutenberg callout.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/44106">44106</a><script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","description":"Review this Commit","action":{"@type":"ViewAction","url":"https://core.trac.wordpress.org/changeset/44106","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>pento</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2018-12-13 09:06:20 +0000 (Thu, 13 Dec 2018)</dd>
</dl>
<pre style='padding-left: 1em; margin: 2em 0; border-left: 2px solid #ccc; line-height: 1.25; font-size: 105%; font-family: sans-serif'>Dashboard: Remove the Try Gutenberg callout.
Merge of <a href="https://core.trac.wordpress.org/changeset/43807">[43807]</a> from the 5.0 branch.
Props mukesh27.
Fixes <a href="https://core.trac.wordpress.org/ticket/45063">#45063</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#branches49srcwpadminadminajaxphp">branches/4.9/src/wp-admin/admin-ajax.php</a></li>
<li><a href="#branches49srcwpadmincsscommoncss">branches/4.9/src/wp-admin/css/common.css</a></li>
<li><a href="#branches49srcwpadmincssdashboardcss">branches/4.9/src/wp-admin/css/dashboard.css</a></li>
<li><a href="#branches49srcwpadminincludesajaxactionsphp">branches/4.9/src/wp-admin/includes/ajax-actions.php</a></li>
<li><a href="#branches49srcwpadminincludesclasswpscreenphp">branches/4.9/src/wp-admin/includes/class-wp-screen.php</a></li>
<li><a href="#branches49srcwpadminincludesdashboardphp">branches/4.9/src/wp-admin/includes/dashboard.php</a></li>
<li><a href="#branches49srcwpadminindexphp">branches/4.9/src/wp-admin/index.php</a></li>
<li><a href="#branches49srcwpadminjsdashboardjs">branches/4.9/src/wp-admin/js/dashboard.js</a></li>
<li><a href="#branches49srcwpadminpluginsphp">branches/4.9/src/wp-admin/plugins.php</a></li>
<li><a href="#branches49srcwpincludesdefaultfiltersphp">branches/4.9/src/wp-includes/default-filters.php</a></li>
</ul>
<h3>Property Changed</h3>
<ul>
<li><a href="#branches49">branches/4.9/</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<span class="cx" style="display: block; padding: 0 10px">Index: branches/4.9
</span><span class="cx" style="display: block; padding: 0 10px">===================================================================
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">--- branches/4.9 2018-12-13 03:40:01 UTC (rev 44105)
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+++ branches/4.9 2018-12-13 09:06:20 UTC (rev 44106)
</ins><a id="branches49"></a>
<div class="propset"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Property changes: branches/4.9</h4>
<pre class="diff"><span>
</span></pre></div>
<a id="svnmergeinfo"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: svn:mergeinfo</h4></div>
<span class="cx" style="display: block; padding: 0 10px"> /branches/3.1:18031
</span><span class="cx" style="display: block; padding: 0 10px"> /branches/3.3:20543
</span><span class="cx" style="display: block; padding: 0 10px"> /branches/3.4:21757
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-/branches/5.0:43988,43994,44014,44017,44047
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/branches/5.0:43807,43988,43994,44014,44017,44047
</ins><span class="cx" style="display: block; padding: 0 10px"> /trunk:18512,42132,42134,42136,42138,42140,42144,42146,42148,42150,42152-42153,42155,42157,42159,42161,42163,42169,42171,42173,42175,42177,42181,42183,42185,42187,42189,42191,42193,42199,42203,42210,42214,42220,42222,42226,42242,42244,42247,42251,42256-42261,42350,42358,42362,42364-42368,42374,42388,42390,42401,42417,42421,42423-42425,42430,42432-42433,42437,42441,42443,42446-42447,42449,42451,42453,42457,42459,42462,42491,42521,42529,42531,42533,42536,42538,42541,42543,42545,42549,42566,42568,42570,42572,42574,42576,42579,42581-42582,42584-42585,42587-42588,42590,42592,42594-42595,42598-42599,42602,42604,42606,42611-42613,42615,42617,42624-42625,42639,42648,42652-42653,42665,42676,42687,42695,42697,42702,42711,42713,42719,42722,42726,42728,42739-42740,42744,42758,42772,42791-42792,42801,42814-42815,42817-42818,42823,42830,42837,42839,42841,42844,42851-42852,42860,42864,42881,42888-42889,42892-42894,42930,42964,42967,429
71-42972,42977-42978,42980-42982,42985-42987,42989,42992,42994-42995,42998-42999,43001-43004,43007-43008,43011-43012,43014-43015,43025,43027,43030,43032,43034,43036,43039,43042,43044-43049,43051-43063,43065,43081,43085,43087-43089,43091,43104,43116,43118,43120-43121,43123,43125-43126,43131-43132,43135,43137,43139,43145-43148,43150,43154-43155,43158,43160,43162,43166,43168,43170,43172,43175,43180-43181,43183-43185,43189,43191,43193,43195,43197,43199,43201,43203,43206,43208,43210-43212,43216,43218,43220,43222-43223,43226,43228,43230,43232,43234,43236,43238,43242-43243,43245-43246,43248-43251,43256,43259-43260,43263,43265,43267,43269,43274-43275,43278-43279,43282,43284,43286,43290-43293,43299,43303-43304,43313,43315,43317,43331,43337,43343,43350,43353,43356,43361-43363,43365,43367,43370-43371,43373-43376,43379,43388,43390,43435,43437,43439-43440,43446-43447,43451,43454,43457,43460,43462-43467,43469,43471,43475,43477-43478,43480,43486,43491,43493,43495,43499,43504,43506,43508,43511-4351
3,43518,43525,43527,43529,43531,43541,43550,43559,43567,43580,43593,43597,43599,43609,43636,43638,43653,44021,44048
</span><span class="cx" style="display: block; padding: 0 10px">\ No newline at end of property
</span><a id="branches49srcwpadminadminajaxphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.9/src/wp-admin/admin-ajax.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.9/src/wp-admin/admin-ajax.php 2018-12-13 03:40:01 UTC (rev 44105)
+++ branches/4.9/src/wp-admin/admin-ajax.php 2018-12-13 09:06:20 UTC (rev 44106)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -67,7 +67,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'get-post-thumbnail-html', 'get-community-events', 'edit-theme-plugin-file',
</span><span class="cx" style="display: block; padding: 0 10px"> 'wp-privacy-export-personal-data',
</span><span class="cx" style="display: block; padding: 0 10px"> 'wp-privacy-erase-personal-data',
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- 'update-try-gutenberg-panel',
</del><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Deprecated
</span></span></pre></div>
<a id="branches49srcwpadmincsscommoncss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.9/src/wp-admin/css/common.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.9/src/wp-admin/css/common.css 2018-12-13 03:40:01 UTC (rev 44105)
+++ branches/4.9/src/wp-admin/css/common.css 2018-12-13 09:06:20 UTC (rev 44106)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -764,7 +764,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* @todo can we combine these into a class or use an existing dashicon one? */
</span><span class="cx" style="display: block; padding: 0 10px"> .welcome-panel .welcome-panel-close:before,
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.try-gutenberg-panel .try-gutenberg-panel-close:before,
</del><span class="cx" style="display: block; padding: 0 10px"> .tagchecklist .ntdelbutton .remove-tag-icon:before,
</span><span class="cx" style="display: block; padding: 0 10px"> #bulk-titles div a:before,
</span><span class="cx" style="display: block; padding: 0 10px"> .notice-dismiss:before {
</span></span></pre></div>
<a id="branches49srcwpadmincssdashboardcss"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.9/src/wp-admin/css/dashboard.css</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.9/src/wp-admin/css/dashboard.css 2018-12-13 03:40:01 UTC (rev 44105)
+++ branches/4.9/src/wp-admin/css/dashboard.css 2018-12-13 09:06:20 UTC (rev 44106)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -98,8 +98,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* Welcome Panel */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.welcome-panel,
-.try-gutenberg-panel {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.welcome-panel {
</ins><span class="cx" style="display: block; padding: 0 10px"> position: relative;
</span><span class="cx" style="display: block; padding: 0 10px"> overflow: auto;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 16px 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -111,8 +110,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> line-height: 2.1em;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.welcome-panel h2,
-.try-gutenberg-panel h2 {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.welcome-panel h2 {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 21px;
</span><span class="cx" style="display: block; padding: 0 10px"> font-weight: 400;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -124,41 +122,24 @@
</span><span class="cx" style="display: block; padding: 0 10px"> font-size: 16px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.try-gutenberg-panel h3 {
- margin: 17px 0 0;
- font-size: 16px;
- line-height: 1.4;
-}
-
-.welcome-panel li,
-.try-gutenberg-panel li {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.welcome-panel li {
</ins><span class="cx" style="display: block; padding: 0 10px"> font-size: 14px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.welcome-panel p,
-.try-gutenberg-panel p {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.welcome-panel p {
</ins><span class="cx" style="display: block; padding: 0 10px"> color: #72777c;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.welcome-panel a,
-.try-gutenberg-action a {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.welcome-panel a {
</ins><span class="cx" style="display: block; padding: 0 10px"> text-decoration: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.welcome-panel .about-description,
-.try-gutenberg-panel .about-description {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.welcome-panel .about-description {
</ins><span class="cx" style="display: block; padding: 0 10px"> font-size: 16px;
</span><span class="cx" style="display: block; padding: 0 10px"> margin: 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.try-gutenberg-panel-content hr {
- margin: 20px -23px 0 -23px;
- border-top: 1px solid #f3f4f5;
- border-bottom: none;
-}
-
-.welcome-panel .welcome-panel-close,
-.try-gutenberg-panel .try-gutenberg-panel-close {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.welcome-panel .welcome-panel-close {
</ins><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><span class="cx" style="display: block; padding: 0 10px"> z-index: 10;
</span><span class="cx" style="display: block; padding: 0 10px"> top: 10px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -169,8 +150,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> text-decoration: none;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.welcome-panel .welcome-panel-close:before,
-.try-gutenberg-panel .try-gutenberg-panel-close:before {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.welcome-panel .welcome-panel-close:before {
</ins><span class="cx" style="display: block; padding: 0 10px"> position: absolute;
</span><span class="cx" style="display: block; padding: 0 10px"> top: 8px;
</span><span class="cx" style="display: block; padding: 0 10px"> left: 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -185,23 +165,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> white-space: normal;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.welcome-panel-content,
-.try-gutenberg-panel-content {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.welcome-panel-content {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin: 0 13px;
</span><span class="cx" style="display: block; padding: 0 10px"> max-width: 1500px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.try-gutenberg-panel img {
- margin-top: 23px;
- width: calc( 100% - 40px );
- border: 1px solid #f3f4f5;
-}
-
-.try-gutenberg-panel .install-now.updating-message:before,
-.try-gutenberg-panel .install-now.updated-message:before {
- margin-top: 11px;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .welcome-panel .welcome-panel-column-container {
</span><span class="cx" style="display: block; padding: 0 10px"> clear: both;
</span><span class="cx" style="display: block; padding: 0 10px"> position: relative;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -213,10 +181,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> float: left;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.try-gutenberg-panel .try-gutenberg-panel-column > * {
- padding-right: 40px;
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .ie8 .welcome-panel .welcome-panel-column {
</span><span class="cx" style="display: block; padding: 0 10px"> min-width: 230px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -225,63 +189,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> width: 36%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.try-gutenberg-panel .try-gutenberg-panel-column-container {
- display: flex;
- margin-bottom: 13px;
-}
-
-@supports (display: grid) {
- .try-gutenberg-panel .try-gutenberg-panel-column-container {
- display: -ms-grid;
- display: grid;
- -ms-grid-columns: 36% 32% 32%;
- grid-template-columns: 36% 32% 32%;
- }
-}
-
-.try-gutenberg-panel .try-gutenberg-panel-image-column {
- width: 36%;
-}
-
-@supports (display: grid) {
- .try-gutenberg-panel .try-gutenberg-panel-image-column {
- width: auto;
- }
-}
-
-.try-gutenberg-panel .try-gutenberg-panel-column:not(.try-gutenberg-panel-image-column) {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- width: 32%;
-}
-
-@supports (display: grid) {
- .try-gutenberg-panel .try-gutenberg-panel-column:not(.try-gutenberg-panel-image-column) {
- display: -ms-grid;
- display: grid;
- -ms-grid-rows: auto 100px;
- grid-template-rows: auto 100px;
- width: auto;
- }
-}
-
-.try-gutenberg-panel .try-gutenberg-action {
- height: 100px;
-}
-
-@supports (display: grid) {
- .try-gutenberg-panel .try-gutenberg-action {
- height: auto;
- }
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> .welcome-panel-column p.hide-if-no-customize {
</span><span class="cx" style="display: block; padding: 0 10px"> margin-top: 10px;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-.welcome-panel-column p,
-.try-gutenberg-panel-column p {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+.welcome-panel-column p {
</ins><span class="cx" style="display: block; padding: 0 10px"> margin-top: 7px;
</span><span class="cx" style="display: block; padding: 0 10px"> color: #444;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1296,27 +1208,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-@media screen and (max-width: 1024px) {
- .try-gutenberg-panel .try-gutenberg-panel-column-container {
- -ms-grid-columns: 50% 50%;
- grid-template-columns: 50% 50%;
- }
-
- .try-gutenberg-panel .try-gutenberg-panel-image-column {
- display: none;
- }
-
- .try-gutenberg-panel .try-gutenberg-panel-column:not(.try-gutenberg-panel-image-column) {
- width: 50%;
- }
-
- @supports (display: grid) {
- .try-gutenberg-panel .try-gutenberg-panel-column:not(.try-gutenberg-panel-image-column) {
- width: auto;
- }
- }
-}
-
</del><span class="cx" style="display: block; padding: 0 10px"> @media screen and (max-width: 870px) {
</span><span class="cx" style="display: block; padding: 0 10px"> .welcome-panel .welcome-panel-column,
</span><span class="cx" style="display: block; padding: 0 10px"> .welcome-panel .welcome-panel-column:first-child {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1325,21 +1216,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> width: 100%;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .try-gutenberg-panel .try-gutenberg-panel-column-container {
- flex-wrap: wrap;
- }
-
- @supports (display: grid) {
- .try-gutenberg-panel .try-gutenberg-panel-column-container {
- -ms-grid-columns: 100%;
- grid-template-columns: 100%;
- }
- }
-
- .try-gutenberg-panel .try-gutenberg-panel-column:not(.try-gutenberg-panel-image-column) {
- width: 100%;
- }
-
</del><span class="cx" style="display: block; padding: 0 10px"> .welcome-panel .welcome-panel-column li {
</span><span class="cx" style="display: block; padding: 0 10px"> display: inline-block;
</span><span class="cx" style="display: block; padding: 0 10px"> margin-right: 13px;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1390,8 +1266,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /* Smartphone */
</span><span class="cx" style="display: block; padding: 0 10px"> @media screen and (max-width: 600px) {
</span><span class="cx" style="display: block; padding: 0 10px"> /* Keep the close icon from overlapping the Welcome text. */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .welcome-panel .welcome-panel-close,
- .try-gutenberg-panel .try-gutenberg-panel-close {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .welcome-panel .welcome-panel-close {
</ins><span class="cx" style="display: block; padding: 0 10px"> overflow: hidden;
</span><span class="cx" style="display: block; padding: 0 10px"> text-indent: 40px;
</span><span class="cx" style="display: block; padding: 0 10px"> white-space: nowrap;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1403,8 +1278,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* Make the close icon larger for tappability. */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- .welcome-panel .welcome-panel-close:before,
- .try-gutenberg-panel .try-gutenberg-panel-close:before {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ .welcome-panel .welcome-panel-close:before {
</ins><span class="cx" style="display: block; padding: 0 10px"> font-size: 20px;
</span><span class="cx" style="display: block; padding: 0 10px"> top: 5px;
</span><span class="cx" style="display: block; padding: 0 10px"> left: -35px;
</span></span></pre></div>
<a id="branches49srcwpadminincludesajaxactionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.9/src/wp-admin/includes/ajax-actions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.9/src/wp-admin/includes/ajax-actions.php 2018-12-13 03:40:01 UTC (rev 44105)
+++ branches/4.9/src/wp-admin/includes/ajax-actions.php 2018-12-13 09:06:20 UTC (rev 44106)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1485,19 +1485,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * Ajax handler for updating whether to display the Try Gutenberg panel.
- *
- * @since 4.9.8
- */
-function wp_ajax_update_try_gutenberg_panel() {
- check_ajax_referer( 'try-gutenberg-panel-nonce', 'trygutenbergpanelnonce' );
-
- update_user_meta( get_current_user_id(), 'show_try_gutenberg_panel', empty( $_POST['visible'] ) ? 0 : 1 );
-
- wp_die( 1 );
-}
-
-/**
</del><span class="cx" style="display: block; padding: 0 10px"> * Ajax handler for retrieving menu meta boxes.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.1.0
</span></span></pre></div>
<a id="branches49srcwpadminincludesclasswpscreenphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.9/src/wp-admin/includes/class-wp-screen.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.9/src/wp-admin/includes/class-wp-screen.php 2018-12-13 03:40:01 UTC (rev 44105)
+++ branches/4.9/src/wp-admin/includes/class-wp-screen.php 2018-12-13 09:06:20 UTC (rev 44106)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1034,23 +1034,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> echo _x( 'Welcome', 'Welcome panel' ) . "</label>\n";
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( 'dashboard' === $this->id && has_action( 'try_gutenberg_panel' ) ) {
- if ( isset( $_GET['try_gutenberg'] ) ) {
- $try_gutenberg_checked = empty( $_GET['try_gutenberg'] ) ? 0 : 1;
- update_user_meta( get_current_user_id(), 'show_try_gutenberg_panel', $try_gutenberg_checked );
- } else {
- $try_gutenberg_checked = get_user_meta( get_current_user_id(), 'show_try_gutenberg_panel', true );
- if ( '' === $try_gutenberg_checked ) {
- $try_gutenberg_checked = '1';
- }
- if ( '2' === $try_gutenberg_checked && wp_get_current_user()->user_email != get_option( 'admin_email' ) ) {
- $try_gutenberg_checked = false;
- }
- }
- echo '<label for="wp_try_gutenberg_panel-hide">';
- echo '<input type="checkbox" id="wp_try_gutenberg_panel-hide"' . checked( (bool) $try_gutenberg_checked, true, false ) . ' />';
- echo __( 'New Editor' ) . "</label>\n";
- }
</del><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </fieldset>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span></span></pre></div>
<a id="branches49srcwpadminincludesdashboardphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.9/src/wp-admin/includes/dashboard.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.9/src/wp-admin/includes/dashboard.php 2018-12-13 03:40:01 UTC (rev 44105)
+++ branches/4.9/src/wp-admin/includes/dashboard.php 2018-12-13 09:06:20 UTC (rev 44106)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,18 +24,6 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /* Register Widgets and Controls */
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- // Try Gutenberg
-
- // If Gutenberg isn't activated, only show the panel to users who can install and activate it.
- $plugins = get_plugins();
- if ( is_plugin_inactive( 'gutenberg/gutenberg.php' ) && ! current_user_can( 'install_plugins' ) ) {
- remove_action( 'try_gutenberg_panel', 'wp_try_gutenberg_panel' );
- }
- // If Gutenberg is activated, only show it to users who can use it.
- if ( is_plugin_active( 'gutenberg/gutenberg.php' ) && ! current_user_can( 'edit_posts' ) ) {
- remove_action( 'try_gutenberg_panel', 'wp_try_gutenberg_panel' );
- }
-
</del><span class="cx" style="display: block; padding: 0 10px"> $response = wp_check_browser_version();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $response && $response['upgrade'] ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1631,140 +1619,3 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
-/**
- * Displays a Try Gutenberg Panel, to introduce people to Gutenberg
- *
- * @since 4.9.8
- */
-function wp_try_gutenberg_panel() {
- $plugins = get_plugins();
- $action = $url = $classes = '';
- $classic_action = $classic_url = $classic_classes = '';
-
- if ( current_user_can( 'install_plugins' ) ) {
- if ( empty( $plugins['gutenberg/gutenberg.php'] ) ) {
- if ( get_filesystem_method( array(), WP_PLUGIN_DIR ) === 'direct' ) {
- $action = __( 'Install Gutenberg' );
- $url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=gutenberg' ), 'install-plugin_gutenberg' );
- $classes = ' install-now';
- }
- } else if ( is_plugin_inactive( 'gutenberg/gutenberg.php' ) ) {
- $action = __( 'Activate Gutenberg' );
- $url = wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=gutenberg/gutenberg.php&from=try-gutenberg' ), 'activate-plugin_gutenberg/gutenberg.php' );
- $classes = ' activate-now';
- }
-
- if ( empty( $plugins['classic-editor/classic-editor.php'] ) ) {
- if ( get_filesystem_method( array(), WP_PLUGIN_DIR ) === 'direct' ) {
- $classic_action = __( 'Install the Classic Editor' );
- $classic_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=classic-editor' ), 'install-plugin_classic-editor' );
- $classic_classes = ' install-now';
- }
- } else if ( is_plugin_inactive( 'classic-editor/classic-editor.php' ) ) {
- $classic_action = __( 'Activate the Classic Editor' );
- $classic_url = wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=classic-editor/classic-editor.php&from=try-gutenberg' ), 'activate-plugin_classic-editor/classic-editor.php' );
- $classic_classes = ' activate-now';
- } else {
- $classic_action = __( 'The Classic Editor is activated' );
- $classic_url = wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=classic-editor/classic-editor.php&from=try-gutenberg' ), 'activate-plugin_classic-editor/classic-editor.php' );;
- $classic_classes = ' button-disabled install-now updated-message';
- }
- }
-
- if ( current_user_can( 'edit_posts' ) && is_plugin_active( 'gutenberg/gutenberg.php' ) ) {
- $action = __( 'Try Gutenberg' );
- $url = admin_url( 'admin.php?page=gutenberg' );
- }
-
- ?>
- <div class="try-gutenberg-panel-content">
- <h2><?php _e( 'A new, modern publishing experience is coming soon.' ); ?></h2>
-
- <p class="about-description"><?php _e( "Take your words, media, and layout in new directions with Gutenberg, the WordPress editor we're currently building." ); ?></p>
-
- <hr />
-
- <div class="try-gutenberg-panel-column-container">
- <div class="try-gutenberg-panel-column try-gutenberg-panel-image-column">
- <picture>
- <source srcset="about:blank" media="(max-width: 1024px)">
- <img src="https://s.w.org/images/core/gutenberg-screenshot.png?<?php echo date( 'Ymd' ); ?>" alt="<?php esc_attr_e( 'Screenshot from the Gutenberg interface' ); ?>" />
- </picture>
- </div>
- <div class="try-gutenberg-panel-column plugin-card-gutenberg">
-
- <div>
- <h3><?php _e( 'Test the new editor today.' ); ?></h3>
-
- <p>
- <?php _e( "You can take Gutenberg for a spin (and share your feedback, if you’d like) before we officially release it, by installing it as a plugin." ); ?>
- <?php
- printf(
- /* translators: 1: Gutenberg call for testing handbook link, 2: Gutenberg GitHub repository issues link, 3: Gutenberg GitHub repository CONTRIBUTING.md link */
- __( 'You can help by <a href="%1$s">testing</a>, <a href="%2$s">filing bugs</a>, or contributing on the <a href="%3$s">GitHub repository</a>.' ),
- 'https://make.wordpress.org/test/handbook/call-for-testing/gutenberg-testing/',
- 'https://github.com/WordPress/gutenberg/issues',
- 'https://github.com/WordPress/gutenberg/blob/master/CONTRIBUTING.md'
- );
- ?>
- </p>
- </div>
-
- <div class="try-gutenberg-action">
- <?php if ( $action ) { ?>
- <p><a class="button button-primary button-hero<?php echo $classes; ?>" href="<?php echo esc_url( $url ); ?>" data-name="<?php esc_attr_e( 'Gutenberg' ); ?>" data-slug="gutenberg"><?php echo $action; ?></a></p>
- <?php } ?>
-
- <p>
- <?php
- $learnmore = sprintf(
- /* translators: Link to https://wordpress.org/gutenberg/ */
- __( '<a href="%s">Learn more about Gutenberg</a>' ),
- __( 'https://wordpress.org/gutenberg/' )
- );
-
- /**
- * Filters the "Learn more" link in the Try Gutenberg panel.
- *
- * It allows hosts or site owners to change the link, to provide extra
- * information about Gutenberg, specific to their service.
- *
- * WARNING: This filter will only exist in the 4.9.x series, it will not be
- * added to WordPress 5.0 and later.
- *
- * @since 4.9.8
- */
- echo apply_filters( 'try_gutenberg_learn_more_link', $learnmore );
- ?>
- </p>
- </div>
- </div>
-
- <div class="try-gutenberg-panel-column plugin-card-classic-editor">
-
- <div>
- <h3><?php _e( 'Not quite ready?' ); ?></h3>
-
- <p>
- <?php _e( 'The new editor will be enabled by default in the next major release of WordPress. If you’re not sure how compatible your current themes and plugins are, we’ve got you covered.' ); ?>
- <?php
- printf(
- /* translators: Link to the Classic Editor plugin page */
- __( 'Install the <a href="%s">Classic Editor plugin</a> to keep using the current editor until you’re ready to make the switch.' ),
- __( 'https://wordpress.org/plugins/classic-editor' )
- );
- ?>
- </p>
- </div>
-
- <?php if ( $classic_action ) { ?>
- <div class="try-gutenberg-action">
- <p><a class="button button-secondary button-hero<?php echo $classic_classes; ?>" href="<?php echo esc_url( $classic_url ); ?>" data-name="<?php esc_attr_e( 'Classic Editor' ); ?>" data-slug="classic-editor"><?php echo $classic_action; ?></a></p>
- </div>
- <?php } ?>
- </div>
- </div>
- </div>
- <?php
-}
</del></span></pre></div>
<a id="branches49srcwpadminindexphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.9/src/wp-admin/index.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.9/src/wp-admin/index.php 2018-12-13 03:40:01 UTC (rev 44105)
+++ branches/4.9/src/wp-admin/index.php 2018-12-13 09:06:20 UTC (rev 44106)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -103,32 +103,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <div class="wrap">
</span><span class="cx" style="display: block; padding: 0 10px"> <h1><?php echo esc_html( $title ); ?></h1>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-<?php if ( has_action( 'try_gutenberg_panel' ) ) :
- $classes = 'try-gutenberg-panel';
-
- $option = get_user_meta( get_current_user_id(), 'show_try_gutenberg_panel', true );
- // 0 = hide, 1 = toggled to show or single site creator, 2 = multisite site owner
- $hide = '0' === $option || ( '2' === $option && wp_get_current_user()->user_email !== get_option( 'admin_email' ) );
- if ( $hide )
- $classes .= ' hidden'; ?>
-
- <div id="try-gutenberg-panel" class="<?php echo esc_attr( $classes ); ?>">
- <?php wp_nonce_field( 'try-gutenberg-panel-nonce', 'trygutenbergpanelnonce', false ); ?>
- <a class="try-gutenberg-panel-close" href="<?php echo esc_url( admin_url( '?try_gutenberg=0' ) ); ?>" aria-label="<?php esc_attr_e( 'Dismiss the Try Gutenberg panel' ); ?>"><?php _e( 'Dismiss' ); ?></a>
- <?php
- /**
- * Add content to the Try Gutenberg panel on the admin dashboard.
- *
- * To remove the Try Gutenberg panel, use remove_action():
- *
- * remove_action( 'try_gutenberg_panel', 'wp_try_gutenberg_panel' );
- *
- * @since 4.9.8
- */
- do_action( 'try_gutenberg_panel' );
- ?>
- </div>
-<?php endif; ?>
</del><span class="cx" style="display: block; padding: 0 10px"> <?php if ( has_action( 'welcome_panel' ) && current_user_can( 'edit_theme_options' ) ) :
</span><span class="cx" style="display: block; padding: 0 10px"> $classes = 'welcome-panel';
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="branches49srcwpadminjsdashboardjs"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.9/src/wp-admin/js/dashboard.js</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.9/src/wp-admin/js/dashboard.js 2018-12-13 03:40:01 UTC (rev 44105)
+++ branches/4.9/src/wp-admin/js/dashboard.js 2018-12-13 09:06:20 UTC (rev 44106)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,49 +31,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> updateWelcomePanel( this.checked ? 1 : 0 );
</span><span class="cx" style="display: block; padding: 0 10px"> });
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- var tryGutenbergPanel = $( '#try-gutenberg-panel' ),
- tryGutenbergPanelHide = $('#wp_try_gutenberg_panel-hide'),
- updateTryGutenbergPanel, installGutenbergSuccess;
-
- updateTryGutenbergPanel = function( visible ) {
- $.post( ajaxurl, {
- action: 'update-try-gutenberg-panel',
- visible: visible,
- trygutenbergpanelnonce: $( '#trygutenbergpanelnonce' ).val()
- });
- };
-
- installGutenbergSuccess = function( response ) {
- response.activateUrl += '&from=try-gutenberg';
- response.activateLabel = wp.updates.l10n.activatePluginLabel.replace( '%s', response.pluginName );
- wp.updates.installPluginSuccess( response );
- };
-
- if ( tryGutenbergPanel.hasClass( 'hidden' ) && tryGutenbergPanelHide.prop( 'checked' ) ) {
- tryGutenbergPanel.removeClass( 'hidden' );
- }
-
- $( '.try-gutenberg-panel-close, .try-gutenberg-panel-dismiss a', tryGutenbergPanel ).click( function( e ) {
- e.preventDefault();
- tryGutenbergPanel.addClass( 'hidden' );
- updateTryGutenbergPanel( 0 );
- $('#wp_try_gutenberg_panel-hide').prop( 'checked', false );
- });
-
- tryGutenbergPanelHide.click( function() {
- tryGutenbergPanel.toggleClass( 'hidden', ! this.checked );
- updateTryGutenbergPanel( this.checked ? 1 : 0 );
- });
-
- tryGutenbergPanel.on( 'click', '.install-now', function( e ) {
- e.preventDefault();
- var args = {
- slug: $( e.target ).data( 'slug' ),
- success: installGutenbergSuccess
- };
- wp.updates.installPlugin( args );
- } );
-
</del><span class="cx" style="display: block; padding: 0 10px"> // These widgets are sometimes populated via ajax
</span><span class="cx" style="display: block; padding: 0 10px"> ajaxWidgets = ['dashboard_primary'];
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="branches49srcwpadminpluginsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.9/src/wp-admin/plugins.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.9/src/wp-admin/plugins.php 2018-12-13 03:40:01 UTC (rev 44105)
+++ branches/4.9/src/wp-admin/plugins.php 2018-12-13 09:06:20 UTC (rev 44106)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -65,12 +65,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> wp_redirect( self_admin_url("import.php?import=" . str_replace('-importer', '', dirname($plugin))) ); // overrides the ?error=true one above and redirects to the Imports page, stripping the -importer suffix
</span><span class="cx" style="display: block; padding: 0 10px"> } else if ( isset($_GET['from']) && 'press-this' == $_GET['from'] ) {
</span><span class="cx" style="display: block; padding: 0 10px"> wp_redirect( self_admin_url( "press-this.php") );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- } else if ( isset( $_GET['from'] ) && 'try-gutenberg' == $_GET['from'] ) {
- if ( 'gutenberg/gutenberg.php' === $plugin ) {
- wp_redirect( self_admin_url( "admin.php?page=gutenberg" ) );
- } else {
- wp_redirect( self_admin_url() );
- }
</del><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> wp_redirect( self_admin_url("plugins.php?activate=true&plugin_status=$status&paged=$page&s=$s") ); // overrides the ?error=true one above
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="branches49srcwpincludesdefaultfiltersphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/4.9/src/wp-includes/default-filters.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/4.9/src/wp-includes/default-filters.php 2018-12-13 03:40:01 UTC (rev 44105)
+++ branches/4.9/src/wp-includes/default-filters.php 2018-12-13 09:06:20 UTC (rev 44106)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -318,7 +318,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'transition_post_status', '_update_term_count_on_transition_post_status', 10, 3 );
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'comment_form', 'wp_comment_form_unfiltered_html_nonce' );
</span><span class="cx" style="display: block; padding: 0 10px"> add_action( 'admin_init', 'send_frame_options_header', 10, 0 );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-add_action( 'try_gutenberg_panel', 'wp_try_gutenberg_panel' );
</del><span class="cx" style="display: block; padding: 0 10px"> add_action( 'welcome_panel', 'wp_welcome_panel' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Privacy
</span></span></pre>
</div>
</div>
</body>
</html>