<!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>[32642] trunk/src/wp-admin: Add `@global` annotations for `wp-admin/*`.</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 { 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/32642">32642</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/32642","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>wonderboymusic</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2015-05-28 21:40:27 +0000 (Thu, 28 May 2015)</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'>Add `@global` annotations for `wp-admin/*`.
See <a href="https://core.trac.wordpress.org/ticket/32444">#32444</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadminadminfooterphp">trunk/src/wp-admin/admin-footer.php</a></li>
<li><a href="#trunksrcwpadminadminheaderphp">trunk/src/wp-admin/admin-header.php</a></li>
<li><a href="#trunksrcwpadminadminphp">trunk/src/wp-admin/admin.php</a></li>
<li><a href="#trunksrcwpadmincommentphp">trunk/src/wp-admin/comment.php</a></li>
<li><a href="#trunksrcwpadmincustomheaderphp">trunk/src/wp-admin/custom-header.php</a></li>
<li><a href="#trunksrcwpadmincustomizephp">trunk/src/wp-admin/customize.php</a></li>
<li><a href="#trunksrcwpadmineditformadvancedphp">trunk/src/wp-admin/edit-form-advanced.php</a></li>
<li><a href="#trunksrcwpadminedittagsphp">trunk/src/wp-admin/edit-tags.php</a></li>
<li><a href="#trunksrcwpadmineditphp">trunk/src/wp-admin/edit.php</a></li>
<li><a href="#trunksrcwpadminincludesajaxactionsphp">trunk/src/wp-admin/includes/ajax-actions.php</a></li>
<li><a href="#trunksrcwpadminincludesbookmarkphp">trunk/src/wp-admin/includes/bookmark.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpcommentslisttablephp">trunk/src/wp-admin/includes/class-wp-comments-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpimporterphp">trunk/src/wp-admin/includes/class-wp-importer.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswplinkslisttablephp">trunk/src/wp-admin/includes/class-wp-links-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswplisttablephp">trunk/src/wp-admin/includes/class-wp-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpmedialisttablephp">trunk/src/wp-admin/includes/class-wp-media-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpmssiteslisttablephp">trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpmsthemeslisttablephp">trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpmsuserslisttablephp">trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpplugininstalllisttablephp">trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswppluginslisttablephp">trunk/src/wp-admin/includes/class-wp-plugins-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswppostslisttablephp">trunk/src/wp-admin/includes/class-wp-posts-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswppressthisphp">trunk/src/wp-admin/includes/class-wp-press-this.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswptermslisttablephp">trunk/src/wp-admin/includes/class-wp-terms-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpthemeinstalllisttablephp">trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpupgraderphp">trunk/src/wp-admin/includes/class-wp-upgrader.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpuserslisttablephp">trunk/src/wp-admin/includes/class-wp-users-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludescommentphp">trunk/src/wp-admin/includes/comment.php</a></li>
<li><a href="#trunksrcwpadminincludesdashboardphp">trunk/src/wp-admin/includes/dashboard.php</a></li>
<li><a href="#trunksrcwpadminincludesexportphp">trunk/src/wp-admin/includes/export.php</a></li>
<li><a href="#trunksrcwpadminincludesfilephp">trunk/src/wp-admin/includes/file.php</a></li>
<li><a href="#trunksrcwpadminincludesimageeditphp">trunk/src/wp-admin/includes/image-edit.php</a></li>
<li><a href="#trunksrcwpadminincludesimagephp">trunk/src/wp-admin/includes/image.php</a></li>
<li><a href="#trunksrcwpadminincludesimportphp">trunk/src/wp-admin/includes/import.php</a></li>
<li><a href="#trunksrcwpadminincludeslisttablephp">trunk/src/wp-admin/includes/list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesmediaphp">trunk/src/wp-admin/includes/media.php</a></li>
<li><a href="#trunksrcwpadminincludesmenuphp">trunk/src/wp-admin/includes/menu.php</a></li>
<li><a href="#trunksrcwpadminincludesmetaboxesphp">trunk/src/wp-admin/includes/meta-boxes.php</a></li>
<li><a href="#trunksrcwpadminincludesmiscphp">trunk/src/wp-admin/includes/misc.php</a></li>
<li><a href="#trunksrcwpadminincludesmsphp">trunk/src/wp-admin/includes/ms.php</a></li>
<li><a href="#trunksrcwpadminincludesnavmenuphp">trunk/src/wp-admin/includes/nav-menu.php</a></li>
<li><a href="#trunksrcwpadminincludesplugininstallphp">trunk/src/wp-admin/includes/plugin-install.php</a></li>
<li><a href="#trunksrcwpadminincludespluginphp">trunk/src/wp-admin/includes/plugin.php</a></li>
<li><a href="#trunksrcwpadminincludesschemaphp">trunk/src/wp-admin/includes/schema.php</a></li>
<li><a href="#trunksrcwpadminincludesuserphp">trunk/src/wp-admin/includes/user.php</a></li>
<li><a href="#trunksrcwpadminincludeswidgetsphp">trunk/src/wp-admin/includes/widgets.php</a></li>
<li><a href="#trunksrcwpadmininstallhelperphp">trunk/src/wp-admin/install-helper.php</a></li>
<li><a href="#trunksrcwpadmininstallphp">trunk/src/wp-admin/install.php</a></li>
<li><a href="#trunksrcwpadminlinkparseopmlphp">trunk/src/wp-admin/link-parse-opml.php</a></li>
<li><a href="#trunksrcwpadminmenuheaderphp">trunk/src/wp-admin/menu-header.php</a></li>
<li><a href="#trunksrcwpadminnavmenusphp">trunk/src/wp-admin/nav-menus.php</a></li>
<li><a href="#trunksrcwpadminnetworkupgradephp">trunk/src/wp-admin/network/upgrade.php</a></li>
<li><a href="#trunksrcwpadminnetworkphp">trunk/src/wp-admin/network.php</a></li>
<li><a href="#trunksrcwpadminoptionsgeneralphp">trunk/src/wp-admin/options-general.php</a></li>
<li><a href="#trunksrcwpadminoptionsmediaphp">trunk/src/wp-admin/options-media.php</a></li>
<li><a href="#trunksrcwpadminpostnewphp">trunk/src/wp-admin/post-new.php</a></li>
<li><a href="#trunksrcwpadminpostphp">trunk/src/wp-admin/post.php</a></li>
<li><a href="#trunksrcwpadminpressthisphp">trunk/src/wp-admin/press-this.php</a></li>
<li><a href="#trunksrcwpadminsetupconfigphp">trunk/src/wp-admin/setup-config.php</a></li>
<li><a href="#trunksrcwpadminupdatecorephp">trunk/src/wp-admin/update-core.php</a></li>
<li><a href="#trunksrcwpadminupgradephp">trunk/src/wp-admin/upgrade.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadminadminfooterphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/admin-footer.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/admin-footer.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/admin-footer.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -81,6 +81,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $hook_suffix
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $hook_suffix The current admin page.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( "admin_footer-" . $GLOBALS['hook_suffix'] );
</span></span></pre></div>
<a id="trunksrcwpadminadminheaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/admin-header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/admin-header.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/admin-header.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,7 +10,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! defined( 'WP_ADMIN' ) )
</span><span class="cx" style="display: block; padding: 0 10px"> require_once( dirname( __FILE__ ) . '/admin.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">-// In case admin-header.php is included in a function.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * In case admin-header.php is included in a function.
+ *
+ * @global string $title
+ * @global string $hook_suffix
+ * @global WP_Screen $current_screen
+ * @global WP_Locale $wp_locale
+ * @global string $pagenow
+ * @global string $wp_version
+ * @global string $update_title
+ * @global int $total_update_count
+ * @global string $parent_file
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $title, $hook_suffix, $current_screen, $wp_locale, $pagenow, $wp_version,
</span><span class="cx" style="display: block; padding: 0 10px"> $update_title, $total_update_count, $parent_file;
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminadminphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/admin.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/admin.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/admin.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -94,11 +94,21 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> wp_enqueue_script( 'common' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// $pagenow is set in vars.php
-// $wp_importers is sometimes set in wp-admin/includes/import.php
-//
-// The remaining variables are imported as globals elsewhere,
-// declared as globals here
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+
+
+/**
+ * $pagenow is set in vars.php
+ * $wp_importers is sometimes set in wp-admin/includes/import.php
+ * The remaining variables are imported as globals elsewhere, declared as globals here
+ *
+ * @global string $pagenow
+ * @global array $wp_importers
+ * @global string $hook_suffix
+ * @global string $plugin_page
+ * @global string $typenow
+ * @global string $taxnow
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $pagenow, $wp_importers, $hook_suffix, $plugin_page, $typenow, $taxnow;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $page_hook = null;
</span></span></pre></div>
<a id="trunksrcwpadmincommentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/comment.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/comment.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/comment.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,6 +12,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $parent_file = 'edit-comments.php';
</span><span class="cx" style="display: block; padding: 0 10px"> $submenu_file = 'edit-comments.php';
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global string $action
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $action;
</span><span class="cx" style="display: block; padding: 0 10px"> wp_reset_vars( array('action') );
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadmincustomheaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/custom-header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/custom-header.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/custom-header.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -228,6 +228,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Process the default headers
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global array $_wp_default_headers
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function process_default_headers() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $_wp_default_headers;
</span></span></pre></div>
<a id="trunksrcwpadmincustomizephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/customize.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/customize.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/customize.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -33,6 +33,10 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global WP_Scripts $wp_scripts
+ * @global WP_Customize_Manager $wp_customize
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $wp_scripts, $wp_customize;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $registered = $wp_scripts->registered;
</span></span></pre></div>
<a id="trunksrcwpadmineditformadvancedphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/edit-form-advanced.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/edit-form-advanced.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/edit-form-advanced.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,6 +10,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !defined('ABSPATH') )
</span><span class="cx" style="display: block; padding: 0 10px"> die('-1');
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global string $post_type
+ * @global object $post_type_object
+ * @global WP_Post $post
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $post_type, $post_type_object, $post;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> wp_enqueue_script('post');
</span></span></pre></div>
<a id="trunksrcwpadminedittagsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/edit-tags.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/edit-tags.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/edit-tags.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -20,7 +20,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! current_user_can( $tax->cap->manage_terms ) )
</span><span class="cx" style="display: block; padding: 0 10px"> wp_die( __( 'Cheatin’ uh?' ), 403 );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-// $post_type is set when the WP_Terms_List_Table instance is created
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * $post_type is set when the WP_Terms_List_Table instance is created
+ *
+ * @global string $post_type
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $post_type;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $wp_list_table = _get_list_table('WP_Terms_List_Table');
</span></span></pre></div>
<a id="trunksrcwpadmineditphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/edit.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/edit.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/edit.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -18,6 +18,10 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global string $post_type
+ * @global object $post_type_object
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $post_type, $post_type_object;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $post_type = $typenow;
</span></span></pre></div>
<a id="trunksrcwpadminincludesajaxactionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/ajax-actions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/ajax-actions.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/ajax-actions.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -78,6 +78,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Ajax handler for fetching a list table.
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_List_Table $wp_list_table
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_fetch_list() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_list_table;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -226,6 +228,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Ajax handler for oEmbed caching.
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_Embed $wp_embed
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_oembed_cache() {
</span><span class="cx" style="display: block; padding: 0 10px"> $GLOBALS['wp_embed']->cache_oembed( $_GET['post'] );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -762,6 +766,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Ajax handler to add a tag.
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_List_Table $wp_list_table
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_add_tag() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_list_table;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -864,6 +870,9 @@
</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 class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_List_Table $wp_list_table
+ * @global int $post_id
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $action Action to perform.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_get_comments( $action ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -915,6 +924,8 @@
</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 class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_List_Table $wp_list_table
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $action Action to perform.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_replyto_comment( $action ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1016,6 +1027,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Ajax handler for editing a comment.
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_List_Table $wp_list_table
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_edit_comment() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_list_table;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1229,6 +1242,8 @@
</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 class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_List_Table $wp_list_table
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $action Action to perform.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_add_user( $action ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1499,6 +1514,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Ajax handler for Quick Edit saving a post from a list table.
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_List_Table $wp_list_table
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_inline_save() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_list_table;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1591,6 +1608,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Ajax handler for quick edit saving for a term.
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_List_Table $wp_list_table
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_inline_save_tax() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_list_table;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1743,6 +1762,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Ajax handler for saving a widget.
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global array $wp_registered_widgets
+ * @global array $wp_registered_widget_controls
+ * @global array $wp_registered_widget_updates
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_save_widget() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_registered_widgets, $wp_registered_widget_controls, $wp_registered_widget_updates;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1832,6 +1855,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Ajax handler for saving a widget.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.9.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_Customize_Manager $wp_customize
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_update_widget() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_customize;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2475,6 +2500,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * - video_send_to_editor_url
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.5.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_Post $post
+ * @global WP_Embed $wp_embed
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_send_link_to_editor() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $post, $wp_embed;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2627,6 +2655,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * a user's own profile.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.8.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global array $_wp_admin_css_colors
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_save_user_color_scheme() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $_wp_admin_css_colors;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2652,6 +2682,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Ajax handler for getting themes from themes_api().
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.9.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global array $themes_allowedtags
+ * @global array $theme_field_defaults
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_query_themes() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $themes_allowedtags, $theme_field_defaults;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2699,8 +2732,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @global WP_Post $post Global $post.
- * @global WP_Embed $wp_embed Embed API instance.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Post $post Global $post.
+ * @global WP_Embed $wp_embed Embed API instance.
+ * @global WP_Scripts $wp_scripts
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_parse_embed() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $post, $wp_embed;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2788,6 +2822,11 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ *
+ * @global WP_Post $post
+ * @global WP_Scripts $wp_scripts
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_parse_media_shortcode() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $post, $wp_scripts;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2967,6 +3006,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * AJAX handler for saving a post from Press This.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.2.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_Press_This $wp_press_this
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_press_this_save_post() {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( empty( $GLOBALS['wp_press_this'] ) ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2980,6 +3021,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * AJAX handler for creating new category from Press This.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.2.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_Press_This $wp_press_this
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_ajax_press_this_add_category() {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( empty( $GLOBALS['wp_press_this'] ) ) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesbookmarkphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/bookmark.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/bookmark.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/bookmark.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -74,6 +74,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $link_id ID of the link to delete
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool True
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -137,6 +139,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $linkdata Elements that make up the link to insert.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $wp_error Optional. If true return WP_Error object on failure.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return int|WP_Error Value 0 or WP_Error on failure. The link ID on success.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -285,6 +289,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global string $pagenow
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_link_manager_disabled_message() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $pagenow;
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpcommentslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-comments-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-comments-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-comments-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -33,6 +33,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @see WP_List_Table::__construct() for more information on default arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global int $post_id
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args An associative array of arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function __construct( $args = array() ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -55,6 +57,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return current_user_can('edit_posts');
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global int $post_id
+ * @global string $comment_status
+ * @global string $search
+ * @global string $comment_type
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function prepare_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $post_id, $comment_status, $search, $comment_type;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -153,6 +162,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return $comments_per_page;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $comment_status
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function no_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $comment_status;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -162,6 +175,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _e( 'No comments found.' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global int $post_id
+ * @global string $comment_status
+ * @global string $comment_type
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function get_views() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $post_id, $comment_status, $comment_type;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -215,6 +234,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return $status_links;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $comment_status
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function get_bulk_actions() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $comment_status;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -239,6 +262,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return $actions;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $comment_status
+ * @global string $comment_type
+ * @param string $which
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function extra_tablenav( $which ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $comment_status, $comment_type;
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -299,6 +328,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return parent::current_action();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global int $post_id
+ * @return array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function get_columns() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $post_id;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -356,6 +390,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $this->display_tablenav( 'bottom' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global WP_Post $post
+ * @global object $comment
+ * @param object $a_comment
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function single_row( $a_comment ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $post, $comment;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -383,6 +423,11 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $comment_status
+ * @param object $comment
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function column_comment( $comment ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $comment_status;
</span><span class="cx" style="display: block; padding: 0 10px"> $post = get_post();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -512,6 +557,11 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $comment_status
+ * @param object $comment
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function column_author( $comment ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $comment_status;
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpimporterphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-importer.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-importer.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-importer.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,6 +12,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Returns array with imported permalinks from WordPress database
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $bid
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -49,6 +51,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Return count of imported permalinks from WordPress database
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $bid
</span><span class="cx" style="display: block; padding: 0 10px"> * @return int
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -75,6 +79,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Set array with imported comments from WordPress database
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $bid
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -231,7 +237,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Reset global variables that grow out of control during imports
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return void
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ * @global array $wp_actions
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function stop_the_insanity() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wpdb, $wp_actions;
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswplinkslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-links-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-links-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-links-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,6 +30,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return current_user_can( 'manage_links' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global int $cat_id
+ * @global string $s
+ * @global string $orderby
+ * @global string $order
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function prepare_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $cat_id, $s, $orderby, $order;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -60,6 +67,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return $actions;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global int $cat_id
+ * @param string $which
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function extra_tablenav( $which ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $cat_id;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -108,6 +120,10 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global int $cat_id
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function display_rows() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $cat_id;
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswplisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -504,6 +504,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access protected
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ * @global WP_Locale $wp_locale
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $post_type
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function months_dropdown( $post_type ) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpmedialisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-media-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-media-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-media-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -41,6 +41,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return current_user_can('upload_files');
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global WP_Query $wp_query
+ * @global array $post_mime_types
+ * @global array $avail_post_mime_types
+ * @global string $mode
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function prepare_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_query, $post_mime_types, $avail_post_mime_types, $mode;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -57,6 +64,13 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global wpdb $wpdb
+ * @global array $post_mime_types
+ * @global array $avail_post_mime_types
+ * @return array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function get_views() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wpdb, $post_mime_types, $avail_post_mime_types;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -160,6 +174,8 @@
</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"> * Override parent views so we can use the filter bar display.
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global string $mode
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function views() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $mode;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -270,6 +286,10 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global WP_Post $post
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function display_rows() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $post;
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpmssiteslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -30,6 +30,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return current_user_can( 'manage_sites' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $s
+ * @global string $mode
+ * @global wpdb $wpdb
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function prepare_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $s, $mode, $wpdb;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -147,6 +153,8 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $mode
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $which
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function pagination( $which ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -192,6 +200,10 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $mode
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function display_rows() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $mode;
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpmsthemeslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,6 +22,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @see WP_List_Table::__construct() for more information on default arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $status
+ * @global int $page
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args An associative array of arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function __construct( $args = array() ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -56,6 +59,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return current_user_can( 'manage_network_themes' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $status
+ * @global array $totals
+ * @global int $page
+ * @global string $orderby
+ * @global string $order
+ * @global string $s
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function prepare_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $status, $totals, $page, $orderby, $order, $s;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -199,9 +211,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _e( 'You do not appear to have any themes available at this time.' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @return array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function get_columns() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- global $status;
-
</del><span class="cx" style="display: block; padding: 0 10px"> return array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'cb' => '<input type="checkbox" />',
</span><span class="cx" style="display: block; padding: 0 10px"> 'name' => __( 'Theme' ),
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -215,6 +229,12 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global array $totals
+ * @global string $status
+ * @return array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function get_views() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $totals, $status;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -258,6 +278,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return $status_links;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $status
+ * @return array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function get_bulk_actions() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $status;
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpmsuserslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,6 +13,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return current_user_can( 'manage_network_users' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $usersearch
+ * @global string $role
+ * @global wpdb $wpdb
+ * @global string $mode
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function prepare_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $usersearch, $role, $wpdb, $mode;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -86,6 +93,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _e( 'No users found.' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $role
+ * @return array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function get_views() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $role;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -146,6 +158,10 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $mode
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function display_rows() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $mode;
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpplugininstalllisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -48,6 +48,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return $slugs;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global array $tabs
+ * @global string $tab
+ * @global int $paged
+ * @global string $type
+ * @global string $term
+ * @global string $wp_version
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function prepare_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> include( ABSPATH . 'wp-admin/includes/plugin-install.php' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -208,6 +217,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> echo '<div class="no-plugin-results">' . $message . '</div>';
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global array $tabs
+ * @global string $tab
+ * @return array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function get_views() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $tabs, $tab;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -276,6 +291,8 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $tab
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $which
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function display_tablenav( $which ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -341,6 +358,9 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ * @global string $wp_version
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function display_rows() {
</span><span class="cx" style="display: block; padding: 0 10px"> $plugins_allowedtags = array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'a' => array( 'href' => array(),'title' => array(), 'target' => array() ),
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswppluginslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-plugins-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-plugins-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-plugins-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,6 +17,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @see WP_List_Table::__construct() for more information on default arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $status
+ * @global int $page
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args An associative array of arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function __construct( $args = array() ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -45,6 +48,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return current_user_can('activate_plugins');
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $status
+ * @global type $plugins
+ * @global array $totals
+ * @global int $page
+ * @global string $orderby
+ * @global string $order
+ * @global string $s
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function prepare_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $status, $plugins, $totals, $page, $orderby, $order, $s;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -241,6 +254,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return ( $a < $b ) ? -1 : 1;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global array $plugins
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function no_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $plugins;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -250,6 +267,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _e( 'You do not appear to have any plugins available at this time.' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $status
+ * @return array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function get_columns() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $status;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -264,6 +286,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return array();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global array $totals
+ * @global string $status
+ * @return array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function get_views() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $totals, $status;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -308,6 +336,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return $status_links;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $status
+ * @return array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function get_bulk_actions() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $status;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -373,6 +406,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return parent::current_action();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global string $status
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function display_rows() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $status;
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswppostslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-posts-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-posts-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-posts-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -55,6 +55,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @see WP_List_Table::__construct() for more information on default arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global object $post_type_object
+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args An associative array of arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function __construct( $args = array() ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -101,6 +104,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_posts );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global array $avail_post_stati
+ * @global WP_Query $wp_query
+ * @global int $per_page
+ * @global string $mode
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function prepare_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $avail_post_stati, $wp_query, $per_page, $mode;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -163,6 +173,12 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global array $locked_post_status This seems to be deprecated.
+ * @global array $avail_post_stati
+ * @return array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function get_views() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $locked_post_status, $avail_post_stati;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -467,7 +483,8 @@
</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">- * @global wpdb $wpdb
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ * @global WP_Post $post
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $pages
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $pagenum
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $per_page
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -628,7 +645,9 @@
</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">- * @global string $mode
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $mode
+ * @global WP_Post $post
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Post $post
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $level
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -991,6 +1010,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Outputs the hidden row displayed when inline editing
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global string $mode
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function inline_edit() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $mode;
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswppressthisphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-press-this.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-press-this.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-press-this.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1148,6 +1148,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access public
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_Locale $wp_locale
+ * @global string $wp_version
+ * @global bool $is_IE
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function html() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_locale, $wp_version;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1463,4 +1467,8 @@
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ *
+ * @global WP_Press_This $wp_press_this
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> $GLOBALS['wp_press_this'] = new WP_Press_This;
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswptermslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-terms-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-terms-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-terms-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -21,6 +21,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @see WP_List_Table::__construct() for more information on default arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $post_type
+ * @global string $taxonomy
+ * @global string $action
+ * @global object $tax
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args An associative array of arguments.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function __construct( $args = array() ) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpthemeinstalllisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -15,6 +15,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return current_user_can( 'install_themes' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global array $tabs
+ * @global string $tab
+ * @global int $paged
+ * @global string $type
+ * @global array $theme_field_defaults
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public function prepare_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> include( ABSPATH . 'wp-admin/includes/theme-install.php' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -137,6 +145,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> _e( 'No themes match your request.' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global array $tabs
+ * @global string $tab
+ * @return array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> protected function get_views() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $tabs, $tab;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -191,6 +205,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Prints a theme from the WordPress.org API.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $themes_allowedtags
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param object $theme An object that contains theme data returned by the WordPress.org API.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * Example theme data:
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -332,6 +348,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Prints the info for a theme (to be used in the theme installer modal).
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $themes_allowedtags
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param object $theme - A WordPress.org Theme API object.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function install_theme_info( $theme ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -396,8 +414,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.4.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access public
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @uses $tab Global; current tab within Themes->Install screen
- * @uses $type Global; type of search.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $tab Current tab within Themes->Install screen
+ * @global string $type Type of search.
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function _js_vars( $extra_args = array() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $tab, $type;
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpupgraderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-upgrader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-upgrader.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-upgrader.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -142,6 +142,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $directories Optional. A list of directories. If any of these do
</span><span class="cx" style="display: block; padding: 0 10px"> * not exist, a {@see WP_Error} object will be returned.
</span><span class="cx" style="display: block; padding: 0 10px"> * Default empty array.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -244,6 +246,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $package Full path to the package file.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $delete_package Optional. Whether to delete the package file after attempting
</span><span class="cx" style="display: block; padding: 0 10px"> * to unpack it. Default true.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -297,6 +301,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ * @global array $wp_theme_directories
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array|string $args {
</span><span class="cx" style="display: block; padding: 0 10px"> * Optional. Array or string of arguments for installing a package. Default empty array.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -626,6 +633,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param bool $enable True to enable maintenance mode, false to disable.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function maintenance_mode( $enable = false ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -957,6 +966,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $source The path to the downloaded package source.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string|WP_Error The source as passed, or a {@see WP_Error} object if no plugins were found.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1050,6 +1061,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * {@see Plugin_Upgrader::upgrade()} and {@see Plugin_Upgrader::bulk_upgrade()}.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_Filesystem_Base $wp_filesystem Subclass
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function delete_old_plugin($removed, $local_destination, $remote_destination, $plugin) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_filesystem;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1472,6 +1485,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $source The full path to the package source.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string|WP_Error The source or a WP_Error.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1563,6 +1578,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * and {@see Theme_Upgrader::bulk_upgrade()}.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_Filesystem_Base $wp_filesystem Subclass
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function delete_old_theme( $removed, $local_destination, $remote_destination, $theme ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_filesystem;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1735,6 +1752,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $language_updates Optional. Language pack updates. Default empty array.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $args {
</span><span class="cx" style="display: block; padding: 0 10px"> * Optional. Other arguments for upgrading multiple language packs. Default empty array
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1859,6 +1878,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * {@see Language_Pack_Upgrader::bulk_upgrade()}.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_Filesystem_Base $wp_filesystem Subclass
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function check_package( $source, $remote_source ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_filesystem;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1945,6 +1966,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ * @global callback $_wp_filesystem_direct_method
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param object $current Response object for whether WordPress is current.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $args {
</span><span class="cx" style="display: block; padding: 0 10px"> * Optional. Arguments for upgrading WordPress core. Default empty array.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2218,6 +2242,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $wp_version
+ * @global string $wp_local_package
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool True if the checksums match, otherwise false.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function check_files() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2463,6 +2490,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $type The type of update being checked: 'core', 'theme',
</span><span class="cx" style="display: block; padding: 0 10px"> * 'plugin', 'translation'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param object $item The update offer.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2687,6 +2716,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Kicks off the background update process, looping through all pending updates.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global wpdb $wpdb
+ * @global string $wp_version
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function run() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wpdb, $wp_version;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2822,6 +2854,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * If we tried to perform a core update, check if we should send an email,
</span><span class="cx" style="display: block; padding: 0 10px"> * and if we need to avoid processing future updates.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $wp_version
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param object $update_result The result of the core update. Includes the update offer and result.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function after_core_update( $update_result ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2909,6 +2943,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $wp_version
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $type The type of email to send. Can be one of 'success', 'fail', 'manual', 'critical'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param object $core_update The update offer that was attempted.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param mixed $result Optional. The result for the core update. Can be WP_Error.
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpuserslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-users-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-users-list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/class-wp-users-list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -69,6 +69,9 @@
</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 class="cx" style="display: block; padding: 0 10px"> * @access public
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global string $role
+ * @global string $usersearch
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function prepare_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $role, $usersearch;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -133,11 +136,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access protected
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $role
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array An array of HTML links, one for each view.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> protected function get_views() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- global $wp_roles, $role;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ global $role;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $wp_roles = wp_roles();
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( $this->is_site_users ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $url = 'site-users.php?id=' . $this->site_id;
</span><span class="cx" style="display: block; padding: 0 10px"> switch_to_blog( $this->site_id );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -329,8 +336,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.2.0 The `$style` argument was deprecated.
</span><span class="cx" style="display: block; padding: 0 10px"> * @access public
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @global WP_Roles $wp_roles User roles object.
- *
</del><span class="cx" style="display: block; padding: 0 10px"> * @param object $user_object The current user object.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $style Deprecated. Not used.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $role Optional. Key for the $wp_roles array. Default empty.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -339,7 +344,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string Output for a single row.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function single_row( $user_object, $style = '', $role = '', $numposts = 0 ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- global $wp_roles;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $wp_roles = wp_roles();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! ( $user_object instanceof WP_User ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $user_object = get_userdata( (int) $user_object );
</span></span></pre></div>
<a id="trunksrcwpadminincludescommentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/comment.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/comment.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/comment.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -156,7 +156,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Add avatars to relevant places in admin, or try to.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @uses $comment
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global object $comment
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $name User name.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string Avatar with Admin name.
</span></span></pre></div>
<a id="trunksrcwpadminincludesdashboardphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/dashboard.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/dashboard.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/dashboard.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -12,6 +12,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Handles POST data, sets up filters.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global array $wp_registered_widgets
+ * @global array $wp_registered_widget_controls
+ * @global array $wp_dashboard_control_callbacks
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_dashboard_setup() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_registered_widgets, $wp_registered_widget_controls, $wp_dashboard_control_callbacks;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -125,6 +129,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> do_action( 'do_meta_boxes', $screen->id, 'side', '' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ *
+ * @global array $wp_dashboard_control_callbacks
+ *
+ * @param string $widget_id
+ * @param string $widget_name
+ * @param callback $callback
+ * @param callback $control_callback
+ * @param array $callback_args
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function wp_add_dashboard_widget( $widget_id, $widget_name, $callback, $control_callback = null, $callback_args = null ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $screen = get_current_screen();
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_dashboard_control_callbacks;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -413,6 +427,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global int $post_ID
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $error_msg Optional. Error message. Default false.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_dashboard_quick_press( $error_msg = false ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -517,6 +533,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> echo "</ul>\n</div>";
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global object $comment
+ *
+ * @param object $comment
+ * @param bool $show_date
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function _wp_dashboard_recent_comments_row( &$comment, $show_date = true ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $GLOBALS['comment'] =& $comment;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -874,6 +896,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $wp_dashboard_control_callbacks
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $widget_control_id Registered Widget ID.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_dashboard_trigger_widget_control( $widget_control_id = false ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1231,6 +1255,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.2.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $wp_version
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array|bool False on failure, array of browser data on success.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_check_browser_version() {
</span></span></pre></div>
<a id="trunksrcwpadminincludesexportphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/export.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/export.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/export.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -20,6 +20,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ * @global WP_Post $post
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args Filters defining what should be included in the export.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function export_wp( $args = array() ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -244,6 +247,8 @@
</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 class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $post_ids Array of post IDs to filter the query by. Optional.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wxr_authors_list( array $post_ids = null ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -375,6 +380,9 @@
</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"> <?php if ( $post_ids ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ * @global WP_Query $wp_query
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $wp_query;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Fake being in the loop.
</span></span></pre></div>
<a id="trunksrcwpadminincludesfilephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/file.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/file.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/file.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -50,7 +50,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @uses $wp_file_descriptions
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $wp_file_descriptions
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $file Filesystem path or filename
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string Description of file from $wp_file_descriptions or basename of $file if description doesn't exist
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -516,6 +516,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $file Full path and filename of zip archive
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $to Full path on the filesystem to extract archive to
</span><span class="cx" style="display: block; padding: 0 10px"> * @return mixed WP_Error on failure, True on success
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -579,6 +581,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @see unzip_file
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $file Full path and filename of zip archive
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $to Full path on the filesystem to extract archive to
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $needed_dirs A partial list of required folders needed to be created.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -677,6 +681,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @see unzip_file
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $file Full path and filename of zip archive
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $to Full path on the filesystem to extract archive to
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $needed_dirs A partial list of required folders needed to be created.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -769,6 +775,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $from source directory
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $to destination directory
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $skip_list a list of files/folders to skip copying
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -823,6 +831,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array|false $args Optional. Connection args, These are passed directly to
</span><span class="cx" style="display: block; padding: 0 10px"> * the `WP_Filesystem_*()` classes. Default false.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|false $context Optional. Context for get_filesystem_method(). Default false.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -900,6 +910,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global callback $_wp_filesystem_direct_method
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args Optional. Connection details. Default empty array.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $context Optional. Full path to the directory that is tested
</span><span class="cx" style="display: block; padding: 0 10px"> * for being writable. Default false.
</span></span></pre></div>
<a id="trunksrcwpadminincludesimageeditphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/image-edit.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/image-edit.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/image-edit.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -672,6 +672,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Saves image to post along with enqueued changes
</span><span class="cx" style="display: block; padding: 0 10px"> * in $_REQUEST['history']
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $_wp_additional_image_sizes
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $post_id
</span><span class="cx" style="display: block; padding: 0 10px"> * @return \stdClass
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpadminincludesimagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/image.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/image.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/image.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -67,6 +67,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $_wp_additional_image_sizes
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $attachment_id Attachment Id to process.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $file Filepath of the Attached image.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return mixed Metadata for attachment.
</span></span></pre></div>
<a id="trunksrcwpadminincludesimportphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/import.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/import.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/import.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,6 +11,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $wp_importers
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return array
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_importers() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -42,6 +43,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $wp_importers
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $id Importer tag. Used to uniquely identify importer.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $name Importer name and title.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $description Importer description.
</span></span></pre></div>
<a id="trunksrcwpadminincludeslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/list-table.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/list-table.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -13,6 +13,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $hook_suffix
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $class The type of the list table, which is the class name.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $args Optional. Arguments to pass to the class. Accepts 'screen'.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return object|bool Object on success, false if the class does not exist.
</span></span></pre></div>
<a id="trunksrcwpadminincludesmediaphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/media.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/media.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/media.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -36,6 +36,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $tabs
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array $tabs with gallery if post has image attachment
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -67,6 +69,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * {@internal Missing Short Description}}
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global string $redir_tab
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function the_media_upload_tabs() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $redir_tab;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -433,6 +437,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global int $body_id
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string|callable $content_func
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_iframe($content_func /* ... */) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -527,6 +533,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global int $post_ID
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $editor_id
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function media_buttons($editor_id = 'content') {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1288,6 +1296,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Query $wp_the_query
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $post_id Optional. Post ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $errors Errors for attachment, if any.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1322,6 +1332,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $redir_tab
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $attachment_id Attachment ID for modification.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|array $args Optional. Override defaults.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string HTML form for attachment.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1736,6 +1748,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $type
+ * @global string $tab
+ * @global bool $is_IE
+ * @global bool $is_opera
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $errors
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function media_upload_form( $errors = null ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2135,6 +2152,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $redir_tab
+ * @global string $type
+ * @global string $tab
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $errors
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function media_upload_gallery_form($errors) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2280,6 +2301,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ * @global WP_Query $wp_query
+ * @global WP_Locale $wp_locale
+ * @global string $type
+ * @global string $tab
+ * @global array $post_mime_types
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $errors
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function media_upload_library_form($errors) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2564,6 +2592,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Displays the multi-file uploader message.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.6.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global int $post_ID
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function media_upload_flash_bypass() {
</span><span class="cx" style="display: block; padding: 0 10px"> $browser_uploader = admin_url( 'media-new.php?browser-uploader' );
</span></span></pre></div>
<a id="trunksrcwpadminincludesmenuphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/menu.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/menu.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/menu.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -279,6 +279,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $menu_order = array_flip($menu_order);
</span><span class="cx" style="display: block; padding: 0 10px"> $default_menu_order = array_flip($default_menu_order);
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ *
+ * @global array $menu_order
+ * @global array $default_menu_order
+ *
+ * @param array $a
+ * @param array $b
+ * @return int
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function sort_menu($a, $b) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $menu_order, $default_menu_order;
</span><span class="cx" style="display: block; padding: 0 10px"> $a = $a[2];
</span></span></pre></div>
<a id="trunksrcwpadminincludesmetaboxesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/meta-boxes.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/meta-boxes.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/meta-boxes.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7,6 +7,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $action
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param object $post
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function post_submit_meta_box($post, $args = array() ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -670,6 +672,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global int $user_ID
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param object $post
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function post_author_meta_box($post) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -913,6 +917,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.0.1
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global object $link
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $class
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $value
</span><span class="cx" style="display: block; padding: 0 10px"> * @param mixed $deprecated Never used.
</span></span></pre></div>
<a id="trunksrcwpadminincludesmiscphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/misc.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/misc.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/misc.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -38,6 +38,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global bool $is_nginx
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool Whether the server supports URL rewriting.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function got_url_rewrite() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -153,6 +155,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * blank out old rules.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.5.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_Rewrite $wp_rewrite
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function save_mod_rewrite_rules() {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_multisite() )
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -183,6 +187,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Rewrite $wp_rewrite
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool True if web.config was updated successfully
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function iis7_save_url_rewrite_rules(){
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -593,6 +599,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Display the default admin color scheme picker (Used in user-edit.php)
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global array $_wp_admin_css_colors
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function admin_color_scheme_picker( $user_id ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $_wp_admin_css_colors;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -646,6 +654,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ *
+ * @global array $_wp_admin_css_colors
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function wp_color_scheme_settings() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $_wp_admin_css_colors;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -787,6 +799,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $pagenow
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $settings An array of Heartbeat settings.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array Filtered Heartbeat settings.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -833,6 +847,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * when the user navigates to it with the browser's Back button. See #28037
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global bool $is_safari
+ * @global bool $is_chrome
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function post_form_autocomplete_off() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $is_safari, $is_chrome;
</span></span></pre></div>
<a id="trunksrcwpadminincludesmsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/ms.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/ms.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/ms.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -48,6 +48,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $blog_id Blog ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $drop True if blog's table should be dropped. Default is false.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -176,6 +178,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @todo Merge with wp_delete_user() ?
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $id The user ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool True if the user was deleted, otherwise false.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -495,6 +499,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $id The user ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $pref The column in the wp_users table to update the user's status
</span><span class="cx" style="display: block; padding: 0 10px"> * in (presumably user_status, spam, or deleted).
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -842,6 +848,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $super_admins
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $user_id ID of the user to be granted Super Admin privileges.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool True on success, false on failure. This can fail when the user is
</span><span class="cx" style="display: block; padding: 0 10px"> * already a super admin or when the `$super_admins` global is defined.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -887,6 +895,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $super_admins
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $user_id ID of the user Super Admin privileges to be revoked from.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool True on success, false on failure. This can fail when the user's email
</span><span class="cx" style="display: block; padding: 0 10px"> * is the network admin email or when the `$super_admins` global is defined.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -937,6 +947,8 @@
</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 class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $site_id The network/site ID to check.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool True if network can be edited, otherwise false.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpadminincludesnavmenuphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/nav-menu.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/nav-menu.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/nav-menu.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -40,6 +40,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @see Walker_Nav_Menu::start_el()
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global int $_wp_nav_menu_max_depth
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $output Passed by reference. Used to append additional content.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param object $item Menu item data object.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $depth Depth of menu item. Used for padding.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -280,6 +282,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global int $_nav_menu_placeholder
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $output Passed by reference. Used to append additional content.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param object $item Menu item data object.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $depth Depth of menu item. Used for padding.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -463,6 +467,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Limit the amount of meta boxes to just links, pages and cats for first time users.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global array $wp_meta_boxes
</ins><span class="cx" style="display: block; padding: 0 10px"> **/
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_initial_nav_menu_meta_boxes() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_meta_boxes;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -549,7 +555,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @uses global $one_theme_location_no_menus to determine if no menus exist
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global bool $one_theme_location_no_menus to determine if no menus exist
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int|string $nav_menu_selected_id (id, name or slug) of the currently-selected menu
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string Disabled attribute if at least one menu exists, false if not
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -567,6 +573,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Displays a metabox for the custom links menu item.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global int $_nav_menu_placeholder
+ * @global int|string $nav_menu_selected_id
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_nav_menu_item_link_meta_box() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $_nav_menu_placeholder, $nav_menu_selected_id;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -606,6 +615,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global int $_nav_menu_placeholder
+ * @global int|string $nav_menu_selected_id
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $object Not used.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $post_type The post type object.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -849,6 +861,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global int|string $nav_menu_selected_id
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $object Not used.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $taxonomy The taxonomy object.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1228,6 +1242,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function _wp_delete_orphaned_draft_menu_items() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wpdb;
</span></span></pre></div>
<a id="trunksrcwpadminincludesplugininstallphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/plugin-install.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/plugin-install.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/plugin-install.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -235,6 +235,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Display plugin content based on plugin list.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.7.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global WP_List_Table $wp_list_table
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function display_plugins_table() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_list_table;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -337,6 +339,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Display plugin information in dialog box form.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.7.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global string $tab
+ * @global string $wp_version
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function install_plugin_information() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $tab;
</span></span></pre></div>
<a id="trunksrcwpadminincludespluginphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/plugin.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/plugin.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/plugin.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -751,6 +751,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $plugins List of plugins to delete.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $deprecated Deprecated.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool|null|WP_Error True on success, false is $plugins is empty, WP_Error on failure.
</span></span></pre></div>
<a id="trunksrcwpadminincludesschemaphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/schema.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/schema.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/schema.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -333,7 +333,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global wpdb $wpdb WordPress database abstraction object.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @uses $wp_db_version
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global int $wp_db_version
+ * @global int $wp_current_db_version
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function populate_options() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wpdb, $wp_db_version, $wp_current_db_version;
</span></span></pre></div>
<a id="trunksrcwpadminincludesuserphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/user.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/user.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/user.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -28,7 +28,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return int user id of the updated user
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function edit_user( $user_id = 0 ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- global $wp_roles;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $wp_roles = wp_roles();
</ins><span class="cx" style="display: block; padding: 0 10px"> $user = new stdClass;
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $user_id ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $update = true;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -198,10 +198,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_editable_roles() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- global $wp_roles;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $all_roles = wp_roles()->roles;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $all_roles = $wp_roles->roles;
-
</del><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Filter the list of editable roles.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -236,6 +234,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $user_id User ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -264,6 +264,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $id User ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $reassign Optional. Reassign posts and links to new User ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool True when finished.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -388,6 +390,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.8.0
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ *
+ * @global int $user_ID
+ *
+ * @param false $errors Deprecated.
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function default_password_nag_handler($errors = false) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $user_ID;
</span><span class="cx" style="display: block; padding: 0 10px"> // Short-circuit it.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -424,6 +432,8 @@
</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"> * @since 2.8.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global string $pagenow
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function default_password_nag() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $pagenow;
</span></span></pre></div>
<a id="trunksrcwpadminincludeswidgetsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/widgets.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/widgets.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/includes/widgets.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,6 +10,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Display list of the available widgets.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global array $wp_registered_widgets
+ * @global array $wp_registered_widget_controls
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_list_widgets() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_registered_widgets, $wp_registered_widget_controls;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -99,6 +102,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $wp_registered_widgets
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $params
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -123,7 +128,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return $params;
</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">-function next_widget_id_number($id_base) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ *
+ * @global array $wp_registered_widgets
+ *
+ * @param string $id_base
+ * @return int
+ */
+function next_widget_id_number( $id_base ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> global $wp_registered_widgets;
</span><span class="cx" style="display: block; padding: 0 10px"> $number = 1;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -143,6 +155,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.5.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global array $wp_registered_widgets
+ * @global array $wp_registered_widget_controls
+ * @global array $sidebars_widgets
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $sidebar_args
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpadmininstallhelperphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/install-helper.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/install-helper.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/install-helper.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -154,6 +154,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.0.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $table_name Table name
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $col_name Column name
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $col_type Column type
</span></span></pre></div>
<a id="trunksrcwpadmininstallphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/install.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/install.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/install.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -159,6 +159,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> die( '<h1>' . __( 'Already Installed' ) . '</h1><p>' . __( 'You appear to have already installed WordPress. To reinstall please clear your old database tables first.' ) . '</p><p class="step"><a href="../wp-login.php" class="button button-large">' . __( 'Log In' ) . '</a></p></body></html>' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global string $wp_version
+ * @global string $required_php_version
+ * @global string $required_mysql_version
+ * @global wpdb $wpdb
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $wp_version, $required_php_version, $required_mysql_version;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $php_version = phpversion();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -183,6 +189,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> die( '<h1>' . __( 'Configuration Error' ) . '</h1><p>' . __( 'Your <code>wp-config.php</code> file has an empty database table prefix, which is not supported.' ) . '</p></body></html>' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global string $wp_local_package
+ * @global WP_Locale $wp_locale
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> $language = '';
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! empty( $_REQUEST['language'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $language = preg_replace( '/[^a-zA-Z_]/', '', $_REQUEST['language'] );
</span></span></pre></div>
<a id="trunksrcwpadminlinkparseopmlphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/link-parse-opml.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/link-parse-opml.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/link-parse-opml.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,6 +9,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! defined('ABSPATH') )
</span><span class="cx" style="display: block; padding: 0 10px"> die();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global string $opml
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $opml;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunksrcwpadminmenuheaderphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/menu-header.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/menu-header.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/menu-header.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -10,15 +10,20 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The current page.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global string $self
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @name $self
- * @var string
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $self = preg_replace('|^.*/wp-admin/network/|i', '', $_SERVER['PHP_SELF']);
</span><span class="cx" style="display: block; padding: 0 10px"> $self = preg_replace('|^.*/wp-admin/|i', '', $self);
</span><span class="cx" style="display: block; padding: 0 10px"> $self = preg_replace('|^.*/plugins/|i', '', $self);
</span><span class="cx" style="display: block; padding: 0 10px"> $self = preg_replace('|^.*/mu-plugins/|i', '', $self);
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-global $menu, $submenu, $parent_file; //For when admin-header is included from within a function.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * For when admin-header is included from within a function.
+ *
+ * @global array $menu
+ * @global array $submenu
+ * @global string $parent_file
+ */
+global $menu, $submenu, $parent_file;
</ins><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"> * Filter the parent file of an admin menu sub-menu item.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -39,9 +44,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $self
+ * @global string $parent_file
+ * @global string $submenu_file
+ * @global string $plugin_page
+ * @global string $typenow
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $menu
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $submenu
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param bool $submenu_as_parent
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param bool $submenu_as_parent
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $self, $parent_file, $submenu_file, $plugin_page, $typenow;
</span></span></pre></div>
<a id="trunksrcwpadminnavmenusphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/nav-menus.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/nav-menus.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/nav-menus.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -467,6 +467,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /*
</span><span class="cx" style="display: block; padding: 0 10px"> * Ensure the user will be able to scroll horizontally
</span><span class="cx" style="display: block; padding: 0 10px"> * by adding a class for the max menu depth.
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global int $_wp_nav_menu_max_depth
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> global $_wp_nav_menu_max_depth;
</span><span class="cx" style="display: block; padding: 0 10px"> $_wp_nav_menu_max_depth = 0;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -477,7 +479,14 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $edit_markup = wp_get_nav_menu_to_edit( $nav_menu_selected_id );
</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">-function wp_nav_menu_max_depth($classes) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ *
+ * @global int $_wp_nav_menu_max_depth
+ *
+ * @param string $classes
+ * @return string
+ */
+function wp_nav_menu_max_depth( $classes ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> global $_wp_nav_menu_max_depth;
</span><span class="cx" style="display: block; padding: 0 10px"> return "$classes menu-max-depth-$_wp_nav_menu_max_depth";
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpadminnetworkupgradephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/network/upgrade.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/network/upgrade.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/network/upgrade.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -48,6 +48,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $n = ( isset($_GET['n']) ) ? intval($_GET['n']) : 0;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $n < 5 ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ * @global string $wp_db_version
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $wp_db_version;
</span><span class="cx" style="display: block; padding: 0 10px"> update_site_option( 'wpmu_upgrade_site', $wp_db_version );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpadminnetworkphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/network.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/network.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/network.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -35,6 +35,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Check for an existing network.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return Whether a network exists.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function network_domain_check() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -64,6 +67,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Allow subdirectory install.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global wpdb $wpdb
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool Whether subdirectory install is allowed
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function allow_subdirectory_install() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -149,6 +155,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * should not be a sudden "Welcome to a new install process! Fill this out and click here." See also contextual help todo.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global bool $is_apache
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function network_step1( $errors = false ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $is_apache;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -326,6 +334,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Prints step 2 for Network installation process.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.0.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global wpdb $wpdb
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function network_step2( $errors = false ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wpdb;
</span></span></pre></div>
<a id="trunksrcwpadminoptionsgeneralphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/options-general.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/options-general.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/options-general.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -321,6 +321,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <th scope="row"><label for="start_of_week"><?php _e('Week Starts On') ?></label></th>
</span><span class="cx" style="display: block; padding: 0 10px"> <td><select name="start_of_week" id="start_of_week">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global WP_Locale $wp_locale
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $wp_locale;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> for ($day_index = 0; $day_index <= 6; $day_index++) :
</span></span></pre></div>
<a id="trunksrcwpadminoptionsmediaphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/options-media.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/options-media.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/options-media.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -84,7 +84,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> <?php do_settings_fields('media', 'default'); ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </table>
</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 ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?>
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+<?php
+/**
+ * @global array $wp_settings
+ */
+if ( isset( $GLOBALS['wp_settings']['media']['embeds'] ) ) : ?>
</ins><span class="cx" style="display: block; padding: 0 10px"> <h3 class="title"><?php _e('Embeds') ?></h3>
</span><span class="cx" style="display: block; padding: 0 10px"> <table class="form-table">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php do_settings_fields( 'media', 'embeds' ); ?>
</span></span></pre></div>
<a id="trunksrcwpadminpostnewphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/post-new.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/post-new.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/post-new.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,6 +9,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /** Load WordPress Administration Bootstrap */
</span><span class="cx" style="display: block; padding: 0 10px"> require_once( dirname( __FILE__ ) . '/admin.php' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global string $post_type
+ * @global object $post_type_object
+ * @global WP_Post $post
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $post_type, $post_type_object, $post;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! isset( $_GET['post_type'] ) ) {
</span></span></pre></div>
<a id="trunksrcwpadminpostphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/post.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/post.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/post.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -23,6 +23,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> else
</span><span class="cx" style="display: block; padding: 0 10px"> $post_id = $post_ID = 0;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global string $post_type
+ * @global object $post_type_object
+ * @global WP_Post $post
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $post_type, $post_type_object, $post;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $post_id )
</span></span></pre></div>
<a id="trunksrcwpadminpressthisphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/press-this.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/press-this.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/press-this.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -14,6 +14,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! current_user_can( 'edit_posts' ) || ! current_user_can( get_post_type_object( 'post' )->cap->create_posts ) )
</span><span class="cx" style="display: block; padding: 0 10px"> wp_die( __( 'Cheatin’ uh?' ), 403 );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global WP_Press_This $wp_press_this
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( empty( $GLOBALS['wp_press_this'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> include( ABSPATH . 'wp-admin/includes/class-wp-press-this.php' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpadminsetupconfigphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/setup-config.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/setup-config.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/setup-config.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -63,6 +63,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @ignore
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.3.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @global string $wp_version
+ * @global string $wp_local_package
+ * @global WP_Locale $wp_locale
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function setup_config_display_header( $body_classes = array() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_version;
</span></span></pre></div>
<a id="trunksrcwpadminupdatecorephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/update-core.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/update-core.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/update-core.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,6 +22,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! current_user_can( 'update_core' ) && ! current_user_can( 'update_themes' ) && ! current_user_can( 'update_plugins' ) )
</span><span class="cx" style="display: block; padding: 0 10px"> wp_die( __( 'You do not have sufficient permissions to update this site.' ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ *
+ * @global string $wp_local_package
+ * @global wpdb $wpdb
+ * @global string $wp_version
+ *
+ * @staticvar bool $first_pass
+ *
+ * @param object $update
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function list_core_update( $update ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_local_package, $wpdb, $wp_version;
</span><span class="cx" style="display: block; padding: 0 10px"> static $first_pass = true;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -136,7 +146,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return null
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global string $wp_version
+ * @global string $required_php_version
+ * @global string $required_mysql_version
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function core_upgrade_preamble() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_version, $required_php_version, $required_mysql_version;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -198,6 +210,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> dismissed_updates();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ *
+ * @global string $wp_version
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> function list_plugin_updates() {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_version;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -364,7 +380,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.7.0
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return null
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @global WP_Filesystem_Base $wp_filesystem Subclass
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function do_core_upgrade( $reinstall = false ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_filesystem;
</span></span></pre></div>
<a id="trunksrcwpadminupgradephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/upgrade.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/upgrade.php 2015-05-28 20:09:54 UTC (rev 32641)
+++ trunk/src/wp-admin/upgrade.php 2015-05-28 21:40:27 UTC (rev 32642)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -35,6 +35,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> die( '0' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+/**
+ * @global string $wp_version
+ * @global string $required_php_version
+ * @global string $required_mysql_version
+ * @global wpdb $wpdb
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> global $wp_version, $required_php_version, $required_mysql_version;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $step = (int) $step;
</span></span></pre>
</div>
</div>
</body>
</html>