<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  
  

  






  <head>
    <title>
      47540.patch on Ticket #47540 – Attachment
     – WordPress Trac
    </title>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <!--[if IE]><script type="text/javascript">
      if (/^#__msie303:/.test(window.location.hash))
        window.location.replace(window.location.hash.replace(/^#__msie303:/, '#'));
    </script><![endif]-->
          <link rel="search" href="/search" />
          <link rel="help" href="/wiki/TracGuide" />
          <link rel="alternate" href="/raw-attachment/ticket/47540/47540.patch" type="text/x-diff; charset=utf-8" title="Original Format" />
          <link rel="up" href="/ticket/47540" title="Ticket #47540" />
          <link rel="start" href="/wiki" />
	<link rel="stylesheet" href="https://s.w.org/style/trac/common/css/trac.css?v=117" />
	<link rel="stylesheet" href="https://s.w.org/style/trac/common/css/diff.css?v=117" />
	<link rel="stylesheet" href="https://s.w.org/style/trac/common/css/code.css?v=117" />
          <link rel="icon" href="/chrome/common/trac.ico" type="image/x-icon" />
    <style id="trac-noscript" type="text/css">.trac-noscript { display: none !important }</style>
      <link type="application/opensearchdescription+xml" rel="search" href="/search/opensearch" title="Search WordPress Trac" />
	<link rel="dns-prefetch" href="//s.w.org" />
	<link rel="dns-prefetch" href="//fonts.googleapis.com" />
	<link rel="dns-prefetch" href="//fonts.gstatic.com" />
	<link rel="dns-prefetch" href="//www.googletagmanager.com" />
	<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
		new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
		j=d.createElement(s);j.async=true;j.src=
		'https://www.googletagmanager.com/gtm.js?id='+i;f.parentNode.insertBefore(j,f);
	})(window,document,'script','dataLayer','GTM-5Z8B3BX');</script>
	<script>
		// <![CDATA[
		window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11.2.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11.2.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/s.w.org\/wp-includes\/js\/wp-emoji-release.min.js?ver=20180127"}};
		!function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline="top",l.font="600 32px Arial",a){case"flag":return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case"emoji":return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement("script");c.src=a,c.defer=c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var g,h,i,j,k=b.createElement("canvas"),l=k.getContext&&k.getContext("2d");for(j=Array("flag","emoji"),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],"flag"!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",h,!1),a.addEventListener("load",h,!1)):(a.attachEvent("onload",h),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings);
		// ]]>
	</script>
	<style>
		img.emoji {
			display: inline !important;
			border: none !important;
			box-shadow: none !important;
			height: 1em !important;
			width: 1em !important;
			margin: 0 .07em !important;
			vertical-align: -0.1em !important;
			background: none !important;
			padding: 0 !important;
		}
	</style>
	<link href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,400,300,600&amp;subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="https://s.w.org/style/wp4.css?78" />
	<!--[if lte IE 8]>
	<style type="text/css">
	@import url("https://s.w.org/style/ie.css?1");
	</style>
	<![endif]-->
	<meta name="viewport" content="width=device-width" />
	<link rel="stylesheet" href="https://s.w.org/wp-includes/css/dashicons.min.css?20150710" type="text/css" />
	<link rel="stylesheet" type="text/css" href="https://s.w.org/style/trac/wp-trac.css?117" />
	<script src="https://s.w.org/style/trac/common/js/jquery.js?v=117"></script>
		<meta name="robots" content="noindex, follow" />
	<script src="https://s.w.org/style/trac/common/js/babel.js?v=117"></script>
	<script src="https://s.w.org/style/trac/common/js/trac.js?v=117"></script>
	<script src="https://s.w.org/style/trac/common/js/search.js?v=117"></script>
	<script src="https://s.w.org/style/trac/common/js/diff.js?v=117"></script>
    <script type="text/javascript">
      jQuery("#trac-noscript").remove();
      jQuery(document).ready(function($) {
        $(".trac-autofocus").focus();
        $(".trac-target-new").attr("target", "_blank");
        if ($.ui) { /* is jquery-ui added? */
          $(".trac-datepicker:not([readonly])").prop("autocomplete", "off").datepicker();
          $(".trac-datetimepicker:not([readonly])").prop("autocomplete", "off").datetimepicker();
          $("#main").addClass("trac-nodatetimehint");
        }
        $(".trac-disable").disableSubmit(".trac-disable-determinant");
        setTimeout(function() { $(".trac-scroll").scrollToTop() }, 1);
        $(".trac-disable-on-submit").disableOnSubmit();
      });
    </script>
	<script src="https://s.w.org/style/trac/common/js/folding.js?v=117"></script>
      <script type="text/javascript">
        jQuery(document).ready(function($) {
          $('#preview table.code').enableCollapsibleColumns($('#preview table.code thead th.content'));
        });
      </script>
<link rel="stylesheet" href="https://s.w.org/wp-content/plugins/trac-notifications/make-core.css?ver=3" />
</head>
  <body id="wordpress-org" class="core trac wporg-make make-core">
	<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-5Z8B3BX" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<div id="wporg-header">
    <div class="wrapper">
        <h1><a href="https://wordpress.org">WordPress.org</a></h1>
        <div id="head-search">
            <form action="https://wordpress.org/search/do-search.php" method="get">
                <label for="global-search" class="screen-reader-text">Search WordPress.org for:</label>
                <input id="global-search" class="text" name="search" type="text" value="" maxlength="150" placeholder="Search WordPress.org" />
                <button type="submit" class="button"><span class="screen-reader-text">Submit</span></button>
            </form>
        </div>
        <div style="clear:both"></div>
        <button id="mobile-menu-button" aria-expanded="false"><span class="screen-reader-text">Toggle Menu</span></button>
        <ul id="wporg-header-menu">
            <li><a href="https://wordpress.org/showcase/" data-title="See some of the sites built on WordPress.">Showcase</a></li>
            <li><a href="https://wordpress.org/themes/" data-title="Find just the right look for your website.">Themes</a></li>
            <li><a href="https://wordpress.org/plugins/" data-title="Plugins can extend WordPress to do almost anything you can imagine.">Plugins</a>
                <div class="uparrow"></div>
            </li>
            <li><a href="https://wordpress.org/mobile/" data-title="Take your website on the go!">Mobile</a></li>
            <li><a href="https://wordpress.org/support/" data-title="Forums, documentation, help.">Support</a>
                <ul class="nav-submenu">
                    <li><a href="https://wordpress.org/support/" data-title="Documentation, tutorials, best practices.">Documentation</a></li>
                    <li><a href="https://wordpress.org/support/forums/" data-title="Support and discussion forums.">Forums</a></li>
                </ul>
                <div class="uparrow"></div>
            </li>
            <li><a href="https://make.wordpress.org/" data-title="Contribute your knowledge." class="current">Get Involved</a>
                <div class="uparrow"></div>
            </li>
            <li><a href="https://wordpress.org/about/" data-title="About the WordPress Organization, and where we're going.">About</a></li>
            <li><a href="https://wordpress.org/news/" data-title="Come here for the latest scoop.">Blog</a></li>
            <li><a href="https://wordpress.org/hosting/" data-title="Find a home for your blog.">Hosting</a></li>
            <li id="download" class="button download-button"><a href="https://wordpress.org/download/" data-title="Get it. Got it? Good.">Download WordPress</a></li>
        </ul>
        <div style="clear:both"></div>
    </div>
</div>
	<div id="headline">
		<div class="wrapper">
			<h2><a href="https://make.wordpress.org/core/">Make WordPress Core</a></h2>
			<div class="menu-container"><ul class="menu">
				<li><a href="https://make.wordpress.org/core/">Blog</a></li>
				<li><a href="https://make.wordpress.org/core/handbook/">Handbook</a></li>
				<li><a class="open-ticket-report" href="https://make.wordpress.org/core/reports/">Tickets</a></li>
				<li><a href="https://make.wordpress.org/core/components/">Components</a></li>
				<li class="icon browser"><a title="Browse Source" href="https://core.trac.wordpress.org/browser">Browse Source</a></li>
				<li class="icon timeline"><a title="Trac Timeline" href="https://core.trac.wordpress.org/timeline">Trac Timeline</a></li>
				<li class="icon newticket"><a title="Create a New Ticket" href="https://login.wordpress.org/?redirect_to=https://core.trac.wordpress.org/newticket">Create a New Ticket</a></li>
			</ul></div>
		</div>
	</div>
    <div id="banner">
      <form id="search" action="/search" method="get">
        <div>
          <label for="proj-search">Search:</label>
          <input type="text" id="proj-search" name="q" size="18" value="" />
          <input type="submit" value="Search" />
        </div>
      </form>
      <div id="metanav" class="nav">
    <ul>
      <li class="first"><a href="/login">Login</a></li><li class="last"><a href="https://make.wordpress.org/core/notifications/">Notifications</a></li>
    </ul>
  </div>
    </div>
    <div id="mainnav" class="nav">
  </div>
    <div id="main">
      <div id="ctxtnav" class="nav">
        <h2>Context Navigation</h2>
        <ul>
          <li class="last first"><a href="/ticket/47540">Back to Ticket #47540</a></li>
        </ul>
        <hr />
      </div>
    <div id="content" class="attachment">
        <h1><a href="/ticket/47540">Ticket #47540</a>: 47540.patch</h1>
        <table id="info" summary="Description">
          <tr>
            <th scope="col">File 47540.patch, <span title="2969 bytes">2.9 KB</span> (added by <span class="trac-author">Mahesh901122</span>, <a class="timeline" href="/timeline?from=2019-06-14T07%3A06%3A58Z&amp;precision=second" title="See timeline at 06/14/2019 07:06:58 AM">4 days ago</a>)</th>
          </tr>
          <tr>
            <td class="message searchable">
              
            </td>
          </tr>
        </table>
        <div id="preview" class="searchable">
          
  <div class="diff">
  <ul class="entries">
      <li class="entry">
        <h2>
          <a>src/js/_enqueues/admin/widgets.js</a>
        </h2>
        <table class="trac-diff inline" summary="Differences" cellspacing="0">
              <colgroup><col class="lineno" /><col class="lineno" /><col class="content" /></colgroup>
              <thead>
                <tr>
                  <th title="File src/js/_enqueues/admin/widgets.js (revision 45536)">
                  </th>
                  <th title="File src/js/_enqueues/admin/widgets.js (working copy)">
                  </th>
                  <td><em></em> </td>
                </tr>
              </thead>
            <tbody class="unmod">
                  <tr>
                          <th>501</th><th>501</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; self.closeChooser();</span></td>
                  </tr><tr>
                          <th>502</th><th>502</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</span></td>
                  </tr><tr>
                          <th>503</th><th>503</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });</span></td>
                  </tr>
            </tbody><tbody class="add">
                  <tr class="first">
                          <th> </th><th>504</th><td class="r"><ins></ins></td>
                  </tr><tr>
                          <th> </th><th>505</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /**</ins></td>
                  </tr><tr>
                          <th> </th><th>506</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* Use feature detection to determine whether inputs should use</ins></td>
                  </tr><tr>
                          <th> </th><th>507</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* the `keyup` or `input` event. Input is preferred but lacks support</ins></td>
                  </tr><tr>
                          <th> </th><th>508</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* in legacy browsers. See changeset 34078, see also ticket #26600#comment:59</ins></td>
                  </tr><tr>
                          <th> </th><th>509</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/</ins></td>
                  </tr><tr>
                          <th> </th><th>510</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ( 'oninput' in document.createElement( 'input' ) ) {</ins></td>
                  </tr><tr>
                          <th> </th><th>511</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inputEvent = 'input';</ins></td>
                  </tr><tr>
                          <th> </th><th>512</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {</ins></td>
                  </tr><tr>
                          <th> </th><th>513</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; inputEvent = 'keyup';</ins></td>
                  </tr><tr>
                          <th> </th><th>514</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</ins></td>
                  </tr><tr>
                          <th> </th><th>515</th><td class="r"><ins></ins></td>
                  </tr><tr>
                          <th> </th><th>516</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $( '#widgets-search-input' ).on( inputEvent, function() {</ins></td>
                  </tr><tr>
                          <th> </th><th>517</th><td class="r"><ins></ins></td>
                  </tr><tr>
                          <th> </th><th>518</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var search_term&nbsp; &nbsp;= $('#widgets-search-input').val() || '',</ins></td>
                  </tr><tr>
                          <th> </th><th>519</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; parent&nbsp; &nbsp; &nbsp; &nbsp; = $('#widgets-left'),</ins></td>
                  </tr><tr>
                          <th> </th><th>520</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; widgets&nbsp; &nbsp; &nbsp; &nbsp;= parent.find('.widget'),</ins></td>
                  </tr><tr>
                          <th> </th><th>521</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; widget_titles = parent.find('.widget-title');</ins></td>
                  </tr><tr>
                          <th> </th><th>522</th><td class="r"><ins></ins></td>
                  </tr><tr>
                          <th> </th><th>523</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if( search_term.length ) {</ins></td>
                  </tr><tr>
                          <th> </th><th>524</th><td class="r"><ins></ins></td>
                  </tr><tr>
                          <th> </th><th>525</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Hide all widgets. Because, Below we show those widgets</ins></td>
                  </tr><tr>
                          <th> </th><th>526</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // which have search term in the widget title.</ins></td>
                  </tr><tr>
                          <th> </th><th>527</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; widgets.addClass('hide-widget').removeClass('show-widget');</ins></td>
                  </tr><tr>
                          <th> </th><th>528</th><td class="r"><ins></ins></td>
                  </tr><tr>
                          <th> </th><th>529</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Search widget and ONLY show these widgets which "contain" the widget title.</ins></td>
                  </tr><tr>
                          <th> </th><th>530</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var rex = new RegExp( search_term, 'i');</ins></td>
                  </tr><tr>
                          <th> </th><th>531</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; widget_titles.filter(function () {</ins></td>
                  </tr><tr>
                          <th> </th><th>532</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var widget_name = $.trim( $(this).text() ) || '';</ins></td>
                  </tr><tr>
                          <th> </th><th>533</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return rex.test( widget_name );</ins></td>
                  </tr><tr>
                          <th> </th><th>534</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }).parents('.widget').removeClass('hide-widget').addClass('show-widget');</ins></td>
                  </tr><tr>
                          <th> </th><th>535</th><td class="r"><ins></ins></td>
                  </tr><tr>
                          <th> </th><th>536</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; } else {</ins></td>
                  </tr><tr>
                          <th> </th><th>537</th><td class="r"><ins></ins></td>
                  </tr><tr>
                          <th> </th><th>538</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Show all widgets.</ins></td>
                  </tr><tr>
                          <th> </th><th>539</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; widgets.removeClass('hide-widget').addClass('show-widget');</ins></td>
                  </tr><tr>
                          <th> </th><th>540</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</ins></td>
                  </tr><tr class="last">
                          <th> </th><th>541</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; });</ins></td>
                  </tr>
            </tbody><tbody class="unmod">
                  <tr>
                          <th>504</th><th>542</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; },</span></td>
                  </tr><tr>
                          <th>505</th><th>543</th><td class="l"><span></span></td>
                  </tr><tr>
                          <th>506</th><th>544</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; saveOrder : function( sidebarId ) {</span></td>
                  </tr>
            </tbody>
        </table>
      </li>
      <li class="entry">
        <h2>
          <a>src/wp-admin/css/widgets.css</a>
        </h2>
        <table class="trac-diff inline" summary="Differences" cellspacing="0">
              <colgroup><col class="lineno" /><col class="lineno" /><col class="content" /></colgroup>
              <thead>
                <tr>
                  <th title="File src/wp-admin/css/widgets.css (revision 45536)">
                  </th>
                  <th title="File src/wp-admin/css/widgets.css (working copy)">
                  </th>
                  <td><em></em> </td>
                </tr>
              </thead>
            <tbody class="unmod">
                  <tr>
                          <th>773</th><th>773</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; cursor: not-allowed;</span></td>
                  </tr><tr>
                          <th>774</th><th>774</th><td class="l"><span>}</span></td>
                  </tr><tr>
                          <th>775</th><th>775</th><td class="l"><span></span></td>
                  </tr>
            </tbody><tbody class="add">
                  <tr class="first">
                          <th> </th><th>776</th><td class="r"><ins>/* =Widget Search</ins></td>
                  </tr><tr>
                          <th> </th><th>777</th><td class="r"><ins>-------------------------------------------------------------- */</ins></td>
                  </tr><tr>
                          <th> </th><th>778</th><td class="r"><ins>#widgets-search-input {</ins></td>
                  </tr><tr>
                          <th> </th><th>779</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; margin: 0 0 .2em 0;</ins></td>
                  </tr><tr>
                          <th> </th><th>780</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; width: 100%;</ins></td>
                  </tr><tr>
                          <th> </th><th>781</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; font-size: 16px;</ins></td>
                  </tr><tr>
                          <th> </th><th>782</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; font-weight: 300;</ins></td>
                  </tr><tr>
                          <th> </th><th>783</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; line-height: 1.5;</ins></td>
                  </tr><tr>
                          <th> </th><th>784</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; border-width: 1px;</ins></td>
                  </tr><tr>
                          <th> </th><th>785</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; border-style: solid;</ins></td>
                  </tr><tr>
                          <th> </th><th>786</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; border-color: #ddd;</ins></td>
                  </tr><tr>
                          <th> </th><th>787</th><td class="r"><ins>}</ins></td>
                  </tr><tr>
                          <th> </th><th>788</th><td class="r"><ins></ins></td>
                  </tr><tr>
                          <th> </th><th>789</th><td class="r"><ins></ins></td>
                  </tr><tr>
                          <th> </th><th>790</th><td class="r"><ins>.show-widget {</ins></td>
                  </tr><tr>
                          <th> </th><th>791</th><td class="r"><ins>&nbsp; &nbsp; display: block;</ins></td>
                  </tr><tr>
                          <th> </th><th>792</th><td class="r"><ins>}</ins></td>
                  </tr><tr>
                          <th> </th><th>793</th><td class="r"><ins></ins></td>
                  </tr><tr>
                          <th> </th><th>794</th><td class="r"><ins>.hide-widget {</ins></td>
                  </tr><tr>
                          <th> </th><th>795</th><td class="r"><ins>&nbsp; &nbsp; display: none;</ins></td>
                  </tr><tr>
                          <th> </th><th>796</th><td class="r"><ins>}</ins></td>
                  </tr><tr class="last">
                          <th> </th><th>797</th><td class="r"><ins></ins></td>
                  </tr>
            </tbody><tbody class="unmod">
                  <tr>
                          <th>776</th><th>798</th><td class="l"><span>/* =Media Queries</span></td>
                  </tr><tr>
                          <th>777</th><th>799</th><td class="l"><span>-------------------------------------------------------------- */</span></td>
                  </tr><tr>
                          <th>778</th><th>800</th><td class="l"><span></span></td>
                  </tr>
            </tbody>
        </table>
      </li>
      <li class="entry">
        <h2>
          <a>src/wp-admin/widgets.php</a>
        </h2>
        <table class="trac-diff inline" summary="Differences" cellspacing="0">
              <colgroup><col class="lineno" /><col class="lineno" /><col class="content" /></colgroup>
              <thead>
                <tr>
                  <th title="File src/wp-admin/widgets.php (revision 45536)">
                  </th>
                  <th title="File src/wp-admin/widgets.php (working copy)">
                  </th>
                  <td><em></em> </td>
                </tr>
              </thead>
            <tbody class="unmod">
                  <tr>
                          <th>426</th><th>426</th><td class="l"><span></span></td>
                  </tr><tr>
                          <th>427</th><th>427</th><td class="l"><span>&lt;div class="widget-liquid-left"&gt;</span></td>
                  </tr><tr>
                          <th>428</th><th>428</th><td class="l"><span>&lt;div id="widgets-left"&gt;</span></td>
                  </tr>
            </tbody><tbody class="add">
                  <tr class="first">
                          <th> </th><th>429</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &lt;div class="widgets-search"&gt;</ins></td>
                  </tr><tr>
                          <th> </th><th>430</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input type="search" id="widgets-search-input" class="regular-text" placeholder="&lt;?php _e('Search widgets...'); ?&gt;"&gt;</ins></td>
                  </tr><tr class="last">
                          <th> </th><th>431</th><td class="r"><ins>&nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;</ins></td>
                  </tr>
            </tbody><tbody class="unmod">
                  <tr>
                          <th>429</th><th>432</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &lt;div id="available-widgets" class="widgets-holder-wrap"&gt;</span></td>
                  </tr><tr>
                          <th>430</th><th>433</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div class="sidebar-name"&gt;</span></td>
                  </tr><tr>
                          <th>431</th><th>434</th><td class="l"><span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;button type="button" class="handlediv hide-if-no-js" aria-expanded="true"&gt;</span></td>
                  </tr>
            </tbody>
        </table>
      </li>
  </ul>
