WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/15/2016 04:36:07 PM (3 years ago)
Author:
obenland
Message:

Update/Install: Shiny Updates v2.

Gone are the days of isolation and feelings of "meh", brought on by The Bleak Screen of Sadness. For a shiny knight has arrived to usher our plugins and themes along their arduous journey of installation, updates, and the inevitable fate of ultimate deletion.

Props swissspidy, adamsilverstein, mapk, afragen, ocean90, ryelle, j-falk, michael-arestad, melchoyce, DrewAPicture, AdamSoucie, ethitter, pento, dd32, kraftbj, Ipstenu, jorbin, afercia, stephdau, paulwilde, jipmoors, khag7, svovaf, jipmoors, obenland.
Fixes #22029, #25828, #31002, #31529, #31530, #31773, #33637, #35032.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/qunit/index.html

    r37476 r37714  
    1111        <script src="../../src/wp-includes/js/wp-backbone.js"></script>
    1212        <script src="../../src/wp-includes/js/zxcvbn.min.js"></script>
     13        <script>
     14            window._wpUtilSettings = {
     15                'ajax': {
     16                    'url': '\/wp-admin\/admin-ajax.php'
     17                }
     18            };
     19        </script>
    1320        <script src="../../src/wp-includes/js/wp-util.js"></script>
    1421        <script src="../../src/wp-includes/js/wp-a11y.js"></script>
     
    483490        <script src="editor/js/utils.js"></script>
    484491        <script src="wp-includes/js/tinymce/plugins/wptextpattern/plugin.js"></script>
     492
     493        <!-- Updates templates and HTML fixtures -->
     494        <script id="tmpl-wp-updates-admin-notice" type="text/html">
     495            <div <# if ( data.id ) { #>id="{{ data.id }}"<# } #> class="notice {{ data.className }}"><p>{{{ data.message }}}</p></div>
     496        </script>
     497        <div hidden>
     498            <li id="wp-admin-bar-updates">
     499                <a class="ab-item" href="wp-admin/update-core.php" title="2 Plugin Updates">
     500                    <span class="ab-icon"></span>
     501                    <span class="ab-label">2</span>
     502                    <span class="screen-reader-text">2 Plugin Updates</span>
     503                </a>
     504            </li>
     505            <li class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-plugins" id="menu-plugins">
     506                <a href="plugins.php" class="wp-has-submenu wp-not-current-submenu menu-top menu-icon-plugins" aria-haspopup="true">
     507                    <div class="wp-menu-arrow"><div></div></div>
     508                    <div class="wp-menu-image dashicons-before dashicons-admin-plugins"><br></div>
     509                    <div class="wp-menu-name">Plugins
     510                <span class="update-plugins count-2">
     511                    <span class="plugin-count">2</span>
     512                </span>
     513                    </div>
     514                </a>
     515                <ul class="wp-submenu wp-submenu-wrap">
     516                    <li class="wp-submenu-head" aria-hidden="true">Plugins
     517                <span class="update-plugins count-2">
     518                    <span class="plugin-count">2</span>
     519                </span>
     520                    </li>
     521                    <li class="wp-first-item">
     522                        <a href="plugins.php" class="wp-first-item">Installed Plugins</a></li><li><a href="plugin-install.php">Add New</a>
     523                </li><li>
     524                    <a href="plugin-editor.php">Editor</a>
     525                </li>
     526                </ul>
     527            </li>
     528        </div>
    485529    </body>
    486530</html>
Note: See TracChangeset for help on using the changeset viewer.