<!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>[32650] trunk/src: Add `@static*` annotations where they are missing.</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/32650">32650</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/32650","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-29 15:42:40 +0000 (Fri, 29 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 `@static*` annotations where they are missing.
Initialize all static vars that are not, most to `null`.
See <a href="https://core.trac.wordpress.org/ticket/32444">#32444</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadminincludesclasswpfilesystemftpextphp">trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswplisttablephp">trunk/src/wp-admin/includes/class-wp-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="#trunksrcwpadminincludesclasswppluginslisttablephp">trunk/src/wp-admin/includes/class-wp-plugins-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpupgraderphp">trunk/src/wp-admin/includes/class-wp-upgrader.php</a></li>
<li><a href="#trunksrcwpadminincludesdeprecatedphp">trunk/src/wp-admin/includes/deprecated.php</a></li>
<li><a href="#trunksrcwpadminincludesmediaphp">trunk/src/wp-admin/includes/media.php</a></li>
<li><a href="#trunksrcwpadminincludesscreenphp">trunk/src/wp-admin/includes/screen.php</a></li>
<li><a href="#trunksrcwpadminincludestemplatephp">trunk/src/wp-admin/includes/template.php</a></li>
<li><a href="#trunksrcwpadminincludesthemephp">trunk/src/wp-admin/includes/theme.php</a></li>
<li><a href="#trunksrcwpadminincludeswidgetsphp">trunk/src/wp-admin/includes/widgets.php</a></li>
<li><a href="#trunksrcwpincludescapabilitiesphp">trunk/src/wp-includes/capabilities.php</a></li>
<li><a href="#trunksrcwpincludesclasshttpphp">trunk/src/wp-includes/class-http.php</a></li>
<li><a href="#trunksrcwpincludesclassoembedphp">trunk/src/wp-includes/class-oembed.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcustomizecontrolphp">trunk/src/wp-includes/class-wp-customize-control.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcustomizepanelphp">trunk/src/wp-includes/class-wp-customize-panel.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcustomizesectionphp">trunk/src/wp-includes/class-wp-customize-section.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcustomizewidgetsphp">trunk/src/wp-includes/class-wp-customize-widgets.php</a></li>
<li><a href="#trunksrcwpincludesclasswpimageeditorgdphp">trunk/src/wp-includes/class-wp-image-editor-gd.php</a></li>
<li><a href="#trunksrcwpincludesclasswpimageeditorimagickphp">trunk/src/wp-includes/class-wp-image-editor-imagick.php</a></li>
<li><a href="#trunksrcwpincludesclasswpimageeditorphp">trunk/src/wp-includes/class-wp-image-editor.php</a></li>
<li><a href="#trunksrcwpincludesclasswpthemephp">trunk/src/wp-includes/class-wp-theme.php</a></li>
<li><a href="#trunksrcwpincludescommentphp">trunk/src/wp-includes/comment.php</a></li>
<li><a href="#trunksrcwpincludescompatphp">trunk/src/wp-includes/compat.php</a></li>
<li><a href="#trunksrcwpincludesdefaultwidgetsphp">trunk/src/wp-includes/default-widgets.php</a></li>
<li><a href="#trunksrcwpincludesformattingphp">trunk/src/wp-includes/formatting.php</a></li>
<li><a href="#trunksrcwpincludesfunctionsphp">trunk/src/wp-includes/functions.php</a></li>
<li><a href="#trunksrcwpincludeshttpphp">trunk/src/wp-includes/http.php</a></li>
<li><a href="#trunksrcwpincludesmsfunctionsphp">trunk/src/wp-includes/ms-functions.php</a></li>
<li><a href="#trunksrcwpincludespluginphp">trunk/src/wp-includes/plugin.php</a></li>
<li><a href="#trunksrcwpincludespomopophp">trunk/src/wp-includes/pomo/po.php</a></li>
<li><a href="#trunksrcwpincludesrevisionphp">trunk/src/wp-includes/revision.php</a></li>
<li><a href="#trunksrcwpincludesrewritephp">trunk/src/wp-includes/rewrite.php</a></li>
<li><a href="#trunksrcwpincludesthemephp">trunk/src/wp-includes/theme.php</a></li>
<li><a href="#trunksrcwpincludesvarsphp">trunk/src/wp-includes/vars.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadminincludesclasswpfilesystemftpextphp"></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-filesystem-ftpext.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -379,7 +379,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function parselisting($line) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $is_windows;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $is_windows = null;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( is_null($is_windows) )
</span><span class="cx" style="display: block; padding: 0 10px"> $is_windows = stripos( ftp_systype($this->link), 'win') !== false;
</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-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-admin/includes/class-wp-list-table.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -900,6 +900,8 @@
</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><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @staticvar int $cb_counter
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param bool $with_id Whether to set the id attribute or not
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function print_column_headers( $with_id = true ) {
</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-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -162,7 +162,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function _search_callback( $theme ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $term;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $term = null;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( is_null( $term ) )
</span><span class="cx" style="display: block; padding: 0 10px"> $term = wp_unslash( $_REQUEST['s'] );
</span><span class="cx" style="display: block; padding: 0 10px">
</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-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-admin/includes/class-wp-plugins-list-table.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -219,7 +219,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return boolean
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function _search_callback( $plugin ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $term;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $term = null;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( is_null( $term ) )
</span><span class="cx" style="display: block; padding: 0 10px"> $term = wp_unslash( $_REQUEST['s'] );
</span><span class="cx" style="display: block; padding: 0 10px">
</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-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-admin/includes/class-wp-upgrader.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1658,6 +1658,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Hooked to the {@see 'upgrader_process_complete'} action by default.
</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">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public static function async_upgrade( $upgrader = false ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // Avoid recursion.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2136,6 +2138,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">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $offered_ver The offered version, of the format x.y.z.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool True if we should update to the offered version, otherwise false.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpadminincludesdeprecatedphp"></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/deprecated.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/deprecated.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-admin/includes/deprecated.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -732,6 +732,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @deprecated 3.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @deprecated Use wp_editor()
</span><span class="cx" style="display: block; padding: 0 10px"> * @see wp_editor()
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @staticvar int $num
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_tiny_mce( $teeny = false, $settings = false ) {
</span><span class="cx" style="display: block; padding: 0 10px"> _deprecated_function( __FUNCTION__, '3.3', 'wp_editor()' );
</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-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-admin/includes/media.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -535,6 +535,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global int $post_ID
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @staticvar int $instance
+ *
</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></pre></div>
<a id="trunksrcwpadminincludesscreenphp"></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/screen.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/screen.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-admin/includes/screen.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -11,6 +11,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">+ * @staticvar array $column_headers
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string|WP_Screen $screen The screen you want the headers for
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array Containing the headers in the format id => UI String
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -327,6 +329,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"> * Stores old string-based help.
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @static
+ * @access private
+ *
+ * @var array
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> private static $_old_compat_help = array();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -343,8 +350,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The screen object registry.
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @static
+ * @access private
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @var array
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @access private
</del><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> private static $_registry = array();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -372,6 +382,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.3.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access public
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @global string $hook_suffix
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string|WP_Screen $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -588,6 +600,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">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Screen $screen A screen object.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $help Help text.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -974,7 +988,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global array $wp_meta_boxes
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- *
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function show_screen_options() {
</span></span></pre></div>
<a id="trunksrcwpadminincludestemplatephp"></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/template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/template.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-admin/includes/template.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -605,17 +605,19 @@
</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">+ * @staticvar string $update_nonce
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $entry
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $count
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function _list_meta_row( $entry, &$count ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $update_nonce = false;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $update_nonce = '';
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_protected_meta( $entry['meta_key'], 'post' ) )
</span><span class="cx" style="display: block; padding: 0 10px"> return '';
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( !$update_nonce )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( ! $update_nonce )
</ins><span class="cx" style="display: block; padding: 0 10px"> $update_nonce = wp_create_nonce( 'add-meta' );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $r = '';
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1991,6 +1993,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Individual pointers (e.g. wp390_widgets) can be disabled using the following:
</span><span class="cx" style="display: block; padding: 0 10px"> * remove_action( 'admin_print_footer_scripts', array( 'WP_Internal_Pointers', 'pointer_wp390_widgets' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @static
+ *
</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"> public static function enqueue_scripts( $hook_suffix ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2047,6 +2051,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">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $pointer_id The pointer ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $selector The HTML elements, on which the pointer should be attached.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $args Arguments to be passed to the pointer JS (see wp-pointer.js).
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2094,6 +2100,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> public static function pointer_wp350_media() {}
</span><span class="cx" style="display: block; padding: 0 10px"> public static function pointer_wp360_revisions() {}
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ * @static
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public static function pointer_wp360_locks() {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! is_multi_author() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2108,6 +2117,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">+ /**
+ * @static
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public static function pointer_wp390_widgets() {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! current_theme_supports( 'widgets' ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2165,6 +2177,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">+ * @static
+ *
</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"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public static function dismiss_pointers_for_new_users( $user_id ) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesthemephp"></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/theme.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/theme.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-admin/includes/theme.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -136,11 +136,13 @@
</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">+ * @staticvar object $themes_update
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param WP_Theme $theme WP_Theme object.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return false|string HTML for the update link, or false if invalid info was passed.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_theme_update_available( $theme ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $themes_update;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $themes_update = null;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !current_user_can('update_themes' ) )
</span><span class="cx" style="display: block; padding: 0 10px"> return false;
</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-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-admin/includes/widgets.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -104,6 +104,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @global array $wp_registered_widgets
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @staticvar int $i
+ *
</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></pre></div>
<a id="trunksrcwpincludescapabilitiesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/capabilities.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/capabilities.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/capabilities.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -489,6 +489,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> var $filter = null;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ * @static
+ * @access private
+ * @var array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> private static $back_compat_keys;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -562,6 +567,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">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @global wpdb $wpdb
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $field The field to query against: 'id', 'slug', 'email' or 'login'
</span></span></pre></div>
<a id="trunksrcwpincludesclasshttpphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-http.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-http.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/class-http.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -341,6 +341,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * The order for requests is cURL, and then PHP Streams.
</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><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $url URL to Request
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -626,6 +628,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @link https://core.trac.wordpress.org/ticket/8927 Allow preventing external requests.
</span><span class="cx" style="display: block; padding: 0 10px"> * @link https://core.trac.wordpress.org/ticket/14636 Allow wildcard domains in WP_ACCESSIBLE_HOSTS
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @staticvar array|null $accessible_hosts
+ * @staticvar array $wildcard_regex
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $uri URI of url.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool True to block, false to allow.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -656,9 +661,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !defined('WP_ACCESSIBLE_HOSTS') )
</span><span class="cx" style="display: block; padding: 0 10px"> return true;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $accessible_hosts;
- static $wildcard_regex = false;
- if ( null == $accessible_hosts ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $accessible_hosts = null;
+ static $wildcard_regex = array();
+ if ( null === $accessible_hosts ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> $accessible_hosts = preg_split('|,\s*|', WP_ACCESSIBLE_HOSTS);
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( false !== strpos(WP_ACCESSIBLE_HOSTS, '*') ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -687,6 +692,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * when URL parsing failed.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.1.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access protected
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $url The URL to parse.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -725,7 +732,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 3.4.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">+ * @static
</ins><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">+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $maybe_relative_path The URL which might be relative
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $url The URL which $maybe_relative_path is relative to
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string An Absolute URL, in a failure condition where the URL cannot be parsed, the relative URL will be returned.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -796,6 +805,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">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $url The URL which was requested.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $args The Arguments which were used to make the request.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $response The Response of the HTTP request.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1798,6 +1809,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">+ * @staticvar array|null $bypass_hosts
+ * @staticvar array $wildcard_regex
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $uri URI to check.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool True, to send through the proxy and false if, the proxy should not be used.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1837,9 +1851,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( !defined('WP_PROXY_BYPASS_HOSTS') )
</span><span class="cx" style="display: block; padding: 0 10px"> return true;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $bypass_hosts;
- static $wildcard_regex = false;
- if ( null == $bypass_hosts ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $bypass_hosts = null;
+ static $wildcard_regex = array();
+ if ( null === $bypass_hosts ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> $bypass_hosts = preg_split('|,\s*|', WP_PROXY_BYPASS_HOSTS);
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( false !== strpos(WP_PROXY_BYPASS_HOSTS, '*') ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2087,6 +2101,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">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $raw String to compress.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $level Optional, default is 9. Compression level, 9 is highest.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $supports Optional, not used. When implemented it will choose the right compression based on what the server supports.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2106,6 +2122,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">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $compressed String to decompress.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $length The optional length of the compressed data.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string|bool False on failure.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2151,6 +2169,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @link http://au2.php.net/manual/en/function.gzinflate.php#70875
</span><span class="cx" style="display: block; padding: 0 10px"> * @link http://au2.php.net/manual/en/function.gzinflate.php#77336
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $gzData String to decompress.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string|bool False on failure.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2190,6 +2210,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">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param string $url
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $args
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string Types of encoding to accept.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2236,6 +2258,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">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return string Content-Encoding string to send in the header.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public static function content_encoding() {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2247,6 +2271,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">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array|string $headers All of the available headers.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2270,6 +2296,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">+ * @static
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public static function is_available() {
</span></span></pre></div>
<a id="trunksrcwpincludesclassoembedphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-oembed.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-oembed.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/class-oembed.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -19,6 +19,10 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> class WP_oEmbed {
</span><span class="cx" style="display: block; padding: 0 10px"> public $providers = array();
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ /**
+ * @static
+ * @var array
+ */
</ins><span class="cx" style="display: block; padding: 0 10px"> public static $early_providers = array();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> private $compat_methods = array( '_fetch_with_format', '_parse_json', '_parse_xml', '_parse_body' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -611,15 +615,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.9.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @see WP_oEmbed
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @staticvar WP_oEmbed $wp_oembed
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @return WP_oEmbed object.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function _wp_oembed_get_object() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $wp_oembed;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $wp_oembed = null;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( is_null($wp_oembed) )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( is_null( $wp_oembed ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> $wp_oembed = new WP_oEmbed();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> return $wp_oembed;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcustomizecontrolphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-customize-control.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-customize-control.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/class-wp-customize-control.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -20,6 +20,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Used when sorting two instances whose priorities are equal.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.1.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access protected
</span><span class="cx" style="display: block; padding: 0 10px"> * @var int
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcustomizepanelphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-customize-panel.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-customize-panel.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/class-wp-customize-panel.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,6 +24,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Used when sorting two instances whose priorities are equal.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.1.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access protected
</span><span class="cx" style="display: block; padding: 0 10px"> * @var int
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcustomizesectionphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-customize-section.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-customize-section.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/class-wp-customize-section.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -24,6 +24,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Used when sorting two instances whose priorities are equal.
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.1.0
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access protected
</span><span class="cx" style="display: block; padding: 0 10px"> * @var int
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcustomizewidgetsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-customize-widgets.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-customize-widgets.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/class-wp-customize-widgets.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -108,6 +108,8 @@
</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 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">+ * @staticvar array $cache
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param $setting_id Setting ID.
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string|void Setting type.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -876,7 +878,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Naturally order available widgets by name.
</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><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @static
</del><span class="cx" style="display: block; padding: 0 10px"> * @access protected
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $widget_a The first widget to compare.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpimageeditorgdphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-image-editor-gd.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-image-editor-gd.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/class-wp-image-editor-gd.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -34,10 +34,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Checks to see if current environment supports GD.
</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">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access public
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $args
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return boolean
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return bool
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public static function test( $args = array() ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! extension_loaded('gd') || ! function_exists('gd_info') )
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -58,10 +60,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Checks to see if editor supports the mime-type specified.
</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">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access public
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $mime_type
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @return boolean
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @return bool
</ins><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public static function supports_mime_type( $mime_type ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $image_types = imagetypes();
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpimageeditorimagickphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-image-editor-imagick.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-image-editor-imagick.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/class-wp-image-editor-imagick.php 2015-05-29 15:42:40 UTC (rev 32650)
</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"> * method can be called statically.
</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">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access public
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $args
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -86,6 +88,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Checks to see if editor supports the mime-type specified.
</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">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access public
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $mime_type
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpimageeditorphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-image-editor.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-image-editor.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/class-wp-image-editor.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -31,6 +31,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Must be overridden in a sub-class.
</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">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access public
</span><span class="cx" style="display: block; padding: 0 10px"> * @abstract
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -46,6 +48,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * Must be overridden in a sub-class.
</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">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access public
</span><span class="cx" style="display: block; padding: 0 10px"> * @abstract
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -442,6 +446,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * as mapped from wp_get_mime_types()
</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">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access protected
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $extension
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -468,6 +474,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * as mapped from wp_get_mime_types()
</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">+ *
+ * @static
</ins><span class="cx" style="display: block; padding: 0 10px"> * @access protected
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $mime_type
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpthemephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/class-wp-theme.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-theme.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/class-wp-theme.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -687,7 +687,7 @@
</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 private
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @stativar string $comma
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @staticvar string $comma
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $header Theme header. Name, Description, Author, Version, ThemeURI, AuthorURI, Status, Tags.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $value Value to mark up.
</span></span></pre></div>
<a id="trunksrcwpincludescommentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/comment.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/comment.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/comment.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2558,6 +2558,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.1.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @see wp_update_comment_count_now() For what could cause a false return value
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @staticvar array $_deferred
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param int $post_id Post ID
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $do_deferred Whether to process previously deferred post comment counts
</span><span class="cx" style="display: block; padding: 0 10px"> * @return bool|void True on success, false on failure
</span></span></pre></div>
<a id="trunksrcwpincludescompatphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/compat.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/compat.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/compat.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -20,6 +20,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 4.2.2
</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">+ * @staticvar string $utf8_pcre
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param bool $set - Used for testing only
</span><span class="cx" style="display: block; padding: 0 10px"> * null : default - get PCRE/u capability
</span><span class="cx" style="display: block; padding: 0 10px"> * false : Used for testing - return false for future calls to this function
</span></span></pre></div>
<a id="trunksrcwpincludesdefaultwidgetsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/default-widgets.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/default-widgets.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/default-widgets.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -644,10 +644,14 @@
</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">+ * @staticvar bool $first_dropdown
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param array $args
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $instance
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function widget( $args, $instance ) {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $first_dropdown = true;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> /** This filter is documented in wp-includes/default-widgets.php */
</span><span class="cx" style="display: block; padding: 0 10px"> $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? __( 'Categories' ) : $instance['title'], $instance, $this->id_base );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -667,8 +671,6 @@
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $d ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $first_dropdown = true;
-
</del><span class="cx" style="display: block; padding: 0 10px"> $dropdown_id = ( $first_dropdown ) ? 'cat' : "{$this->id_base}-dropdown-{$this->number}";
</span><span class="cx" style="display: block; padding: 0 10px"> $first_dropdown = false;
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpincludesformattingphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/formatting.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/formatting.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/formatting.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -38,8 +38,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wptexturize( $text, $reset = false ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_cockneyreplace, $shortcode_tags;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $static_characters, $static_replacements, $dynamic_characters, $dynamic_replacements,
- $default_no_texturize_tags, $default_no_texturize_shortcodes, $run_texturize = true;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $static_characters = null,
+ $static_replacements = null,
+ $dynamic_characters = null,
+ $dynamic_replacements = null,
+ $default_no_texturize_tags = null,
+ $default_no_texturize_shortcodes = null,
+ $run_texturize = true;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // If there's nothing to do, just stop.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( empty( $text ) || false === $run_texturize ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -630,7 +635,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 1.2.2
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @staticvar string|false $_charset
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @staticvar string $_charset
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $string The text which is to be encoded.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param int $quote_style Optional. Converts double quotes if set to ENT_COMPAT, both single and double if set to ENT_QUOTES or none if set to ENT_NOQUOTES. Also compatible with old values; converting single quotes if set to 'single', double if set to 'double' or both if otherwise set. Default is ENT_NOQUOTES.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -656,7 +661,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Store the site charset as a static to avoid multiple calls to wp_load_alloptions()
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! $charset ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $_charset;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $_charset = null;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( ! isset( $_charset ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $alloptions = wp_load_alloptions();
</span><span class="cx" style="display: block; padding: 0 10px"> $_charset = isset( $alloptions['blog_charset'] ) ? $alloptions['blog_charset'] : '';
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -790,17 +795,17 @@
</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"> // Store the site charset as a static to avoid multiple calls to get_option()
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $is_utf8;
- if ( !isset( $is_utf8 ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $is_utf8 = null;
+ if ( ! isset( $is_utf8 ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> $is_utf8 = in_array( get_option( 'blog_charset' ), array( 'utf8', 'utf-8', 'UTF8', 'UTF-8' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( !$is_utf8 ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( ! $is_utf8 ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> return $string;
</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"> // Check for support for utf8 in the installed PCRE library once and store the result in a static
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $utf8_pcre;
- if ( !isset( $utf8_pcre ) ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $utf8_pcre = null;
+ if ( ! isset( $utf8_pcre ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> $utf8_pcre = @preg_match( '/^./u', 'a' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> // We can't demand utf8 in the PCRE installation, so just return the string in those cases
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3959,13 +3964,13 @@
</span><span class="cx" style="display: block; padding: 0 10px"> return str_replace( 'Wordpress', 'WordPress', $text );
</span><span class="cx" style="display: block; padding: 0 10px"> // Still here? Use the more judicious replacement
</span><span class="cx" style="display: block; padding: 0 10px"> static $dblq = false;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( false === $dblq )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( false === $dblq ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> $dblq = _x( '“', 'opening curly double quote' );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> return str_replace(
</span><span class="cx" style="display: block; padding: 0 10px"> array( ' Wordpress', '‘Wordpress', $dblq . 'Wordpress', '>Wordpress', '(Wordpress' ),
</span><span class="cx" style="display: block; padding: 0 10px"> array( ' WordPress', '‘WordPress', $dblq . 'WordPress', '>WordPress', '(WordPress' ),
</span><span class="cx" style="display: block; padding: 0 10px"> $text );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4095,7 +4100,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string The spaces regexp.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_spaces_regexp() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $spaces;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $spaces = '';
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( empty( $spaces ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunksrcwpincludesfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/functions.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/functions.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1621,7 +1621,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return string Writable temporary directory.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function get_temp_dir() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $temp;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $temp = '';
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( defined('WP_TEMP_DIR') )
</span><span class="cx" style="display: block; padding: 0 10px"> return trailingslashit(WP_TEMP_DIR);
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4483,7 +4483,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array Array of allowed protocols.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_allowed_protocols() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $protocols;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $protocols = array();
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( empty( $protocols ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $protocols = array( 'http', 'https', 'ftp', 'ftps', 'mailto', 'news', 'irc', 'gopher', 'nntp', 'feed', 'telnet', 'mms', 'rtsp', 'svn', 'tel', 'fax', 'xmpp', 'webcal' );
</span></span></pre></div>
<a id="trunksrcwpincludeshttpphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/http.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/http.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/http.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -22,11 +22,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return WP_Http HTTP Transport object.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function _wp_http_get_object() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $http;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $http = null;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( is_null($http) )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( is_null( $http ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> $http = new WP_Http();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }
</ins><span class="cx" style="display: block; padding: 0 10px"> return $http;
</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="trunksrcwpincludesmsfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/ms-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/ms-functions.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/ms-functions.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2146,11 +2146,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @staticvar bool $forced_content
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @param string|bool $force
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @param bool $force
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool True if forced, false if not forced.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function force_ssl_content( $force = '' ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $forced_content;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $forced_content = false;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( '' != $force ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $old_forced = $forced_content;
</span></span></pre></div>
<a id="trunksrcwpincludespluginphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/plugin.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/plugin.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/plugin.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -689,7 +689,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_plugin_paths;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Normalize, but store as static to avoid recalculation of a constant value
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $wp_plugin_path, $wpmu_plugin_path;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $wp_plugin_path = null, $wpmu_plugin_path = null;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( ! isset( $wp_plugin_path ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $wp_plugin_path = wp_normalize_path( WP_PLUGIN_DIR );
</span><span class="cx" style="display: block; padding: 0 10px"> $wpmu_plugin_path = wp_normalize_path( WPMU_PLUGIN_DIR );
</span></span></pre></div>
<a id="trunksrcwpincludespomopophp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/pomo/po.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/pomo/po.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/pomo/po.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -355,6 +355,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * @staticvar string $last_line
</span><span class="cx" style="display: block; padding: 0 10px"> * @staticvar boolean $use_last_line
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @param resource $f
</span><span class="cx" style="display: block; padding: 0 10px"> * @param string $action
</span><span class="cx" style="display: block; padding: 0 10px"> * @return boolean
</span></span></pre></div>
<a id="trunksrcwpincludesrevisionphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/revision.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/revision.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/revision.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -16,16 +16,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @since 2.6.0
</span><span class="cx" style="display: block; padding: 0 10px"> * @access private
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- * @staticvar array|false $fields
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @staticvar array $fields
</ins><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * @param array $post Optional. A post array to be processed for insertion as a post revision.
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $autosave Optional. Is the revision an autosave?
</span><span class="cx" style="display: block; padding: 0 10px"> * @return array Post array ready to be inserted as a post revision or array of fields that can be versioned.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function _wp_post_revision_fields( $post = null, $autosave = false ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $fields = false;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $fields = null;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( !$fields ) {
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( is_null( $fields ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> // Allow these to be versioned
</span><span class="cx" style="display: block; padding: 0 10px"> $fields = array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'post_title' => __( 'Title' ),
</span></span></pre></div>
<a id="trunksrcwpincludesrewritephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/rewrite.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/rewrite.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/rewrite.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2170,7 +2170,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @param bool $hard Whether to update .htaccess (hard flush) or just update rewrite_rules option (soft flush). Default is true (hard).
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function flush_rules( $hard = true ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $do_hard_later;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $do_hard_later = null;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Prevent this action from running before everyone has registered their rewrites
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! did_action( 'wp_loaded' ) ) {
</span></span></pre></div>
<a id="trunksrcwpincludesthemephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/theme.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/theme.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/theme.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -410,10 +410,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function search_theme_directories( $force = false ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_theme_directories;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $found_themes = null;
+
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( empty( $wp_theme_directories ) )
</span><span class="cx" style="display: block; padding: 0 10px"> return false;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $found_themes;
</del><span class="cx" style="display: block; padding: 0 10px"> if ( ! $force && isset( $found_themes ) )
</span><span class="cx" style="display: block; padding: 0 10px"> return $found_themes;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1105,7 +1106,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return object
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function _get_random_header_data() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $_wp_random_header;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $_wp_random_header = null;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( empty( $_wp_random_header ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $_wp_default_headers;
</span></span></pre></div>
<a id="trunksrcwpincludesvarsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-includes/vars.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/vars.php 2015-05-29 13:56:39 UTC (rev 32649)
+++ trunk/src/wp-includes/vars.php 2015-05-29 15:42:40 UTC (rev 32650)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -118,13 +118,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Test if the current browser runs on a mobile device (smart phone, tablet, etc.)
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ * @staticvar bool $is_mobile
+ *
</ins><span class="cx" style="display: block; padding: 0 10px"> * @return bool true|false
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_is_mobile() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- static $is_mobile;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ static $is_mobile = null;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- if ( isset($is_mobile) )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ if ( isset( $is_mobile ) ) {
</ins><span class="cx" style="display: block; padding: 0 10px"> return $is_mobile;
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ }
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( empty($_SERVER['HTTP_USER_AGENT']) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $is_mobile = false;
</span></span></pre>
</div>
</div>
</body>
</html>