</div>

        </div>
    </div>
    <div id="altlinks">
    <a class="preferences-link" href="/prefs">Trac UI Preferences</a>
      <h3>Download in other formats:</h3>
      <ul>
        <li class="last first">
          <a rel="nofollow" href="/raw-attachment/ticket/47540/47540.patch">Original Format</a>
        </li>
      </ul>
</div>
    </div>
<div id="wporg-footer">
	<div class="wrapper">
		<ul>
			<li><a href="https://wordpress.org/about/" title="An introduction to the WordPress project">About</a></li>
			<li><a href="https://wordpress.org/news/" title="News and Updates">Blog</a></li>
			<li><a href="https://wordpress.org/hosting/" title="Recommended web hosting providers">Hosting</a></li>
			<li><a href="https://wordpressfoundation.org/donate/" title="Donate to the WordPress Foundation">Donate</a></li>
		</ul>
		<ul>
			<li><a href="https://wordpress.org/support/" title="Forums, documentation, and other resources">Support</a></li>
			<li><a href="https://developer.wordpress.org" title="Resources for WordPress developers">Developers</a></li>
			<li><a href="https://make.wordpress.org/" title="Give back to WordPress through code, support, translation and more">Get Involved</a></li>
		</ul>
		<ul>
			<li><a href="https://wordpress.org/showcase/" title="Some of the best WordPress sites on the Web">Showcase</a></li>
			<li><a href="https://wordpress.org/plugins/" title="Add extra functionality to WordPress">Plugins</a></li>
			<li><a href="https://wordpress.org/themes/" title="Make your WordPress pretty">Themes</a></li>
		</ul>
		<ul>
			<li><a href="https://central.wordcamp.org/" title="Find a WordPress event near you">WordCamp</a></li>
			<li><a href="https://wordpress.tv/" title="Videos, tutorials, and WordCamp sessions">WordPress.TV</a></li>
			<li><a href="https://buddypress.org/" title="A set of plugins to transform your WordPress into a social network">BuddyPress</a></li>
			<li><a href="https://bbpress.org/" title="Fast, slick forums built on WordPress">bbPress</a></li>
		</ul>
		<ul>
			<li><a href="https://wordpress.com/?ref=wporg-footer" title="Hassle-free WordPress hosting">WordPress.com</a></li>
			<li><a href="https://ma.tt/" title="Co-founder of WordPress, an example of what WordPress can do">Matt</a></li>
			<li><a href="https://wordpress.org/about/privacy/" title="WordPress.org Privacy Policy">Privacy</a></li>
			<li><a href="https://publiccode.eu/" target="_blank">Public Code</a></li>
		</ul>
		<ul>
			<li><span class="dashicons dashicons-twitter"></span><a href="https://twitter.com/WordPress" title="Follow @WordPress on Twitter">@WordPress</a></li>
			<li><span class="dashicons dashicons-facebook"></span><a href="https://www.facebook.com/WordPress/" title="Like WordPress on Facebook">WordPress</a></li>
		</ul>
	</div>
	<p class="cip cip-image">Code is Poetry</p>
