<!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>[43819] branches/5.0: php7.3 compatibility: Fix compact throwing notices</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/43819">43819</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/43819","name":"Review Commit"}}</script></dd>
<dt style="float: left; width: 6em; font-weight: bold">Author</dt> <dd>jorbin</dd>
<dt style="float: left; width: 6em; font-weight: bold">Date</dt> <dd>2018-10-24 16:32:29 +0000 (Wed, 24 Oct 2018)</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'>php7.3 compatibility: Fix compact throwing notices

In PHP 7.3, the compact() function has been changed to issue an E_NOTICE level error if a passed string refers to an unset variable. In previous versions of PHP, this notice was silently skipped. The full RFC can be viewed here: https://wiki.php.net/rfc/compact

This fixes all unit tested code that uses compact.

Props desrosj.
Fixes <a href="https://core.trac.wordpress.org/ticket/44416">#44416</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#branches50srcwpincludesclasswpcommentqueryphp">branches/5.0/src/wp-includes/class-wp-comment-query.php</a></li>
<li><a href="#branches50srcwpincludesclasswpxmlrpcserverphp">branches/5.0/src/wp-includes/class-wp-xmlrpc-server.php</a></li>
<li><a href="#branches50srcwpincludescommentphp">branches/5.0/src/wp-includes/comment.php</a></li>
<li><a href="#branches50srcwpincludespostphp">branches/5.0/src/wp-includes/post.php</a></li>
<li><a href="#branches50testsphpunittestsdependenciesscriptsphp">branches/5.0/tests/phpunit/tests/dependencies/scripts.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="branches50srcwpincludesclasswpcommentqueryphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.0/src/wp-includes/class-wp-comment-query.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.0/src/wp-includes/class-wp-comment-query.php   2018-10-24 11:47:56 UTC (rev 43818)
+++ branches/5.0/src/wp-includes/class-wp-comment-query.php     2018-10-24 16:32:29 UTC (rev 43819)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -633,6 +633,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $number = absint( $this->query_vars['number'] );
</span><span class="cx" style="display: block; padding: 0 10px">                $offset = absint( $this->query_vars['offset'] );
</span><span class="cx" style="display: block; padding: 0 10px">                $paged = absint( $this->query_vars['paged'] );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                $limits = '';
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                if ( ! empty( $number ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        if ( $offset ) {
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -817,7 +818,8 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $this->sql_clauses['where']['post_author__not_in'] = 'post_author NOT IN ( ' . implode( ',', wp_parse_id_list( $this->query_vars['post_author__not_in'] ) ) . ' )';
</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">-                $join = '';
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $join    = '';
+               $groupby = '';
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                if ( $join_posts_table ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        $join .= "JOIN $wpdb->posts ON $wpdb->posts.ID = $wpdb->comments.comment_post_ID";
</span></span></pre></div>
<a id="branches50srcwpincludesclasswpxmlrpcserverphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.0/src/wp-includes/class-wp-xmlrpc-server.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.0/src/wp-includes/class-wp-xmlrpc-server.php   2018-10-24 11:47:56 UTC (rev 43818)
+++ branches/5.0/src/wp-includes/class-wp-xmlrpc-server.php     2018-10-24 16:32:29 UTC (rev 43819)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3517,7 +3517,11 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                /** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
</span><span class="cx" style="display: block; padding: 0 10px">                do_action( 'xmlrpc_call', 'wp.editComment' );
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                $comment = array(
+                       'comment_ID' => $comment_ID,
+               );
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
</ins><span class="cx" style="display: block; padding: 0 10px">                 if ( isset($content_struct['status']) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        $statuses = get_comment_statuses();
</span><span class="cx" style="display: block; padding: 0 10px">                        $statuses = array_keys($statuses);
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3524,32 +3528,34 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                        if ( ! in_array($content_struct['status'], $statuses) )
</span><span class="cx" style="display: block; padding: 0 10px">                                return new IXR_Error( 401, __( 'Invalid comment status.' ) );
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $comment_approved = $content_struct['status'];
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                         $comment['comment_approved'] = $content_struct['status'];
</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">                // Do some timestamp voodoo
</span><span class="cx" style="display: block; padding: 0 10px">                if ( !empty( $content_struct['date_created_gmt'] ) ) {
</span><span class="cx" style="display: block; padding: 0 10px">                        // We know this is supposed to be GMT, so we're going to slap that Z on there by force
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                        $dateCreated = rtrim( $content_struct['date_created_gmt']->getIso(), 'Z' ) . 'Z';
-                       $comment_date = get_date_from_gmt(iso8601_to_datetime($dateCreated));
-                       $comment_date_gmt = iso8601_to_datetime($dateCreated, 'GMT');
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+
+                       $dateCreated                 = rtrim( $content_struct['date_created_gmt']->getIso(), 'Z' ) . 'Z';
+                       $comment['comment_date']     = get_date_from_gmt( iso8601_to_datetime( $dateCreated ) );
+                       $comment['comment_date_gmt'] = iso8601_to_datetime( $dateCreated, 'GMT' );
</ins><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">-                if ( isset($content_struct['content']) )
-                       $comment_content = $content_struct['content'];
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         if ( isset($content_struct['content']) ) {
+                       $comment['comment_content'] = $content_struct['content'];
+               }
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                if ( isset($content_struct['author']) )
-                       $comment_author = $content_struct['author'];
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         if ( isset($content_struct['author']) ) {
+                       $comment['comment_author'] = $content_struct['author'];
+               }
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                if ( isset($content_struct['author_url']) )
-                       $comment_author_url = $content_struct['author_url'];
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         if ( isset($content_struct['author_url']) ) {
+                       $comment['comment_author_url'] = $content_struct['author_url'];
+               }
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                if ( isset($content_struct['author_email']) )
-                       $comment_author_email = $content_struct['author_email'];
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         if ( isset($content_struct['author_email']) ) {
+                       $comment['comment_author_email'] = $content_struct['author_email'];
+               }
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                // We've got all the data -- post it:
-               $comment = compact('comment_ID', 'comment_content', 'comment_approved', 'comment_date', 'comment_date_gmt', 'comment_author', 'comment_author_email', 'comment_author_url');
-
</del><span class="cx" style="display: block; padding: 0 10px">                 $result = wp_update_comment($comment);
</span><span class="cx" style="display: block; padding: 0 10px">                if ( is_wp_error( $result ) )
</span><span class="cx" style="display: block; padding: 0 10px">                        return new IXR_Error(500, $result->get_error_message());
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -4989,16 +4995,25 @@
</span><span class="cx" style="display: block; padding: 0 10px">                        $post_name = $content_struct['wp_slug'];
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                // Only use a password if one was given.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                if ( isset($content_struct['wp_password']) )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         if ( isset($content_struct['wp_password']) ) {
</ins><span class="cx" style="display: block; padding: 0 10px">                         $post_password = $content_struct['wp_password'];
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                } else {
+                       $post_password = '';
+               }
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                // Only set a post parent if one was provided.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                if ( isset($content_struct['wp_page_parent_id']) )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         if ( isset($content_struct['wp_page_parent_id']) ) {
</ins><span class="cx" style="display: block; padding: 0 10px">                         $post_parent = $content_struct['wp_page_parent_id'];
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                } else {
+                       $post_parent = 0;
+               }
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                // Only set the menu_order if it was provided.
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                if ( isset($content_struct['wp_page_order']) )
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         if ( isset($content_struct['wp_page_order']) ) {
</ins><span class="cx" style="display: block; padding: 0 10px">                         $menu_order = $content_struct['wp_page_order'];
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                } else {
+                       $menu_order = 0;
+               }
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $post_author = $user->ID;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -5308,14 +5323,16 @@
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                $this->escape($postdata);
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-                $ID = $postdata['ID'];
-               $post_content = $postdata['post_content'];
-               $post_title = $postdata['post_title'];
-               $post_excerpt = $postdata['post_excerpt'];
-               $post_password = $postdata['post_password'];
-               $post_parent = $postdata['post_parent'];
-               $post_type = $postdata['post_type'];
-               $menu_order = $postdata['menu_order'];
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                 $ID             = $postdata['ID'];
+               $post_content   = $postdata['post_content'];
+               $post_title     = $postdata['post_title'];
+               $post_excerpt   = $postdata['post_excerpt'];
+               $post_password  = $postdata['post_password'];
+               $post_parent    = $postdata['post_parent'];
+               $post_type      = $postdata['post_type'];
+               $menu_order     = $postdata['menu_order'];
+               $ping_status    = $postdata['ping_status'];
+               $comment_status = $postdata['comment_status'];
</ins><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">                // Let WordPress manage slug if none was provided.
</span><span class="cx" style="display: block; padding: 0 10px">                $post_name = $postdata['post_name'];
</span></span></pre></div>
<a id="branches50srcwpincludescommentphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.0/src/wp-includes/comment.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.0/src/wp-includes/comment.php  2018-10-24 11:47:56 UTC (rev 43818)
+++ branches/5.0/src/wp-includes/comment.php    2018-10-24 16:32:29 UTC (rev 43819)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -2965,7 +2965,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">  */
</span><span class="cx" style="display: block; padding: 0 10px"> function wp_handle_comment_submission( $comment_data ) {
</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_post_ID = $comment_parent = 0;
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+         $comment_post_ID = $comment_parent = $user_ID = 0;
</ins><span class="cx" style="display: block; padding: 0 10px">         $comment_author = $comment_author_email = $comment_author_url = $comment_content = null;
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><span class="cx" style="display: block; padding: 0 10px">        if ( isset( $comment_data['comment_post_ID'] ) ) {
</span></span></pre></div>
<a id="branches50srcwpincludespostphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.0/src/wp-includes/post.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.0/src/wp-includes/post.php     2018-10-24 11:47:56 UTC (rev 43818)
+++ branches/5.0/src/wp-includes/post.php       2018-10-24 16:32:29 UTC (rev 43819)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3415,6 +3415,13 @@
</span><span class="cx" style="display: block; padding: 0 10px">                $post_parent = 0;
</span><span class="cx" style="display: block; padding: 0 10px">        }
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+        $new_postarr = array_merge(
+               array(
+                       'ID' => $post_ID,
+               ),
+               compact( array_diff( array_keys( $defaults ), array( 'context', 'filter' ) ) )
+       );
+
</ins><span class="cx" style="display: block; padding: 0 10px">         /**
</span><span class="cx" style="display: block; padding: 0 10px">         * Filters the post parent -- used to check for and prevent hierarchy loops.
</span><span class="cx" style="display: block; padding: 0 10px">         *
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -3425,7 +3432,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">         * @param array $new_postarr Array of parsed post data.
</span><span class="cx" style="display: block; padding: 0 10px">         * @param array $postarr     Array of sanitized, but otherwise unmodified post data.
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><del style="background-color: #fdd; text-decoration:none; display:block; padding: 0 10px">-        $post_parent = apply_filters( 'wp_insert_post_parent', $post_parent, $post_ID, compact( array_keys( $postarr ) ), $postarr );
</del><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+ $post_parent = apply_filters( 'wp_insert_post_parent', $post_parent, $post_ID, $new_postarr, $postarr );
</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 the post is being untrashed and it has a desired slug stored in post meta,
</span></span></pre></div>
<a id="branches50testsphpunittestsdependenciesscriptsphp"></a>
<div class="modfile"><h4 style="background-color: #eee; color: inherit; margin: 1em 0; padding: 1.3em; font-size: 115%">Modified: branches/5.0/tests/phpunit/tests/dependencies/scripts.php</h4>
<pre class="diff"><span>
<span class="info" style="display: block; padding: 0 10px; color: #888">--- branches/5.0/tests/phpunit/tests/dependencies/scripts.php 2018-10-24 11:47:56 UTC (rev 43818)
+++ branches/5.0/tests/phpunit/tests/dependencies/scripts.php   2018-10-24 16:32:29 UTC (rev 43819)
</span><span class="lines" style="display: block; padding: 0 10px; color: #888">@@ -861,6 +861,7 @@
</span><span class="cx" style="display: block; padding: 0 10px">         * @covers wp_enqueue_code_editor()
</span><span class="cx" style="display: block; padding: 0 10px">         */
</span><span class="cx" style="display: block; padding: 0 10px">        public function test_wp_enqueue_code_editor_when_generated_array_by_compact_will_be_passed() {
</span><ins style="background-color: #dfd; text-decoration:none; display:block; padding: 0 10px">+                $file                   = '';
</ins><span class="cx" style="display: block; padding: 0 10px">                 $wp_enqueue_code_editor = wp_enqueue_code_editor( compact( 'file' ) );
</span><span class="cx" style="display: block; padding: 0 10px">                $this->assertNonEmptyMultidimensionalArray( $wp_enqueue_code_editor );
</span><span class="cx" style="display: block; padding: 0 10px"> 
</span></span></pre>
</div>
</div>

</body>
</html>