<!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>[56549] trunk: Coding Standards: Use pre-increment/decrement for stand-alone statements.</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { white-space: pre-line; overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta" style="font-size: 105%">
<dt style="float: left; width: 6em; font-weight: bold">Revision</dt> <dd><a style="font-weight: bold" href="https://core.trac.wordpress.org/changeset/56549">56549</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/56549","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>SergeyBiryukov</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2023-09-09 09:26:01 +0000 (Sat, 09 Sep 2023)</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'>Coding Standards: Use pre-increment/decrement for stand-alone statements.
Note: This is enforced by WPCS 3.0.0:
1. There should be no space between an increment/decrement operator and the variable it applies to.
2. Pre-increment/decrement should be favoured over post-increment/decrement for stand-alone statements. {U+201C}Pre{U+201D} will in/decrement and then return, {U+201C}post{U+201D} will return and then in/decrement. Using the {U+201C}pre{U+201D} version is slightly more performant and can prevent future bugs when code gets moved around.
References:
* [https://developer.wordpress.org/coding-standards/wordpress-coding-standards/php/#increment-decrement-operators WordPress PHP Coding Standards: Increment/decrement operators]
* [https://github.com/WordPress/WordPress-Coding-Standards/pull/2130 WPCS: PR <a href="https://core.trac.wordpress.org/ticket/2130">#2130</a> Core: add sniffs to check formatting of increment/decrement operators]
Props jrf.
See <a href="https://core.trac.wordpress.org/ticket/59161">#59161</a>, <a href="https://core.trac.wordpress.org/ticket/58831">#58831</a>.</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunksrcwpadmineditcommentsphp">trunk/src/wp-admin/edit-comments.php</a></li>
<li><a href="#trunksrcwpadmineditphp">trunk/src/wp-admin/edit.php</a></li>
<li><a href="#trunksrcwpadminincludesajaxactionsphp">trunk/src/wp-admin/includes/ajax-actions.php</a></li>
<li><a href="#trunksrcwpadminincludesclasslanguagepackupgraderphp">trunk/src/wp-admin/includes/class-language-pack-upgrader.php</a></li>
<li><a href="#trunksrcwpadminincludesclasspluginupgraderphp">trunk/src/wp-admin/includes/class-plugin-upgrader.php</a></li>
<li><a href="#trunksrcwpadminincludesclassthemeupgraderphp">trunk/src/wp-admin/includes/class-theme-upgrader.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpautomaticupdaterphp">trunk/src/wp-admin/includes/class-wp-automatic-updater.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswplisttablephp">trunk/src/wp-admin/includes/class-wp-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswppluginslisttablephp">trunk/src/wp-admin/includes/class-wp-plugins-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswppostslisttablephp">trunk/src/wp-admin/includes/class-wp-posts-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpprivacyrequeststablephp">trunk/src/wp-admin/includes/class-wp-privacy-requests-table.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswpsitehealthphp">trunk/src/wp-admin/includes/class-wp-site-health.php</a></li>
<li><a href="#trunksrcwpadminincludesclasswptermslisttablephp">trunk/src/wp-admin/includes/class-wp-terms-list-table.php</a></li>
<li><a href="#trunksrcwpadminincludesfilephp">trunk/src/wp-admin/includes/file.php</a></li>
<li><a href="#trunksrcwpadminincludesimageeditphp">trunk/src/wp-admin/includes/image-edit.php</a></li>
<li><a href="#trunksrcwpadminincludesmediaphp">trunk/src/wp-admin/includes/media.php</a></li>
<li><a href="#trunksrcwpadminincludesmenuphp">trunk/src/wp-admin/includes/menu.php</a></li>
<li><a href="#trunksrcwpadminincludesmiscphp">trunk/src/wp-admin/includes/misc.php</a></li>
<li><a href="#trunksrcwpadminincludesmsphp">trunk/src/wp-admin/includes/ms.php</a></li>
<li><a href="#trunksrcwpadminincludestemplatephp">trunk/src/wp-admin/includes/template.php</a></li>
<li><a href="#trunksrcwpadminincludesupgradephp">trunk/src/wp-admin/includes/upgrade.php</a></li>
<li><a href="#trunksrcwpadminincludeswidgetsphp">trunk/src/wp-admin/includes/widgets.php</a></li>
<li><a href="#trunksrcwpadminlinkphp">trunk/src/wp-admin/link.php</a></li>
<li><a href="#trunksrcwpadminmenuphp">trunk/src/wp-admin/menu.php</a></li>
<li><a href="#trunksrcwpadminnetworkusersphp">trunk/src/wp-admin/network/users.php</a></li>
<li><a href="#trunksrcwpadminusersphp">trunk/src/wp-admin/users.php</a></li>
<li><a href="#trunksrcwpadminwidgetsformphp">trunk/src/wp-admin/widgets-form.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyelevenfunctionsphp">trunk/src/wp-content/themes/twentyeleven/functions.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyelevenimagephp">trunk/src/wp-content/themes/twentyeleven/image.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyelevenshowcasephp">trunk/src/wp-content/themes/twentyeleven/showcase.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentyseventeeninctemplatefunctionsphp">trunk/src/wp-content/themes/twentyseventeen/inc/template-functions.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytenloopattachmentphp">trunk/src/wp-content/themes/twentyten/loop-attachment.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwelveimagephp">trunk/src/wp-content/themes/twentytwelve/image.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyindexphp">trunk/src/wp-content/themes/twentytwenty/index.php</a></li>
<li><a href="#trunksrcwpcontentthemestwentytwentyoneinctemplatefunctionsphp">trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php</a></li>
<li><a href="#trunksrcwpincludesclasswalkercommentphp">trunk/src/wp-includes/class-walker-comment.php</a></li>
<li><a href="#trunksrcwpincludesclasswpblockphp">trunk/src/wp-includes/class-wp-block.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcommentqueryphp">trunk/src/wp-includes/class-wp-comment-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpcustomizemanagerphp">trunk/src/wp-includes/class-wp-customize-manager.php</a></li>
<li><a href="#trunksrcwpincludesclasswphookphp">trunk/src/wp-includes/class-wp-hook.php</a></li>
<li><a href="#trunksrcwpincludesclasswplistutilphp">trunk/src/wp-includes/class-wp-list-util.php</a></li>
<li><a href="#trunksrcwpincludesclasswpmetaqueryphp">trunk/src/wp-includes/class-wp-meta-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswpqueryphp">trunk/src/wp-includes/class-wp-query.php</a></li>
<li><a href="#trunksrcwpincludesclasswprewritephp">trunk/src/wp-includes/class-wp-rewrite.php</a></li>
<li><a href="#trunksrcwpincludesclasswpthemejsonphp">trunk/src/wp-includes/class-wp-theme-json.php</a></li>
<li><a href="#trunksrcwpincludesclasswpwalkerphp">trunk/src/wp-includes/class-wp-walker.php</a></li>
<li><a href="#trunksrcwpincludesclasswpdbphp">trunk/src/wp-includes/class-wpdb.php</a></li>
<li><a href="#trunksrcwpincludescommenttemplatephp">trunk/src/wp-includes/comment-template.php</a></li>
<li><a href="#trunksrcwpincludescompatphp">trunk/src/wp-includes/compat.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="#trunksrcwpincludeshtmlapiclasswphtmltagprocessorphp">trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php</a></li>
<li><a href="#trunksrcwpincludesmediaphp">trunk/src/wp-includes/media.php</a></li>
<li><a href="#trunksrcwpincludesmssitephp">trunk/src/wp-includes/ms-site.php</a></li>
<li><a href="#trunksrcwpincludespomomophp">trunk/src/wp-includes/pomo/mo.php</a></li>
<li><a href="#trunksrcwpincludespomopluralformsphp">trunk/src/wp-includes/pomo/plural-forms.php</a></li>
<li><a href="#trunksrcwpincludespomopophp">trunk/src/wp-includes/pomo/po.php</a></li>
<li><a href="#trunksrcwpincludespomotranslationsphp">trunk/src/wp-includes/pomo/translations.php</a></li>
<li><a href="#trunksrcwpincludespostphp">trunk/src/wp-includes/post.php</a></li>
<li><a href="#trunksrcwpincludestaxonomyphp">trunk/src/wp-includes/taxonomy.php</a></li>
<li><a href="#trunksrcwpincludesthemetemplatesphp">trunk/src/wp-includes/theme-templates.php</a></li>
<li><a href="#trunksrcwpincludesuserphp">trunk/src/wp-includes/user.php</a></li>
<li><a href="#trunksrcwpincludeswidgetsclasswpwidgetcalendarphp">trunk/src/wp-includes/widgets/class-wp-widget-calendar.php</a></li>
<li><a href="#trunksrcwpincludeswidgetsclasswpwidgetmediaphp">trunk/src/wp-includes/widgets/class-wp-widget-media.php</a></li>
<li><a href="#trunktestsphpunitincludesfactoryclasswpunittestgeneratorsequencephp">trunk/tests/phpunit/includes/factory/class-wp-unittest-generator-sequence.php</a></li>
<li><a href="#trunktestsphpunitincludestestcaserestposttypecontrollerphp">trunk/tests/phpunit/includes/testcase-rest-post-type-controller.php</a></li>
<li><a href="#trunktestsphpunitincludeswpprofilerphp">trunk/tests/phpunit/includes/wp-profiler.php</a></li>
<li><a href="#trunktestsphpunittestsblockswpBlockListphp">trunk/tests/phpunit/tests/blocks/wpBlockList.php</a></li>
<li><a href="#trunktestsphpunittestscommentmetaCachephp">trunk/tests/phpunit/tests/comment/metaCache.php</a></li>
<li><a href="#trunktestsphpunittestscommentqueryphp">trunk/tests/phpunit/tests/comment/query.php</a></li>
<li><a href="#trunktestsphpunittestsdatetheDatephp">trunk/tests/phpunit/tests/date/theDate.php</a></li>
<li><a href="#trunktestsphpunittestsfeedatomphp">trunk/tests/phpunit/tests/feed/atom.php</a></li>
<li><a href="#trunktestsphpunittestsimportbasephp">trunk/tests/phpunit/tests/import/base.php</a></li>
<li><a href="#trunktestsphpunittestsmultisitenetworkphp">trunk/tests/phpunit/tests/multisite/network.php</a></li>
<li><a href="#trunktestsphpunittestsmultisitesitephp">trunk/tests/phpunit/tests/multisite/site.php</a></li>
<li><a href="#trunktestsphpunittestsoembedcontrollerphp">trunk/tests/phpunit/tests/oembed/controller.php</a></li>
<li><a href="#trunktestsphpunittestspluggablesignaturesphp">trunk/tests/phpunit/tests/pluggable/signatures.php</a></li>
<li><a href="#trunktestsphpunittestspomopluralFormsphp">trunk/tests/phpunit/tests/pomo/pluralForms.php</a></li>
<li><a href="#trunktestsphpunittestspostgetPageByPathphp">trunk/tests/phpunit/tests/post/getPageByPath.php</a></li>
<li><a href="#trunktestsphpunittestspostrevisionsphp">trunk/tests/phpunit/tests/post/revisions.php</a></li>
<li><a href="#trunktestsphpunittestsrestapirestattachmentscontrollerphp">trunk/tests/phpunit/tests/rest-api/rest-attachments-controller.php</a></li>
<li><a href="#trunktestsphpunittestsrestapirestcategoriescontrollerphp">trunk/tests/phpunit/tests/rest-api/rest-categories-controller.php</a></li>
<li><a href="#trunktestsphpunittestsrestapirestcommentscontrollerphp">trunk/tests/phpunit/tests/rest-api/rest-comments-controller.php</a></li>
<li><a href="#trunktestsphpunittestsrestapirestpostscontrollerphp">trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php</a></li>
<li><a href="#trunktestsphpunittestsrestapirestsidebarscontrollerphp">trunk/tests/phpunit/tests/rest-api/rest-sidebars-controller.php</a></li>
<li><a href="#trunktestsphpunittestsrestapiresttagscontrollerphp">trunk/tests/phpunit/tests/rest-api/rest-tags-controller.php</a></li>
<li><a href="#trunktestsphpunittestsrestapirestuserscontrollerphp">trunk/tests/phpunit/tests/rest-api/rest-users-controller.php</a></li>
<li><a href="#trunktestsphpunittestsrestapirestwidgetscontrollerphp">trunk/tests/phpunit/tests/rest-api/rest-widgets-controller.php</a></li>
<li><a href="#trunktestsphpunittestsrestapiwpRestMenuItemsControllerphp">trunk/tests/phpunit/tests/rest-api/wpRestMenuItemsController.php</a></li>
<li><a href="#trunktestsphpunitteststermcachephp">trunk/tests/phpunit/tests/term/cache.php</a></li>
<li><a href="#trunktestsphpunitteststermgetTermphp">trunk/tests/phpunit/tests/term/getTerm.php</a></li>
<li><a href="#trunktestsphpunitteststermmetaphp">trunk/tests/phpunit/tests/term/meta.php</a></li>
<li><a href="#trunktestsphpunitteststhemewpThemeJsonResolverphp">trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php</a></li>
<li><a href="#trunktestsphpunittestsurlphp">trunk/tests/phpunit/tests/url.php</a></li>
<li><a href="#trunktestsphpunittestswidgetswpWidgetTextphp">trunk/tests/phpunit/tests/widgets/wpWidgetText.php</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunksrcwpadmineditcommentsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/edit-comments.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/edit-comments.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/edit-comments.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -84,31 +84,31 @@
</span><span class="cx" style="display: block; padding: 0 10px"> switch ( $doaction ) {
</span><span class="cx" style="display: block; padding: 0 10px"> case 'approve':
</span><span class="cx" style="display: block; padding: 0 10px"> wp_set_comment_status( $comment_id, 'approve' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $approved++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$approved;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> case 'unapprove':
</span><span class="cx" style="display: block; padding: 0 10px"> wp_set_comment_status( $comment_id, 'hold' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $unapproved++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$unapproved;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> case 'spam':
</span><span class="cx" style="display: block; padding: 0 10px"> wp_spam_comment( $comment_id );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $spammed++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$spammed;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> case 'unspam':
</span><span class="cx" style="display: block; padding: 0 10px"> wp_unspam_comment( $comment_id );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $unspammed++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$unspammed;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> case 'trash':
</span><span class="cx" style="display: block; padding: 0 10px"> wp_trash_comment( $comment_id );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $trashed++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$trashed;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> case 'untrash':
</span><span class="cx" style="display: block; padding: 0 10px"> wp_untrash_comment( $comment_id );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $untrashed++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$untrashed;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> case 'delete':
</span><span class="cx" style="display: block; padding: 0 10px"> wp_delete_comment( $comment_id );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $deleted++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$deleted;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</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="trunksrcwpadmineditphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/edit.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/edit.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/edit.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -124,7 +124,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"> if ( wp_check_post_lock( $post_id ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $locked++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$locked;
</ins><span class="cx" style="display: block; padding: 0 10px"> continue;
</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">@@ -132,7 +132,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> wp_die( __( 'Error in moving the item to Trash.' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $trashed++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$trashed;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $sendback = add_query_arg(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -160,7 +160,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> wp_die( __( 'Error in restoring the item from Trash.' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $untrashed++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$untrashed;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> $sendback = add_query_arg( 'untrashed', $untrashed, $sendback );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -185,7 +185,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> wp_die( __( 'Error in deleting the item.' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $deleted++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$deleted;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> $sendback = add_query_arg( 'deleted', $deleted, $sendback );
</span><span class="cx" style="display: block; padding: 0 10px"> break;
</span></span></pre></div>
<a id="trunksrcwpadminincludesajaxactionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/ajax-actions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/ajax-actions.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/ajax-actions.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2149,7 +2149,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> while ( $parent > 0 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $parent_post = get_post( $parent );
</span><span class="cx" style="display: block; padding: 0 10px"> $parent = $parent_post->post_parent;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $level++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$level;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2211,7 +2211,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> while ( $parent > 0 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $parent_tag = get_term( $parent, $taxonomy );
</span><span class="cx" style="display: block; padding: 0 10px"> $parent = $parent_tag->parent;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $level++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$level;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $wp_list_table->single_row( $tag, $level );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2821,7 +2821,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"> if ( set_post_thumbnail( $post_id, $thumbnail_id ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $success++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$success;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasslanguagepackupgraderphp"></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-language-pack-upgrader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-language-pack-upgrader.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/class-language-pack-upgrader.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -238,7 +238,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $destination .= '/themes';
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->update_current++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->update_current;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $options = array(
</span><span class="cx" style="display: block; padding: 0 10px"> 'package' => $language_update->package,
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasspluginupgraderphp"></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-plugin-upgrader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-plugin-upgrader.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/class-plugin-upgrader.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -330,7 +330,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $this->update_count = count( $plugins );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->update_current = 0;
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $plugins as $plugin ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->update_current++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->update_current;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->skin->plugin_info = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin, false, true );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! isset( $current->response[ $plugin ] ) ) {
</span></span></pre></div>
<a id="trunksrcwpadminincludesclassthemeupgraderphp"></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-theme-upgrader.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-theme-upgrader.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/class-theme-upgrader.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -426,7 +426,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $this->update_count = count( $themes );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->update_current = 0;
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $themes as $theme ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->update_current++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->update_current;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $this->skin->theme_info = $this->theme_info( $theme );
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpautomaticupdaterphp"></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-automatic-updater.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-automatic-updater.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/class-wp-automatic-updater.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1390,7 +1390,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: %s: WordPress version. */
</span><span class="cx" style="display: block; padding: 0 10px"> $body[] = sprintf( __( 'FAILED: WordPress failed to update to %s' ), $result->name );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $failures++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$failures;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $body[] = '';
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1432,7 +1432,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! $item->result || is_wp_error( $item->result ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> /* translators: %s: Name of plugin / theme / translation. */
</span><span class="cx" style="display: block; padding: 0 10px"> $body[] = ' * ' . sprintf( __( 'FAILED: %s' ), $item->name );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $failures++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$failures;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</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 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/class-wp-list-table.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1410,7 +1410,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> '</span>' .
</span><span class="cx" style="display: block; padding: 0 10px"> '</label>' .
</span><span class="cx" style="display: block; padding: 0 10px"> '<input id="cb-select-all-' . $cb_counter . '" type="checkbox" />';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $cb_counter++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$cb_counter;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $columns as $column_key => $column_display_name ) {
</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 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/class-wp-plugins-list-table.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -728,7 +728,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $suffix = 2;
</span><span class="cx" style="display: block; padding: 0 10px"> while ( in_array( $plugin_id_attr, $plugin_id_attrs, true ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $plugin_id_attr = "$plugin_slug-$suffix";
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $suffix++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$suffix;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $plugin_id_attrs[] = $plugin_id_attr;
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswppostslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-posts-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-posts-list-table.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/class-wp-posts-list-table.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -898,7 +898,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $to_display[ $page->ID ] = $level;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $children_pages ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->_page_rows( $children_pages, $count, $page->ID, $level + 1, $pagenum, $per_page, $to_display );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -917,7 +917,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $to_display[ $op->ID ] = 0;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -992,7 +992,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> while ( $my_parent = array_pop( $my_parents ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $to_display[ $my_parent->ID ] = $level - $num_parents;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_parents--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$num_parents;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1000,7 +1000,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $to_display[ $page->ID ] = $level;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $this->_page_rows( $children_pages, $count, $page->ID, $level + 1, $pagenum, $per_page, $to_display );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1097,7 +1097,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->current_level++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->current_level;
</ins><span class="cx" style="display: block; padding: 0 10px"> $find_main_page = (int) $parent->post_parent;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! isset( $parent_name ) ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2085,7 +2085,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </td></tr>
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $bulk++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$bulk;
</ins><span class="cx" style="display: block; padding: 0 10px"> endwhile;
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span><span class="cx" style="display: block; padding: 0 10px"> </tbody></table>
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpprivacyrequeststablephp"></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-privacy-requests-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-privacy-requests-table.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/class-wp-privacy-requests-table.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -239,9 +239,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $resend = _wp_privacy_resend_request( $request_id );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $resend && ! is_wp_error( $resend ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $failures++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$failures;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -286,7 +286,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $result = _wp_privacy_completed_request( $request_id );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $result && ! is_wp_error( $result ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -309,9 +309,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> case 'delete':
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $request_ids as $request_id ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( wp_delete_post( $request_id, true ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $failures++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$failures;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswpsitehealthphp"></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-site-health.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-site-health.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/class-wp-site-health.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -381,14 +381,14 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Loop over the available plugins and check their versions and active state.
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $plugins as $plugin_path => $plugin ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $plugins_total++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$plugins_total;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_plugin_active( $plugin_path ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $plugins_active++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$plugins_active;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( array_key_exists( $plugin_path, $plugin_updates ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $plugins_need_update++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$plugins_need_update;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -543,21 +543,21 @@
</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"> foreach ( $all_themes as $theme_slug => $theme ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $themes_total++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$themes_total;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( array_key_exists( $theme_slug, $theme_updates ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $themes_need_updates++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$themes_need_updates;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // If this is a child theme, increase the allowed theme count by one, to account for the parent.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_child_theme() ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $allowed_theme_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$allowed_theme_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // If there's a default theme installed and not in use, we count that as allowed as well.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $has_default_theme && ! $using_default_theme ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $allowed_theme_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$allowed_theme_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $themes_total > $allowed_theme_count ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3293,11 +3293,11 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $results as $result ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 'critical' === $result['status'] ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $site_status['critical']++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$site_status['critical'];
</ins><span class="cx" style="display: block; padding: 0 10px"> } elseif ( 'recommended' === $result['status'] ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $site_status['recommended']++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$site_status['recommended'];
</ins><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $site_status['good']++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$site_status['good'];
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesclasswptermslisttablephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/class-wp-terms-list-table.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/class-wp-terms-list-table.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/class-wp-terms-list-table.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -310,7 +310,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> while ( $my_parent = array_pop( $my_parents ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> echo "\t";
</span><span class="cx" style="display: block; padding: 0 10px"> $this->single_row( $my_parent, $level - $num_parents );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_parents--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$num_parents;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesfilephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/file.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/file.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/file.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1493,7 +1493,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Ensure only valid-length signatures are considered.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( SODIUM_CRYPTO_SIGN_BYTES !== strlen( $signature_raw ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $skipped_signature++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$skipped_signature;
</ins><span class="cx" style="display: block; padding: 0 10px"> continue;
</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">@@ -1502,7 +1502,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Only pass valid public keys through.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( SODIUM_CRYPTO_SIGN_PUBLICKEYBYTES !== strlen( $key_raw ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $skipped_key++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$skipped_key;
</ins><span class="cx" style="display: block; padding: 0 10px"> continue;
</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="trunksrcwpadminincludesimageeditphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/image-edit.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/image-edit.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/image-edit.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -979,7 +979,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $new_path = "{$dirname}/$new_filename";
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( file_exists( $new_path ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $suffix++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$suffix;
</ins><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</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 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/media.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -638,7 +638,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> function media_buttons( $editor_id = 'content' ) {
</span><span class="cx" style="display: block; padding: 0 10px"> static $instance = 0;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $instance++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$instance;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $post = get_post();
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminincludesmenuphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/menu.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/menu.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/menu.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -228,7 +228,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $i = 0;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $menu as $order => $top ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 0 === $order ) { // Dashboard is always shown/single.
</span><span class="cx" style="display: block; padding: 0 10px"> $menu[0][4] = add_cssclass( 'menu-top-first', $top[4] );
</span></span></pre></div>
<a id="trunksrcwpadminincludesmiscphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/misc.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/misc.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/misc.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -403,7 +403,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $size = count( $tree );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $tree as $label => $theme_file ) :
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $index++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$index;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! is_array( $theme_file ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> wp_print_theme_file_tree( $theme_file, $level, $index, $size );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -505,7 +505,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $size = count( $tree );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $tree as $label => $plugin_file ) :
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $index++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$index;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! is_array( $plugin_file ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> wp_print_plugin_file_tree( $plugin_file, $label, $level, $index, $size );
</span></span></pre></div>
<a id="trunksrcwpadminincludesmsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/includes/ms.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/ms.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/ms.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -734,7 +734,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> while ( $c < 10 && get_id_from_blogname( $post_name ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $post_name .= mt_rand( 1, 10 );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $c++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$c;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $post_name !== $data['post_name'] ) {
</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 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/template.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1355,7 +1355,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">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> // get_hidden_meta_boxes() doesn't apply in the block editor.
</span><span class="cx" style="display: block; padding: 0 10px"> $hidden_class = ( ! $screen->is_block_editor() && in_array( $box['id'], $hidden, true ) ) ? ' hide-if-js' : '';
</span><span class="cx" style="display: block; padding: 0 10px"> echo '<div id="' . $box['id'] . '" class="postbox ' . postbox_classes( $box['id'], $page ) . $hidden_class . '" ' . '>' . "\n";
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1550,7 +1550,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> continue;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> $hidden_class = in_array( $box['id'], $hidden, true ) ? 'hide-if-js' : '';
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $open_class = '';
</span></span></pre></div>
<a id="trunksrcwpadminincludesupgradephp"></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/upgrade.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/includes/upgrade.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/upgrade.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1292,7 +1292,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $num = 2;
</span><span class="cx" style="display: block; padding: 0 10px"> do {
</span><span class="cx" style="display: block; padding: 0 10px"> $alt_slug = $slug . "-$num";
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num;
</ins><span class="cx" style="display: block; padding: 0 10px"> $slug_check = $wpdb->get_var( $wpdb->prepare( "SELECT slug FROM $wpdb->terms WHERE slug = %s", $alt_slug ) );
</span><span class="cx" style="display: block; padding: 0 10px"> } while ( $slug_check );
</span><span class="cx" style="display: block; padding: 0 10px">
</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 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/includes/widgets.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -134,7 +134,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_list_widget_controls_dynamic_sidebar( $params ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_registered_widgets;
</span><span class="cx" style="display: block; padding: 0 10px"> static $i = 0;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $widget_id = $params[0]['widget_id'];
</span><span class="cx" style="display: block; padding: 0 10px"> $id = isset( $params[0]['_temp_id'] ) ? $params[0]['_temp_id'] : $widget_id;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -168,7 +168,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $number = max( $number, $matches[1] );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $number++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$number;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $number;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpadminlinkphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/link.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/link.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/link.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -45,7 +45,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $link_id = (int) $link_id;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( wp_delete_link( $link_id ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $deleted++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$deleted;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminmenuphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/menu.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/menu.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/menu.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -161,7 +161,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> $core_menu_positions = array( 59, 60, 65, 70, 75, 80, 85, 99 );
</span><span class="cx" style="display: block; padding: 0 10px"> while ( isset( $menu[ $ptype_menu_position ] ) || in_array( $ptype_menu_position, $core_menu_positions, true ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $ptype_menu_position++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$ptype_menu_position;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $menu[ $ptype_menu_position ] = array( esc_attr( $ptype_obj->labels->menu_name ), $ptype_obj->cap->edit_posts, $ptype_file, '', $menu_class, $ptype_menu_id, $menu_icon );
</span></span></pre></div>
<a id="trunksrcwpadminnetworkusersphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-admin/network/users.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/network/users.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/network/users.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -184,7 +184,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> continue;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> wpmu_delete_user( $id );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpadminusersphp"></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/users.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/users.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/users.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -381,7 +381,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><span class="cx" style="display: block; padding: 0 10px"> echo "</li>\n";
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $go_delete++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$go_delete;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span></span></pre></div>
<a id="trunksrcwpadminwidgetsformphp"></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/widgets-form.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-admin/widgets-form.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-admin/widgets-form.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -310,7 +310,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> $j = count( $sidebars_widgets[ $sbname ] );
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $_GET['addnew'] ) || ! in_array( $widget_id, $sidebars_widgets[ $sbname ], true ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $j++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$j;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> $selected = '';
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -540,7 +540,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> </div>
</span><span class="cx" style="display: block; padding: 0 10px"> <?php
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> ?>
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyelevenfunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyeleven/functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyeleven/functions.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-content/themes/twentyeleven/functions.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -667,15 +667,15 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $count = 0;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_active_sidebar( 'sidebar-3' ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_active_sidebar( 'sidebar-4' ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_active_sidebar( 'sidebar-5' ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $class = '';
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyelevenimagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyeleven/image.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyeleven/image.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-content/themes/twentyeleven/image.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -77,7 +77,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // If there is more than 1 attachment in a gallery...
</span><span class="cx" style="display: block; padding: 0 10px"> if ( count( $attachments ) > 1 ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $k++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$k;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $attachments[ $k ] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // ...get the URL of the next image attachment.
</span><span class="cx" style="display: block; padding: 0 10px"> $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID );
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyelevenshowcasephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyeleven/showcase.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyeleven/showcase.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-content/themes/twentyeleven/showcase.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -88,7 +88,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $featured->the_post();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Increase the counter.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $counter_slider++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$counter_slider;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /*
</span><span class="cx" style="display: block; padding: 0 10px"> * We're going to add a class to our featured post for featured images.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -153,7 +153,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Let's roll again.
</span><span class="cx" style="display: block; padding: 0 10px"> while ( $featured->have_posts() ) :
</span><span class="cx" style="display: block; padding: 0 10px"> $featured->the_post();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $counter_slider++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$counter_slider;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( 1 === $counter_slider ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $class = ' class="active"';
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentyseventeeninctemplatefunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyseventeen/inc/template-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyseventeen/inc/template-functions.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-content/themes/twentyseventeen/inc/template-functions.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -89,7 +89,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Create a setting and control for each of the sections available in the theme.
</span><span class="cx" style="display: block; padding: 0 10px"> for ( $i = 1; $i < ( 1 + $num_sections ); $i++ ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( get_theme_mod( 'panel_' . $i ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $panel_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$panel_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytenloopattachmentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentyten/loop-attachment.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentyten/loop-attachment.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-content/themes/twentyten/loop-attachment.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -107,7 +107,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // If there is more than 1 image attachment in a gallery...
</span><span class="cx" style="display: block; padding: 0 10px"> if ( count( $attachments ) > 1 ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $k++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$k;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $attachments[ $k ] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // ...get the URL of the next image attachment.
</span><span class="cx" style="display: block; padding: 0 10px"> $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID );
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwelveimagephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwelve/image.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwelve/image.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-content/themes/twentytwelve/image.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -77,7 +77,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // If there is more than 1 attachment in a gallery...
</span><span class="cx" style="display: block; padding: 0 10px"> if ( count( $attachments ) > 1 ) :
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $k++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$k;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $attachments[ $k ] ) ) :
</span><span class="cx" style="display: block; padding: 0 10px"> // ...get the URL of the next image attachment.
</span><span class="cx" style="display: block; padding: 0 10px"> $next_attachment_url = get_attachment_link( $attachments[ $k ]->ID );
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyindexphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwenty/index.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwenty/index.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-content/themes/twentytwenty/index.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -84,7 +84,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $i = 0;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> while ( have_posts() ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( $i > 1 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> echo '<hr class="post-separator styled-separator is-style-wide section-inner" aria-hidden="true" />';
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpcontentthemestwentytwentyoneinctemplatefunctionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-content/themes/twentytwentyone/inc/template-functions.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -384,7 +384,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $is_matching_block ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // Increment count.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $instances_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$instances_count;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Add the block HTML.
</span><span class="cx" style="display: block; padding: 0 10px"> $blocks_content .= render_block( $block );
</span></span></pre></div>
<a id="trunksrcwpincludesclasswalkercommentphp"></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-walker-comment.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-walker-comment.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/class-walker-comment.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -174,7 +174,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Restores the more descriptive, specific name for use within this method.
</span><span class="cx" style="display: block; padding: 0 10px"> $comment = $data_object;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $depth++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$depth;
</ins><span class="cx" style="display: block; padding: 0 10px"> $GLOBALS['comment_depth'] = $depth;
</span><span class="cx" style="display: block; padding: 0 10px"> $GLOBALS['comment'] = $comment;
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpblockphp"></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-block.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-block.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/class-wp-block.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -244,7 +244,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $block_content .= $inner_block->render();
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $index++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$index;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcommentqueryphp"></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-comment-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-comment-query.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/class-wp-comment-query.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1079,7 +1079,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> wp_cache_set_multiple( $data, 'comment-queries' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $level++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$level;
</ins><span class="cx" style="display: block; padding: 0 10px"> $levels[ $level ] = $child_ids;
</span><span class="cx" style="display: block; padding: 0 10px"> } while ( $child_ids );
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpcustomizemanagerphp"></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-manager.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-customize-manager.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/class-wp-customize-manager.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1077,7 +1077,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> continue;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> if ( update_post_meta( $autosave_autodraft_post->ID, '_customize_restore_dismissed', true ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $dismissed++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$dismissed;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> return $dismissed;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1479,7 +1479,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! $nav_menu_term_id ) {
</span><span class="cx" style="display: block; padding: 0 10px"> while ( isset( $changeset_data[ sprintf( 'nav_menu[%d]', $placeholder_id ) ] ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $placeholder_id--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$placeholder_id;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> $nav_menu_term_id = $placeholder_id;
</span><span class="cx" style="display: block; padding: 0 10px"> $nav_menu_setting_id = sprintf( 'nav_menu[%d]', $placeholder_id );
</span></span></pre></div>
<a id="trunksrcwpincludesclasswphookphp"></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-hook.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-hook.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/class-wp-hook.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -317,7 +317,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> unset( $this->iterations[ $nesting_level ] );
</span><span class="cx" style="display: block; padding: 0 10px"> unset( $this->current_priority[ $nesting_level ] );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->nesting_level--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$this->nesting_level;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $value;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -359,7 +359,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } while ( false !== next( $this->iterations[ $nesting_level ] ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> unset( $this->iterations[ $nesting_level ] );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->nesting_level--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$this->nesting_level;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunksrcwpincludesclasswplistutilphp"></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-list-util.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-list-util.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/class-wp-list-util.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -117,12 +117,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_array( $obj ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // Treat object as an array.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( array_key_exists( $m_key, $obj ) && ( $m_value == $obj[ $m_key ] ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $matched++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$matched;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> } elseif ( is_object( $obj ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // Treat object as an object.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $obj->{$m_key} ) && ( $m_value == $obj->{$m_key} ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $matched++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$matched;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpmetaqueryphp"></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-meta-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-meta-query.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/class-wp-meta-query.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -633,7 +633,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $clause_key_base = $clause_key;
</span><span class="cx" style="display: block; padding: 0 10px"> while ( isset( $this->clauses[ $clause_key ] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $clause_key = $clause_key_base . '-' . $iterator;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $iterator++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$iterator;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Store the clause in our flat array.
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpqueryphp"></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-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-query.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/class-wp-query.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3470,7 +3470,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Move to front, after other stickies.
</span><span class="cx" style="display: block; padding: 0 10px"> array_splice( $this->posts, $sticky_offset, 0, array( $sticky_post ) );
</span><span class="cx" style="display: block; padding: 0 10px"> // Increment the sticky offset. The next sticky will be placed at this offset.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $sticky_offset++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$sticky_offset;
</ins><span class="cx" style="display: block; padding: 0 10px"> // Remove post from sticky posts array.
</span><span class="cx" style="display: block; padding: 0 10px"> $offset = array_search( $sticky_post->ID, $sticky_posts, true );
</span><span class="cx" style="display: block; padding: 0 10px"> unset( $sticky_posts[ $offset ] );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3500,7 +3500,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $stickies as $sticky_post ) {
</span><span class="cx" style="display: block; padding: 0 10px"> array_splice( $this->posts, $sticky_offset, 0, array( $sticky_post ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $sticky_offset++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$sticky_offset;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3620,7 +3620,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function next_post() {
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->current_post++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->current_post;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /** @var WP_Post */
</span><span class="cx" style="display: block; padding: 0 10px"> $this->post = $this->posts[ $this->current_post ];
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3730,7 +3730,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * @return WP_Comment Comment object.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function next_comment() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->current_comment++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->current_comment;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /** @var WP_Comment */
</span><span class="cx" style="display: block; padding: 0 10px"> $this->comment = $this->comments[ $this->current_comment ];
</span></span></pre></div>
<a id="trunksrcwpincludesclasswprewritephp"></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-rewrite.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-rewrite.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/class-wp-rewrite.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -531,7 +531,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $front = $front . 'date/';
</span><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $tok_index++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$tok_index;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $this->date_structure = $front . $date_endian;
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpthemejsonphp"></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-json.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-theme-json.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/class-wp-theme-json.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3399,7 +3399,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"> if ( $below_midpoint_count < $steps_mid_point - 2 ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $x_small_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$x_small_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $slug -= 10;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3436,7 +3436,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"> if ( $above_midpoint_count > 1 ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $x_large_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$x_large_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $slug += 10;
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpwalkerphp"></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-walker.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wp-walker.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/class-wp-walker.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -325,7 +325,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $empty_array = array();
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $elements as $e ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( $count < $start ) {
</span><span class="cx" style="display: block; padding: 0 10px"> continue;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -372,7 +372,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"> foreach ( $top_level_elements as $e ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // For the last page, need to unset earlier children in order to keep track of orphans.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $end >= $total_top && $count < $start ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -416,7 +416,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $elements as $e ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( empty( $e->$parent_field ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> return $num;
</span></span></pre></div>
<a id="trunksrcwpincludesclasswpdbphp"></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-wpdb.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/class-wpdb.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/class-wpdb.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1539,7 +1539,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $k = 1;
</span><span class="cx" style="display: block; padding: 0 10px"> $l = strlen( $s );
</span><span class="cx" style="display: block; padding: 0 10px"> while ( $k <= $l && '%' === $s[ $l - $k ] ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $k++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$k;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $placeholder = '%' . ( $k % 2 ? '%' : '' ) . $format . $type;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1600,7 +1600,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $new_query .= $split_query[ $key - 2 ] . $split_query[ $key - 1 ] . $placeholder;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $key += 3;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $arg_id++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$arg_id;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Replace $query; and add remaining $query characters, or index 0 if there were no placeholders.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1632,7 +1632,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $used_placeholders[ $arg_pos ][] = $placeholder;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $key += 3;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $arg_id++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$arg_id;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $conflicts = array();
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2304,7 +2304,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $this->result instanceof mysqli_result ) {
</span><span class="cx" style="display: block; padding: 0 10px"> while ( $row = mysqli_fetch_object( $this->result ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->last_result[ $num_rows ] = $row;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_rows++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_rows;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2334,7 +2334,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $this->result = mysqli_query( $this->dbh, $query );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( defined( 'SAVEQUERIES' ) && SAVEQUERIES ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->log_query(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3878,7 +3878,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $new_array = array();
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( (array) $this->col_info as $col ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $new_array[ $i ] = $col->{$info_type};
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> return $new_array;
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span></span></pre></div>
<a id="trunksrcwpincludescommenttemplatephp"></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-template.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/comment-template.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/comment-template.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -549,7 +549,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $classes[] = 'even';
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $comment_alt++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$comment_alt;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Alt for top-level comments.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 1 == $comment_depth ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -559,7 +559,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> $classes[] = 'thread-even';
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $comment_thread_alt++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$comment_thread_alt;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $classes[] = "depth-$comment_depth";
</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 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/compat.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -203,7 +203,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> do {
</span><span class="cx" style="display: block; padding: 0 10px"> // We had some string left over from the last round, but we counted it in that last round.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$count;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /*
</span><span class="cx" style="display: block; padding: 0 10px"> * Split by UTF-8 character, limit to 1000 characters (last array element will contain
</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 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/formatting.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -476,7 +476,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $pre_tags[ $name ] = substr( $text_part, $start ) . '</pre>';
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $text .= substr( $text_part, 0, $start ) . $name;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $text .= $last_part;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2657,7 +2657,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } elseif ( $tagstack[ $stacksize - 1 ] === $tag ) { // Found closing tag.
</span><span class="cx" style="display: block; padding: 0 10px"> $tag = '</' . $tag . '>'; // Close tag.
</span><span class="cx" style="display: block; padding: 0 10px"> array_pop( $tagstack );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $stacksize--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$stacksize;
</ins><span class="cx" style="display: block; padding: 0 10px"> } else { // Closing tag not at top, search for it.
</span><span class="cx" style="display: block; padding: 0 10px"> for ( $j = $stacksize - 1; $j >= 0; $j-- ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $tagstack[ $j ] === $tag ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2664,7 +2664,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Add tag to tagqueue.
</span><span class="cx" style="display: block; padding: 0 10px"> for ( $k = $stacksize - 1; $k >= $j; $k-- ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $tagqueue .= '</' . array_pop( $tagstack ) . '>';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $stacksize--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$stacksize;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2692,7 +2692,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $stacksize > 0 && ! in_array( $tag, $nestable_tags, true ) && $tagstack[ $stacksize - 1 ] === $tag ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $tagqueue = '</' . array_pop( $tagstack ) . '>';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $stacksize--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$stacksize;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> $stacksize = array_push( $tagstack, $tag );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3083,7 +3083,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> || preg_match( '|^<script[\s>]|i', $piece )
</span><span class="cx" style="display: block; padding: 0 10px"> || preg_match( '|^<style[\s>]|i', $piece )
</span><span class="cx" style="display: block; padding: 0 10px"> ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $nested_code_pre++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$nested_code_pre;
</ins><span class="cx" style="display: block; padding: 0 10px"> } elseif ( $nested_code_pre
</span><span class="cx" style="display: block; padding: 0 10px"> && ( '</code>' === strtolower( $piece )
</span><span class="cx" style="display: block; padding: 0 10px"> || '</pre>' === strtolower( $piece )
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3091,7 +3091,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> || '</style>' === strtolower( $piece )
</span><span class="cx" style="display: block; padding: 0 10px"> )
</span><span class="cx" style="display: block; padding: 0 10px"> ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $nested_code_pre--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$nested_code_pre;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $nested_code_pre
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5354,7 +5354,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $i = count( $args );
</span><span class="cx" style="display: block; padding: 0 10px"> while ( $i ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $arg = array_shift( $args );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( 0 === $i ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $result .= $l['between_last_two'] . $arg;
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</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 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/functions.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2696,7 +2696,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"> $number = $new_number;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2769,7 +2769,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"> $number = $new_number;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7163,7 +7163,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $trace = debug_backtrace( false );
</span><span class="cx" style="display: block; padding: 0 10px"> $caller = array();
</span><span class="cx" style="display: block; padding: 0 10px"> $check_class = ! is_null( $ignore_class );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $skip_frames++; // Skip this function.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$skip_frames; // Skip this function.
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! isset( $truncate_paths ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $truncate_paths = array(
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -7174,7 +7174,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $trace as $call ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $skip_frames > 0 ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $skip_frames--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$skip_frames;
</ins><span class="cx" style="display: block; padding: 0 10px"> } elseif ( isset( $call['class'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $check_class && $ignore_class === $call['class'] ) {
</span><span class="cx" style="display: block; padding: 0 10px"> continue; // Filter out calls.
</span></span></pre></div>
<a id="trunksrcwpincludeshtmlapiclasswphtmltagprocessorphp"></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/html-api/class-wp-html-tag-processor.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/html-api/class-wp-html-tag-processor.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -951,7 +951,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( '/' === $this->html[ $at + 1 ] ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->is_closing_tag = true;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $at++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$at;
</ins><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->is_closing_tag = false;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1020,7 +1020,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> *
</span><span class="cx" style="display: block; padding: 0 10px"> * See https://html.spec.whatwg.org/#parse-error-incorrectly-closed-comment
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $closer_at--; // Pre-increment inside condition below reduces risk of accidental infinite looping.
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$closer_at; // Pre-increment inside condition below reduces risk of accidental infinite looping.
</ins><span class="cx" style="display: block; padding: 0 10px"> while ( ++$closer_at < strlen( $html ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $closer_at = strpos( $html, '--', $closer_at );
</span><span class="cx" style="display: block; padding: 0 10px"> if ( false === $closer_at ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1101,7 +1101,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * See https://html.spec.whatwg.org/#parse-error-missing-end-tag-name
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> if ( '>' === $html[ $at + 1 ] ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $at++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$at;
</ins><span class="cx" style="display: block; padding: 0 10px"> continue;
</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="trunksrcwpincludesmediaphp"></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/media.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/media.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/media.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2552,7 +2552,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $post = get_post();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> static $instance = 0;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $instance++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$instance;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! empty( $attr['ids'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // 'ids' is explicitly ordered, unless you specify otherwise.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2899,7 +2899,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $post = get_post();
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> static $instance = 0;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $instance++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$instance;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! empty( $attr['ids'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> // 'ids' is explicitly ordered, unless you specify otherwise.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3213,7 +3213,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $post_id = get_post() ? get_the_ID() : 0;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> static $instance = 0;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $instance++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$instance;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Filters the default audio shortcode output.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3432,7 +3432,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $post_id = get_post() ? get_the_ID() : 0;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> static $instance = 0;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $instance++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$instance;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span><span class="cx" style="display: block; padding: 0 10px"> * Filters the default video shortcode output.
</span></span></pre></div>
<a id="trunksrcwpincludesmssitephp"></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-site.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/ms-site.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/ms-site.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -877,7 +877,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> @closedir( $dh );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $index++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$index;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $stack = array_reverse( $stack ); // Last added directories are deepest.
</span></span></pre></div>
<a id="trunksrcwpincludespomomophp"></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/mo.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/pomo/mo.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/pomo/mo.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -129,7 +129,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Headers' msgid is an empty string.
</span><span class="cx" style="display: block; padding: 0 10px"> fwrite( $fh, pack( 'VV', 0, $current_addr ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $current_addr++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$current_addr;
</ins><span class="cx" style="display: block; padding: 0 10px"> $originals_table = "\0";
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $reader = new POMO_Reader();
</span></span></pre></div>
<a id="trunksrcwpincludespomopluralformsphp"></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/plural-forms.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/pomo/plural-forms.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/pomo/plural-forms.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -110,19 +110,19 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Ignore whitespace.
</span><span class="cx" style="display: block; padding: 0 10px"> case ' ':
</span><span class="cx" style="display: block; padding: 0 10px"> case "\t":
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $pos++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$pos;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Variable (n).
</span><span class="cx" style="display: block; padding: 0 10px"> case 'n':
</span><span class="cx" style="display: block; padding: 0 10px"> $output[] = array( 'var' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $pos++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$pos;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Parentheses.
</span><span class="cx" style="display: block; padding: 0 10px"> case '(':
</span><span class="cx" style="display: block; padding: 0 10px"> $stack[] = $next;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $pos++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$pos;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> case ')':
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -144,7 +144,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> throw new Exception( 'Mismatched parentheses' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $pos++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$pos;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Operators.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -189,7 +189,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $o2 = $stack[ $s_pos ];
</span><span class="cx" style="display: block; padding: 0 10px"> if ( '?' !== $o2 ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $output[] = array( 'op', array_pop( $stack ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $s_pos--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$s_pos;
</ins><span class="cx" style="display: block; padding: 0 10px"> continue;
</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">@@ -202,7 +202,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! $found ) {
</span><span class="cx" style="display: block; padding: 0 10px"> throw new Exception( 'Missing starting "?" ternary operator' );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $pos++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$pos;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Default - number or invalid.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -264,7 +264,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $total = count( $this->tokens );
</span><span class="cx" style="display: block; padding: 0 10px"> while ( $i < $total ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $next = $this->tokens[ $i ];
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> if ( 'var' === $next[0] ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $stack[] = $n;
</span><span class="cx" style="display: block; padding: 0 10px"> continue;
</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 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/pomo/po.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -342,7 +342,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $context = '';
</span><span class="cx" style="display: block; padding: 0 10px"> $msgstr_index = 0;
</span><span class="cx" style="display: block; padding: 0 10px"> while ( true ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $lineno++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$lineno;
</ins><span class="cx" style="display: block; padding: 0 10px"> $line = PO::read_line( $f );
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! $line ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( feof( $f ) ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -365,7 +365,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // The comment is the start of a new entry.
</span><span class="cx" style="display: block; padding: 0 10px"> if ( self::is_final( $context ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> PO::read_line( $f, 'put-back' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $lineno--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$lineno;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> // Comments have to be at the beginning.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -377,7 +377,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } elseif ( preg_match( '/^msgctxt\s+(".*")/', $line, $m ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( self::is_final( $context ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> PO::read_line( $f, 'put-back' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $lineno--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$lineno;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $context && 'comment' !== $context ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -388,7 +388,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> } elseif ( preg_match( '/^msgid\s+(".*")/', $line, $m ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( self::is_final( $context ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> PO::read_line( $f, 'put-back' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $lineno--;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ --$lineno;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $context && 'msgctxt' !== $context && 'comment' !== $context ) {
</span></span></pre></div>
<a id="trunksrcwpincludespomotranslationsphp"></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/translations.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/pomo/translations.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/pomo/translations.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -261,7 +261,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> switch ( $char ) {
</span><span class="cx" style="display: block; padding: 0 10px"> case '?':
</span><span class="cx" style="display: block; padding: 0 10px"> $res .= ' ? (';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $depth++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$depth;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> case ':':
</span><span class="cx" style="display: block; padding: 0 10px"> $res .= ') : (';
</span></span></pre></div>
<a id="trunksrcwpincludespostphp"></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/post.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/post.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/post.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5073,7 +5073,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> do {
</span><span class="cx" style="display: block; padding: 0 10px"> $alt_post_name = _truncate_post_slug( $slug, 200 - ( strlen( $suffix ) + 1 ) ) . "-$suffix";
</span><span class="cx" style="display: block; padding: 0 10px"> $post_name_check = $wpdb->get_var( $wpdb->prepare( $check_sql, $alt_post_name, $post_id ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $suffix++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$suffix;
</ins><span class="cx" style="display: block; padding: 0 10px"> } while ( $post_name_check );
</span><span class="cx" style="display: block; padding: 0 10px"> $slug = $alt_post_name;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5110,7 +5110,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> do {
</span><span class="cx" style="display: block; padding: 0 10px"> $alt_post_name = _truncate_post_slug( $slug, 200 - ( strlen( $suffix ) + 1 ) ) . "-$suffix";
</span><span class="cx" style="display: block; padding: 0 10px"> $post_name_check = $wpdb->get_var( $wpdb->prepare( $check_sql, $alt_post_name, $post_type, $post_id, $post_parent ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $suffix++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$suffix;
</ins><span class="cx" style="display: block; padding: 0 10px"> } while ( $post_name_check );
</span><span class="cx" style="display: block; padding: 0 10px"> $slug = $alt_post_name;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5166,7 +5166,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> do {
</span><span class="cx" style="display: block; padding: 0 10px"> $alt_post_name = _truncate_post_slug( $slug, 200 - ( strlen( $suffix ) + 1 ) ) . "-$suffix";
</span><span class="cx" style="display: block; padding: 0 10px"> $post_name_check = $wpdb->get_var( $wpdb->prepare( $check_sql, $alt_post_name, $post_type, $post_id ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $suffix++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$suffix;
</ins><span class="cx" style="display: block; padding: 0 10px"> } while ( $post_name_check );
</span><span class="cx" style="display: block; padding: 0 10px"> $slug = $alt_post_name;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5758,7 +5758,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> * ensuring each matches the post ancestry.
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> while ( 0 != $p->post_parent && isset( $pages[ $p->post_parent ] ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px"> $parent = $pages[ $p->post_parent ];
</span><span class="cx" style="display: block; padding: 0 10px"> if ( ! isset( $revparts[ $count ] ) || $parent->post_name != $revparts[ $count ] ) {
</span><span class="cx" style="display: block; padding: 0 10px"> break;
</span></span></pre></div>
<a id="trunksrcwpincludestaxonomyphp"></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/taxonomy.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/taxonomy.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/taxonomy.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3090,7 +3090,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $num = 2;
</span><span class="cx" style="display: block; padding: 0 10px"> do {
</span><span class="cx" style="display: block; padding: 0 10px"> $alt_slug = $slug . "-$num";
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num;
</ins><span class="cx" style="display: block; padding: 0 10px"> $slug_check = $wpdb->get_var( $wpdb->prepare( "SELECT slug FROM $wpdb->terms WHERE slug = %s", $alt_slug ) );
</span><span class="cx" style="display: block; padding: 0 10px"> } while ( $slug_check );
</span><span class="cx" style="display: block; padding: 0 10px"> $slug = $alt_slug;
</span></span></pre></div>
<a id="trunksrcwpincludesthemetemplatesphp"></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-templates.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/theme-templates.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/theme-templates.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -90,7 +90,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $alt_post_name = _truncate_post_slug( $override_slug, 200 - ( strlen( $suffix ) + 1 ) ) . "-$suffix";
</span><span class="cx" style="display: block; padding: 0 10px"> $query_args['post_name__in'] = array( $alt_post_name );
</span><span class="cx" style="display: block; padding: 0 10px"> $query = new WP_Query( $query_args );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $suffix++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$suffix;
</ins><span class="cx" style="display: block; padding: 0 10px"> } while ( count( $query->posts ) > 0 );
</span><span class="cx" style="display: block; padding: 0 10px"> $override_slug = $alt_post_name;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpincludesuserphp"></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/user.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/user.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/user.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1316,11 +1316,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> continue;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> if ( empty( $b_roles ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $avail_roles['none']++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$avail_roles['none'];
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $b_roles as $b_role => $val ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $avail_roles[ $b_role ] ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $avail_roles[ $b_role ]++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$avail_roles[ $b_role ];
</ins><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><span class="cx" style="display: block; padding: 0 10px"> $avail_roles[ $b_role ] = 1;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2177,7 +2177,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $base_length = 49 - mb_strlen( $suffix );
</span><span class="cx" style="display: block; padding: 0 10px"> $alt_user_nicename = mb_substr( $user_nicename, 0, $base_length ) . "-$suffix";
</span><span class="cx" style="display: block; padding: 0 10px"> $user_nicename_check = $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM $wpdb->users WHERE user_nicename = %s AND user_login != %s LIMIT 1", $alt_user_nicename, $user_login ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $suffix++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$suffix;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> $user_nicename = $alt_user_nicename;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunksrcwpincludeswidgetsclasswpwidgetcalendarphp"></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/widgets/class-wp-widget-calendar.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/widgets/class-wp-widget-calendar.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/widgets/class-wp-widget-calendar.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -66,7 +66,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> echo '</div>';
</span><span class="cx" style="display: block; padding: 0 10px"> echo $args['after_widget'];
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- self::$instance++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++self::$instance;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunksrcwpincludeswidgetsclasswpwidgetmediaphp"></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/widgets/class-wp-widget-media.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/src/wp-includes/widgets/class-wp-widget-media.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/src/wp-includes/widgets/class-wp-widget-media.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -373,7 +373,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $use_count = 0;
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $this->get_settings() as $instance ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $instance['attachment_id'] ) && $instance['attachment_id'] === $post->ID ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $use_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$use_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunktestsphpunitincludesfactoryclasswpunittestgeneratorsequencephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/includes/factory/class-wp-unittest-generator-sequence.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/includes/factory/class-wp-unittest-generator-sequence.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/includes/factory/class-wp-unittest-generator-sequence.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -9,7 +9,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $start ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->next = $start;
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- self::$incr++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++self::$incr;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->next = self::$incr;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> $this->template_string = $template_string;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -17,7 +17,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> public function next() {
</span><span class="cx" style="display: block; padding: 0 10px"> $generated = sprintf( $this->template_string, $this->next );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->next++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->next;
</ins><span class="cx" style="display: block; padding: 0 10px"> return $generated;
</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="trunktestsphpunitincludestestcaserestposttypecontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/includes/testcase-rest-post-type-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/includes/testcase-rest-post-type-controller.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/includes/testcase-rest-post-type-controller.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -193,7 +193,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $taxonomies as $key => $taxonomy ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $taxonomy->name, $links['https://api.w.org/term'][ $num ]['attributes']['taxonomy'] );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( add_query_arg( 'post', $data['id'], rest_url( 'wp/v2/' . $taxonomy->rest_base ) ), $links['https://api.w.org/term'][ $num ]['href'] );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunktestsphpunitincludeswpprofilerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/includes/wp-profiler.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/includes/wp-profiler.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/includes/wp-profiler.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -72,7 +72,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $this->profile[ $name ] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->profile[ $name ]['time'] += $time;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->profile[ $name ]['calls']++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->profile[ $name ]['calls'];
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->profile[ $name ]['cache_cold_hits'] += ( $wp_object_cache->cold_cache_hits - $item['cache_cold_hits'] );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->profile[ $name ]['cache_warm_hits'] += ( $wp_object_cache->warm_cache_hits - $item['cache_warm_hits'] );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->profile[ $name ]['cache_misses'] += ( $wp_object_cache->cache_misses - $item['cache_misses'] );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -113,9 +113,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $this->stack ) {
</span><span class="cx" style="display: block; padding: 0 10px"> global $wp_actions;
</span><span class="cx" style="display: block; padding: 0 10px"> if ( end( $wp_actions ) === $tag ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->stack[ count( $this->stack ) - 1 ]['actions'][ $tag ]++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->stack[ count( $this->stack ) - 1 ]['actions'][ $tag ];
</ins><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->stack[ count( $this->stack ) - 1 ]['filters'][ $tag ]++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->stack[ count( $this->stack ) - 1 ]['filters'][ $tag ];
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> return $arg;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -123,7 +123,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> public function log_action( $tag ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $this->stack ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->stack[ count( $this->stack ) - 1 ]['actions'][ $tag ]++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->stack[ count( $this->stack ) - 1 ]['actions'][ $tag ];
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -142,7 +142,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $sql = preg_replace( '/(WHERE \w+ =) \d+/', '$1 x', $sql );
</span><span class="cx" style="display: block; padding: 0 10px"> $sql = preg_replace( '/(WHERE \w+ =) \'\[-\w]+\'/', '$1 \'xxx\'', $sql );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $out[ $sql ]++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$out[ $sql ];
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> asort( $out );
</span><span class="cx" style="display: block; padding: 0 10px"> return;
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -153,9 +153,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $out = array();
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $queries as $q ) {
</span><span class="cx" style="display: block; padding: 0 10px"> if ( empty( $q[2] ) ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $out['unknown']++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$out['unknown'];
</ins><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $out[ $q[2] ]++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$out[ $q[2] ];
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> return $out;
</span></span></pre></div>
<a id="trunktestsphpunittestsblockswpBlockListphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/blocks/wpBlockList.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/blocks/wpBlockList.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/blocks/wpBlockList.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -71,10 +71,10 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $blocks as $block ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( 'core/example', $block->name );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $assertions++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$assertions;
</ins><span class="cx" style="display: block; padding: 0 10px"> foreach ( $block->inner_blocks as $inner_block ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( 'core/example', $inner_block->name );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $assertions++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$assertions;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -83,9 +83,9 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $key = $blocks->key();
</span><span class="cx" style="display: block; padding: 0 10px"> $block = $blocks->current();
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( 0, $key );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $assertions++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$assertions;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( 'core/example', $block->name );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $assertions++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$assertions;
</ins><span class="cx" style="display: block; padding: 0 10px"> $blocks->next();
</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="trunktestsphpunittestscommentmetaCachephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/comment/metaCache.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/comment/metaCache.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/comment/metaCache.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -243,7 +243,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // First comment will cause the cache to be primed.
</span><span class="cx" style="display: block; padding: 0 10px"> $num_queries = get_num_queries();
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( 'bar', get_comment_meta( $comments[0], 'foo', 'bar' ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Second comment from the results should not cause more queries.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -252,7 +252,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // A comment from outside the results will not be primed.
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( 'bar', get_comment_meta( $comments[4], 'foo', 'bar' ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</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">@@ -293,7 +293,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // First comment will cause the cache to be primed.
</span><span class="cx" style="display: block; padding: 0 10px"> $num_queries = get_num_queries();
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( 'bar', get_comment_meta( $comments[0], 'foo', 'bar' ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Second comment from the results should not cause more queries.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -302,7 +302,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // A comment from outside the results will not be primed.
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( 'bar', get_comment_meta( $comments[4], 'foo', 'bar' ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</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="trunktestsphpunittestscommentqueryphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/comment/query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/comment/query.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/comment/query.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4769,7 +4769,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">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSameSets( array( $c ), $q->comments );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4805,7 +4805,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">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSameSets( array(), $q->comments );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4841,7 +4841,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">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSameSets( array(), $q->comments );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4879,7 +4879,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">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSameSets( array( $c ), $q->comments );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4915,7 +4915,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">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSameSets( array(), $q->comments );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4953,7 +4953,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">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSameSets( array( $c ), $q->comments );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunktestsphpunittestsdatetheDatephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/date/theDate.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/date/theDate.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/date/theDate.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -80,7 +80,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"> public function count_hook( $input ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->hooks_called[ current_filter() ]++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->hooks_called[ current_filter() ];
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $input;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunktestsphpunittestsfeedatomphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/feed/atom.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/feed/atom.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/feed/atom.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -287,7 +287,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $enclosures[ $i ]['expected']['href'], $link['attributes']['href'] );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertEquals( $enclosures[ $i ]['expected']['length'], $link['attributes']['length'] );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $enclosures[ $i ]['expected']['type'], $link['attributes']['type'] );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunktestsphpunittestsimportbasephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/import/base.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/import/base.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/import/base.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -42,7 +42,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $new[ $i ] = $map;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $_POST = array(
</span></span></pre></div>
<a id="trunktestsphpunittestsmultisitenetworkphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/multisite/network.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/multisite/network.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/multisite/network.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -267,7 +267,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"> public function helper_deactivate_hook() {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->plugin_hook_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->plugin_hook_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> public function test_wp_schedule_update_network_counts() {
</span></span></pre></div>
<a id="trunktestsphpunittestsmultisitesitephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/multisite/site.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/multisite/site.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/multisite/site.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -422,7 +422,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> public function test_get_blog_details_when_site_does_not_exist() {
</span><span class="cx" style="display: block; padding: 0 10px"> // Create an unused site so that we can then assume an invalid site ID.
</span><span class="cx" style="display: block; padding: 0 10px"> $blog_id = self::factory()->blog->create();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $blog_id++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$blog_id;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Prime the cache for an invalid site.
</span><span class="cx" style="display: block; padding: 0 10px"> get_blog_details( $blog_id );
</span></span></pre></div>
<a id="trunktestsphpunittestsoembedcontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/oembed/controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/oembed/controller.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/oembed/controller.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -171,7 +171,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertIsString( $url );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertIsArray( $args );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->oembed_result_filter_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->oembed_result_filter_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> return $data;
</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="trunktestsphpunittestspluggablesignaturesphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/pluggable/signatures.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/pluggable/signatures.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/pluggable/signatures.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -44,7 +44,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $name, $param_ref->getName(), $msg );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunktestsphpunittestspomopluralFormsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/pomo/pluralForms.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/pomo/pluralForms.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/pomo/pluralForms.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -21,7 +21,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> switch ( $char ) {
</span><span class="cx" style="display: block; padding: 0 10px"> case '?':
</span><span class="cx" style="display: block; padding: 0 10px"> $res .= ' ? (';
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $depth++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$depth;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> case ':':
</span><span class="cx" style="display: block; padding: 0 10px"> $res .= ') : (';
</span></span></pre></div>
<a id="trunktestsphpunittestspostgetPageByPathphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/post/getPageByPath.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/post/getPageByPath.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/post/getPageByPath.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -343,7 +343,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $found = get_page_by_path( 'foo', OBJECT, 'wptests_pt' );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $p2, $found->ID );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</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">@@ -373,7 +373,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $found = get_page_by_path( 'bar' );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $page, $found->ID );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</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="trunktestsphpunittestspostrevisionsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/post/revisions.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/post/revisions.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/post/revisions.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -736,7 +736,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">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $latest_revision_id++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$latest_revision_id;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -784,7 +784,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">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $latest_revision_id++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$latest_revision_id;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapirestattachmentscontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/rest-api/rest-attachments-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/rest-attachments-controller.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/rest-api/rest-attachments-controller.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1983,11 +1983,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"> public function filter_rest_insert_attachment( $attachment ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- self::$rest_insert_attachment_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++self::$rest_insert_attachment_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> public function filter_rest_after_insert_attachment( $attachment ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- self::$rest_after_insert_attachment_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++self::$rest_after_insert_attachment_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> /**
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapirestcategoriescontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/rest-api/rest-categories-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/rest-categories-controller.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/rest-api/rest-categories-controller.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -631,8 +631,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // 3rd page.
</span><span class="cx" style="display: block; padding: 0 10px"> self::factory()->category->create();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $total_categories++;
- $total_pages++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$total_categories;
+ ++$total_pages;
</ins><span class="cx" style="display: block; padding: 0 10px"> $request = new WP_REST_Request( 'GET', '/wp/v2/categories' );
</span><span class="cx" style="display: block; padding: 0 10px"> $request->set_param( 'page', 3 );
</span><span class="cx" style="display: block; padding: 0 10px"> $response = rest_get_server()->dispatch( $request );
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapirestcommentscontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/rest-api/rest-comments-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/rest-comments-controller.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/rest-api/rest-comments-controller.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -828,8 +828,8 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 'comment_post_ID' => self::$post_id,
</span><span class="cx" style="display: block; padding: 0 10px"> )
</span><span class="cx" style="display: block; padding: 0 10px"> );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $total_comments++;
- $total_pages++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$total_comments;
+ ++$total_pages;
</ins><span class="cx" style="display: block; padding: 0 10px"> $request = new WP_REST_Request( 'GET', '/wp/v2/comments' );
</span><span class="cx" style="display: block; padding: 0 10px"> $request->set_param( 'page', 3 );
</span><span class="cx" style="display: block; padding: 0 10px"> $response = rest_get_server()->dispatch( $request );
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapirestpostscontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1662,8 +1662,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // 3rd page.
</span><span class="cx" style="display: block; padding: 0 10px"> self::factory()->post->create();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $total_posts++;
- $total_pages++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$total_posts;
+ ++$total_pages;
</ins><span class="cx" style="display: block; padding: 0 10px"> $request = new WP_REST_Request( 'GET', '/wp/v2/posts' );
</span><span class="cx" style="display: block; padding: 0 10px"> $request->set_param( 'page', 3 );
</span><span class="cx" style="display: block; padding: 0 10px"> $response = rest_get_server()->dispatch( $request );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2279,7 +2279,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> public function test_prepare_item_filters_content_when_needed() {
</span><span class="cx" style="display: block; padding: 0 10px"> $filter_count = 0;
</span><span class="cx" style="display: block; padding: 0 10px"> $filter_content = static function() use ( &$filter_count ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $filter_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$filter_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> return '<p>Filtered content.</p>';
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px"> add_filter( 'the_content', $filter_content );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2315,7 +2315,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> public function test_prepare_item_skips_content_filter_if_not_needed() {
</span><span class="cx" style="display: block; padding: 0 10px"> $filter_count = 0;
</span><span class="cx" style="display: block; padding: 0 10px"> $filter_content = static function() use ( &$filter_count ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $filter_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$filter_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> return '<p>Filtered content.</p>';
</span><span class="cx" style="display: block; padding: 0 10px"> };
</span><span class="cx" style="display: block; padding: 0 10px"> add_filter( 'the_content', $filter_content );
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapirestsidebarscontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/rest-api/rest-sidebars-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/rest-sidebars-controller.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/rest-api/rest-sidebars-controller.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1012,7 +1012,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( isset( $item['_links'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> unset( $data[ $count ]['_links'] );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $data;
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapiresttagscontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/rest-api/rest-tags-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/rest-tags-controller.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/rest-api/rest-tags-controller.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -415,7 +415,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $i = 0;
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $tags as $tag ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $tag['name'], "Tag {$i}" );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $request = new WP_REST_Request( 'GET', '/wp/v2/tags' );
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -430,7 +430,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $tags as $tag ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $tag['name'], "Tag {$i}" );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -599,8 +599,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // 3rd page.
</span><span class="cx" style="display: block; padding: 0 10px"> self::factory()->tag->create();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $total_tags++;
- $total_pages++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$total_tags;
+ ++$total_pages;
</ins><span class="cx" style="display: block; padding: 0 10px"> $request = new WP_REST_Request( 'GET', '/wp/v2/tags' );
</span><span class="cx" style="display: block; padding: 0 10px"> $request->set_param( 'page', 3 );
</span><span class="cx" style="display: block; padding: 0 10px"> $response = rest_get_server()->dispatch( $request );
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapirestuserscontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/rest-api/rest-users-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/rest-users-controller.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/rest-api/rest-users-controller.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -339,8 +339,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // 3rd page.
</span><span class="cx" style="display: block; padding: 0 10px"> self::factory()->user->create();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $total_users++;
- $total_pages++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$total_users;
+ ++$total_pages;
</ins><span class="cx" style="display: block; padding: 0 10px"> $request = new WP_REST_Request( 'GET', '/wp/v2/users' );
</span><span class="cx" style="display: block; padding: 0 10px"> $request->set_param( 'page', 3 );
</span><span class="cx" style="display: block; padding: 0 10px"> $response = rest_get_server()->dispatch( $request );
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapirestwidgetscontrollerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/rest-api/rest-widgets-controller.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/rest-widgets-controller.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/rest-api/rest-widgets-controller.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -1551,7 +1551,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( is_array( $item ) && isset( $item['_links'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> unset( $data[ $count ]['_links'] );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> return $data;
</span></span></pre></div>
<a id="trunktestsphpunittestsrestapiwpRestMenuItemsControllerphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/rest-api/wpRestMenuItemsController.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/rest-api/wpRestMenuItemsController.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/rest-api/wpRestMenuItemsController.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -918,7 +918,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> foreach ( $taxonomies as $taxonomy ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $taxonomy->name, $links['https://api.w.org/term'][ $num ]['attributes']['taxonomy'] );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( add_query_arg( 'post', $data['id'], rest_url( 'wp/v2/' . $taxonomy->rest_base ) ), $links['https://api.w.org/term'][ $num ]['href'] );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 'post_type' === $data['type'] ) {
</span></span></pre></div>
<a id="trunktestsphpunitteststermcachephp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/term/cache.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/term/cache.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/term/cache.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -73,12 +73,12 @@
</span><span class="cx" style="display: block; padding: 0 10px"> case 2:
</span><span class="cx" style="display: block; padding: 0 10px"> $parent = wp_insert_term( 'Child' . $i, $tax, array( 'parent' => $parent_id ) );
</span><span class="cx" style="display: block; padding: 0 10px"> $parent_id = $parent['term_id'];
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $children++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$children;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</span><span class="cx" style="display: block; padding: 0 10px"> case 3:
</span><span class="cx" style="display: block; padding: 0 10px"> wp_insert_term( 'Grandchild' . $i, $tax, array( 'parent' => $parent_id ) );
</span><span class="cx" style="display: block; padding: 0 10px"> $parent_id = 0;
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $children++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$children;
</ins><span class="cx" style="display: block; padding: 0 10px"> break;
</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">@@ -93,7 +93,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> if ( 0 === ( $i % 3 ) ) {
</span><span class="cx" style="display: block; padding: 0 10px"> $step = 1;
</span><span class="cx" style="display: block; padding: 0 10px"> } else {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $step++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$step;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -418,7 +418,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $term_meta = get_term_meta( $term_id, 'foo', true );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $term_meta, 'bar' );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span></span></pre></div>
<a id="trunktestsphpunitteststermgetTermphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/term/getTerm.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/term/getTerm.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/term/getTerm.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -233,7 +233,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Database should be hit again.
</span><span class="cx" style="display: block; padding: 0 10px"> $found = get_term( $terms[1]['term_id'], 'wptests_tax_2' );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertInstanceOf( 'WP_Term', $found );
</span></span></pre></div>
<a id="trunktestsphpunitteststermmetaphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/term/meta.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/term/meta.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/term/meta.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -139,7 +139,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // First request will hit the database.
</span><span class="cx" style="display: block; padding: 0 10px"> $num_queries = get_num_queries();
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( 'bar', get_term_meta( $terms[0], 'foo', true ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Second and third requests should be in cache.
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -148,7 +148,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> // Querying a term not primed should result in a hit.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( 'bar', get_term_meta( $orphan_term, 'foo', true ) );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -208,11 +208,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> // Requests will hit the database.
</span><span class="cx" style="display: block; padding: 0 10px"> $num_queries = get_num_queries();
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( 'bar', get_term_meta( $terms[0], 'foo', true ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( 'bar', get_term_meta( $terms[1], 'foo', true ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $num_queries++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$num_queries;
</ins><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $num_queries, get_num_queries() );
</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="trunktestsphpunitteststhemewpThemeJsonResolverphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/theme/wpThemeJsonResolver.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -393,7 +393,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $expected_filter_count = did_filter( 'wp_theme_json_data_default' );
</span><span class="cx" style="display: block; padding: 0 10px"> $actual = WP_Theme_JSON_Resolver::get_core_data();
</span><span class="cx" style="display: block; padding: 0 10px"> if ( $should_fire_filter ) {
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $expected_filter_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$expected_filter_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $expected_filter_count, did_filter( 'wp_theme_json_data_default' ), 'The filter "wp_theme_json_data_default" should fire the given number of times' );
</span></span></pre></div>
<a id="trunktestsphpunittestsurlphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/url.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/url.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/url.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -339,7 +339,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $http_links[ $i ], set_url_scheme( $link, 'login' ) );
</span><span class="cx" style="display: block; padding: 0 10px"> $this->assertSame( $http_links[ $i ], set_url_scheme( $link, 'rpc' ) );
</span><span class="cx" style="display: block; padding: 0 10px">
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $i++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$i;
</ins><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span><span class="cx" style="display: block; padding: 0 10px"> force_ssl_admin( $forced_admin );
</span></span></pre></div>
<a id="trunktestsphpunittestswidgetswpWidgetTextphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: trunk/tests/phpunit/tests/widgets/wpWidgetText.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- trunk/tests/phpunit/tests/widgets/wpWidgetText.php 2023-09-08 10:01:14 UTC (rev 56548)
+++ trunk/tests/phpunit/tests/widgets/wpWidgetText.php 2023-09-09 09:26:01 UTC (rev 56549)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -303,7 +303,7 @@
</span><span class="cx" style="display: block; padding: 0 10px"> */
</span><span class="cx" style="display: block; padding: 0 10px"> public function do_example_shortcode() {
</span><span class="cx" style="display: block; padding: 0 10px"> $this->post_during_shortcode = get_post();
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">- $this->shortcode_render_count++;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ ++$this->shortcode_render_count;
</ins><span class="cx" style="display: block; padding: 0 10px"> return $this->example_shortcode_content;
</span><span class="cx" style="display: block; padding: 0 10px"> }
</span><span class="cx" style="display: block; padding: 0 10px">
</span></span></pre>
</div>
</div>
</body>
</html>