</div>
	<script>
	var wpTracCurrentUser = "anonymous";
	</script>
	<script src="https://s.w.org/style/js/navigation.min.js?20190128"></script>
	<script src="https://s.w.org/style/trac/jquery.caret.min.js?ver=2015-02-01"></script>
	<script src="https://s.w.org/style/trac/jquery.atwho.min.js?ver=1.0.1"></script>
	<script src="https://s.w.org/style/trac/wp-trac.js?117"></script>
		<script>
		(function() {
			var settings = { endpoint: 'https://make.wordpress.org/core/', authenticated: 0 };
			wpTrac.notifications.init(settings);
		})();
		</script>
<div id="report-popup"></div>
<script>
var wpTracContributorLabels = {
	matt: 'Project Lead',
	markjaquith: 'Lead Developer',
	nacin: 'Lead Developer',
	azaozz: 'Lead Developer',
	dd32: 'Lead Developer',
	helen: 'Lead Developer',
	SergeyBiryukov: 'Core Committer',
	johnbillion: 'Core Committer',
	DrewAPicture: 'Core Committer',
	pento: 'Core Committer',
	boonebgorges: 'Core Committer',
	jeremyfelt: 'Core Committer',
	jorbin: 'Core Committer',
	nbachiyski: 'Core Committer',
	wonderboymusic: 'Core Committer',
	westonruter: 'Core Committer',
	iseulde: 'Core Committer',
	afercia: 'Core Committer',
	swissspidy: 'Core Committer',
	rachelbaker: 'Core Committer',
	mikeschroder: 'Core Committer',
	joemcgill: 'Core Committer',
	ocean90: 'Core Committer',
	aaroncampbell: 'Core Committer',
	josephscott: 'Core Committer',
	mdawaffe: 'Core Committer',
	kovshenin: 'Core Committer',
	obenland: 'Core Committer',
	rmccue: 'Core Committer',
	michaelarestad: 'Core Committer',
	joehoyle: 'Core Committer',
	melchoyce: 'Core Committer',
	ericlewis: 'Core Committer',
	peterwilsoncc: 'Core Committer',
	jnylen0: 'Core Committer',
	adamsilverstein: 'Core Committer',
	flixos90: 'Core Committer',
	matveb: 'Core Committer',
	joen: 'Core Committer',
	kadamwhite: 'Core Committer',
	iandunn: 'Core Committer',
	karmatosed: 'Core Committer',
	jrf: 'Core Committer',
	allendav: 'Core Committer',
	omarreiss: 'Core Committer',
	allancole: 'Core Committer',
	lonelyvegan: 'Core Committer',
	antpb: 'Core Committer',
	mcsf: 'Core Committer',
	herregroen: 'Core Committer',
	atimmer: 'Core Committer',
	youknowriad: 'Core Committer',
	gziolo: 'Core Committer',
	jorgefilipecosta: 'Core Committer',
	aduth: 'Core Committer',
	bpayton: 'Core Committer',
	noisysocks: 'Core Committer',
	desrosj: 'Core Committer',
	talldanwp: 'Core Committer',
	johnjamesjacoby: 'Core Committer',
	tellyworth: 'Core Committer',
	xknown: 'Core Committer',
	whyisjack: 'Core Committer',
	iammattthomas: 'Core Committer',
	mattmiklic: 'Core Committer',
	lancewillett: 'Themes Committer',
	iandstewart: 'Themes Committer',
	davidakennedy: 'Themes Committer',
	laurelfulford: 'Themes Committer',
	ryan: 'Lead Tester',
	designsimply: 'Lead Tester',
	westi: 'Lead Developer',
	koop: 'Core Committer',
	duck_: 'Core Committer'
};
var wpTracAutoCompleteUsers = {
	include: $.map( wpTracContributorLabels, function( v, k ) { return k } ),
	exclude: [
		'slackbot',
		'ircbot',
	]
};
</script>
</body>
</html>