/www/utestlab_588/public/wp-content/themes/utestlab/app/theme/posts/post.php
* register fields for works post type
*
*/
function register_fields()
{
Container::make('post_meta', __('Post', 'crb'))
->where('post_type', '=', 'post')
->set_context('side')
->set_priority( 'high' )
->add_fields(array(
// Field::make("multiselect", "posts_posts", "Posts")
// ->add_options('get_post_types_posts'),
)
);
}
function comment_form_defaults($fields) {
$fields['logged_in_as'] = str_replace( "logged-in-as", "logged-in-as wp-block-column ", $fields['logged_in_as'] );
$fields = str_replace( "comment-notes", "comment-notes wp-block-column ", $fields );
$fields = str_replace( "form-submit", "wp-block-column form-submit ", $fields );
$fields['class_form'] .= ' wp-block-columns';
$replace_comment = 'Comment *';
$fields['comment_field'] = '<p class="comment-form-comment wp-block-column has-flex-basis-100"><textarea id="comment" class="form-control" name="comment" cols="45" rows="8" placeholder="'.$replace_comment.'" aria-required="true"></textarea></p>';
$fields['title_reply_before'] = '<span id="reply-title" class="h3 comment-reply-title">';
$fields['title_reply_after'] = '</span>';
return $fields;
}
function comment_form_default_fields( $fields ) {
$fields = array(
'author' => '<p class="comment-form-author wp-block-column has-flex-basis-md-50 has-flex-basis-100">' .
'<input id="author" class="form-control" name="author" placeholder="Name *" type="text" value="" size="30" maxlength="245" /></p>',
'email' => '<p class="comment-form-email wp-block-column has-flex-basis-md-50 has-flex-basis-100">' .
'<input id="email" class="form-control" name="email" value="" placeholder="Email *" size="30" maxlength="100" aria-describedby="email-notes" /></p>',
'url' => '<p class="comment-form-url wp-block-column has-flex-basis-100">' .
'<input id="url" class="form-control" name="url" placeholder="Website" value="" size="30" maxlength="200" /></p>',
Arguments
"Array to string conversion (View: /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php) (View: /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php) (View: /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php)"
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
Arguments
Illuminate\View\ViewException {#9453
#message: "Array to string conversion (View: /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php) (View: /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php)"
#code: 0
#file: "/www/utestlab_588/public/wp-content/themes/utestlab/app/theme/posts/post.php"
#line: 130
-previous: Illuminate\View\ViewException {#9443
#message: "Array to string conversion (View: /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php)"
#code: 0
#file: "/www/utestlab_588/public/wp-content/themes/utestlab/app/theme/posts/post.php"
#line: 130
-previous: ErrorException {#9441
#message: "Array to string conversion"
#code: 0
#file: "/www/utestlab_588/public/wp-content/themes/utestlab/app/theme/posts/post.php"
#line: 130
#severity: E_WARNING
}
#severity: E_ERROR
}
#severity: E_ERROR
}
2
/www/utestlab_588/public/wp-content/themes/utestlab/app/theme/posts/post.php
* register fields for works post type
*
*/
function register_fields()
{
Container::make('post_meta', __('Post', 'crb'))
->where('post_type', '=', 'post')
->set_context('side')
->set_priority( 'high' )
->add_fields(array(
// Field::make("multiselect", "posts_posts", "Posts")
// ->add_options('get_post_types_posts'),
)
);
}
function comment_form_defaults($fields) {
$fields['logged_in_as'] = str_replace( "logged-in-as", "logged-in-as wp-block-column ", $fields['logged_in_as'] );
$fields = str_replace( "comment-notes", "comment-notes wp-block-column ", $fields );
$fields = str_replace( "form-submit", "wp-block-column form-submit ", $fields );
$fields['class_form'] .= ' wp-block-columns';
$replace_comment = 'Comment *';
$fields['comment_field'] = '<p class="comment-form-comment wp-block-column has-flex-basis-100"><textarea id="comment" class="form-control" name="comment" cols="45" rows="8" placeholder="'.$replace_comment.'" aria-required="true"></textarea></p>';
$fields['title_reply_before'] = '<span id="reply-title" class="h3 comment-reply-title">';
$fields['title_reply_after'] = '</span>';
return $fields;
}
function comment_form_default_fields( $fields ) {
$fields = array(
'author' => '<p class="comment-form-author wp-block-column has-flex-basis-md-50 has-flex-basis-100">' .
'<input id="author" class="form-control" name="author" placeholder="Name *" type="text" value="" size="30" maxlength="245" /></p>',
'email' => '<p class="comment-form-email wp-block-column has-flex-basis-md-50 has-flex-basis-100">' .
'<input id="email" class="form-control" name="email" value="" placeholder="Email *" size="30" maxlength="100" aria-describedby="email-notes" /></p>',
'url' => '<p class="comment-form-url wp-block-column has-flex-basis-100">' .
'<input id="url" class="form-control" name="url" placeholder="Website" value="" size="30" maxlength="200" /></p>',
Arguments
"Array to string conversion (View: /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php) (View: /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php)"
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
Arguments
Illuminate\View\ViewException {#9443
#message: "Array to string conversion (View: /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php)"
#code: 0
#file: "/www/utestlab_588/public/wp-content/themes/utestlab/app/theme/posts/post.php"
#line: 130
-previous: ErrorException {#9441
#message: "Array to string conversion"
#code: 0
#file: "/www/utestlab_588/public/wp-content/themes/utestlab/app/theme/posts/post.php"
#line: 130
#severity: E_WARNING
}
#severity: E_ERROR
}
4
/www/utestlab_588/public/wp-content/themes/utestlab/app/theme/posts/post.php
* register fields for works post type
*
*/
function register_fields()
{
Container::make('post_meta', __('Post', 'crb'))
->where('post_type', '=', 'post')
->set_context('side')
->set_priority( 'high' )
->add_fields(array(
// Field::make("multiselect", "posts_posts", "Posts")
// ->add_options('get_post_types_posts'),
)
);
}
function comment_form_defaults($fields) {
$fields['logged_in_as'] = str_replace( "logged-in-as", "logged-in-as wp-block-column ", $fields['logged_in_as'] );
$fields = str_replace( "comment-notes", "comment-notes wp-block-column ", $fields );
$fields = str_replace( "form-submit", "wp-block-column form-submit ", $fields );
$fields['class_form'] .= ' wp-block-columns';
$replace_comment = 'Comment *';
$fields['comment_field'] = '<p class="comment-form-comment wp-block-column has-flex-basis-100"><textarea id="comment" class="form-control" name="comment" cols="45" rows="8" placeholder="'.$replace_comment.'" aria-required="true"></textarea></p>';
$fields['title_reply_before'] = '<span id="reply-title" class="h3 comment-reply-title">';
$fields['title_reply_after'] = '</span>';
return $fields;
}
function comment_form_default_fields( $fields ) {
$fields = array(
'author' => '<p class="comment-form-author wp-block-column has-flex-basis-md-50 has-flex-basis-100">' .
'<input id="author" class="form-control" name="author" placeholder="Name *" type="text" value="" size="30" maxlength="245" /></p>',
'email' => '<p class="comment-form-email wp-block-column has-flex-basis-md-50 has-flex-basis-100">' .
'<input id="email" class="form-control" name="email" value="" placeholder="Email *" size="30" maxlength="100" aria-describedby="email-notes" /></p>',
'url' => '<p class="comment-form-url wp-block-column has-flex-basis-100">' .
'<input id="url" class="form-control" name="url" placeholder="Website" value="" size="30" maxlength="200" /></p>',
Arguments
"Array to string conversion (View: /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php)"
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/Engines/PhpEngine.php
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
}
Arguments
ErrorException {#9441
#message: "Array to string conversion"
#code: 0
#file: "/www/utestlab_588/public/wp-content/themes/utestlab/app/theme/posts/post.php"
#line: 130
#severity: E_WARNING
}
5
/www/utestlab_588/public/wp-content/themes/utestlab/app/theme/posts/post.php
* register fields for works post type
*
*/
function register_fields()
{
Container::make('post_meta', __('Post', 'crb'))
->where('post_type', '=', 'post')
->set_context('side')
->set_priority( 'high' )
->add_fields(array(
// Field::make("multiselect", "posts_posts", "Posts")
// ->add_options('get_post_types_posts'),
)
);
}
function comment_form_defaults($fields) {
$fields['logged_in_as'] = str_replace( "logged-in-as", "logged-in-as wp-block-column ", $fields['logged_in_as'] );
$fields = str_replace( "comment-notes", "comment-notes wp-block-column ", $fields );
$fields = str_replace( "form-submit", "wp-block-column form-submit ", $fields );
$fields['class_form'] .= ' wp-block-columns';
$replace_comment = 'Comment *';
$fields['comment_field'] = '<p class="comment-form-comment wp-block-column has-flex-basis-100"><textarea id="comment" class="form-control" name="comment" cols="45" rows="8" placeholder="'.$replace_comment.'" aria-required="true"></textarea></p>';
$fields['title_reply_before'] = '<span id="reply-title" class="h3 comment-reply-title">';
$fields['title_reply_after'] = '</span>';
return $fields;
}
function comment_form_default_fields( $fields ) {
$fields = array(
'author' => '<p class="comment-form-author wp-block-column has-flex-basis-md-50 has-flex-basis-100">' .
'<input id="author" class="form-control" name="author" placeholder="Name *" type="text" value="" size="30" maxlength="245" /></p>',
'email' => '<p class="comment-form-email wp-block-column has-flex-basis-md-50 has-flex-basis-100">' .
'<input id="email" class="form-control" name="email" value="" placeholder="Email *" size="30" maxlength="100" aria-describedby="email-notes" /></p>',
'url' => '<p class="comment-form-url wp-block-column has-flex-basis-100">' .
'<input id="url" class="form-control" name="url" placeholder="Website" value="" size="30" maxlength="200" /></p>',
Arguments
"Array to string conversion"
/www/utestlab_588/public/wp-content/themes/utestlab/app/theme/posts/post.php
* register fields for works post type
*
*/
function register_fields()
{
Container::make('post_meta', __('Post', 'crb'))
->where('post_type', '=', 'post')
->set_context('side')
->set_priority( 'high' )
->add_fields(array(
// Field::make("multiselect", "posts_posts", "Posts")
// ->add_options('get_post_types_posts'),
)
);
}
function comment_form_defaults($fields) {
$fields['logged_in_as'] = str_replace( "logged-in-as", "logged-in-as wp-block-column ", $fields['logged_in_as'] );
$fields = str_replace( "comment-notes", "comment-notes wp-block-column ", $fields );
$fields = str_replace( "form-submit", "wp-block-column form-submit ", $fields );
$fields['class_form'] .= ' wp-block-columns';
$replace_comment = 'Comment *';
$fields['comment_field'] = '<p class="comment-form-comment wp-block-column has-flex-basis-100"><textarea id="comment" class="form-control" name="comment" cols="45" rows="8" placeholder="'.$replace_comment.'" aria-required="true"></textarea></p>';
$fields['title_reply_before'] = '<span id="reply-title" class="h3 comment-reply-title">';
$fields['title_reply_after'] = '</span>';
return $fields;
}
function comment_form_default_fields( $fields ) {
$fields = array(
'author' => '<p class="comment-form-author wp-block-column has-flex-basis-md-50 has-flex-basis-100">' .
'<input id="author" class="form-control" name="author" placeholder="Name *" type="text" value="" size="30" maxlength="245" /></p>',
'email' => '<p class="comment-form-email wp-block-column has-flex-basis-md-50 has-flex-basis-100">' .
'<input id="email" class="form-control" name="email" value="" placeholder="Email *" size="30" maxlength="100" aria-describedby="email-notes" /></p>',
'url' => '<p class="comment-form-url wp-block-column has-flex-basis-100">' .
'<input id="url" class="form-control" name="url" placeholder="Website" value="" size="30" maxlength="200" /></p>',
Arguments
"comment-notes"
"comment-notes wp-block-column "
array:24 [
"fields" => array:5 [
"author" => "<p class="comment-form-author wp-block-column has-flex-basis-md-50 has-flex-basis-100"><input id="author" class="form-control" name="author" placeholder="Name *" type="text" value="" size="30" maxlength="245" /></p>"
"email" => "<p class="comment-form-email wp-block-column has-flex-basis-md-50 has-flex-basis-100"><input id="email" class="form-control" name="email" value="" placeholder="Email *" size="30" maxlength="100" aria-describedby="email-notes" /></p>"
"url" => "<p class="comment-form-url wp-block-column has-flex-basis-100"><input id="url" class="form-control" name="url" placeholder="Website" value="" size="30" maxlength="200" /></p>"
"notify_me" => """
<p class="comment-notify-me with-checkbox wp-block-column has-flex-basis-100">\n
<input id="wp-comment-notify-me" class="form-check-input" name="wp-comment-notify-me" type="checkbox" value="yes">\n
<label for="wp-comment-notify-me">Notify me of follow-up comments by email.</label>\n
</p>
"""
"notify_me_new" => """
<p class="comment-notify-me-new with-checkbox wp-block-column has-flex-basis-100">\n
<input id="wp-comment-notify-me-new" class="form-check-input" name="wp-comment-notify-me-new" type="checkbox" value="yes">\n
<label for="wp-comment-notify-me-new">Notfy me of follow-up comments by email.</label>\n
</p>
"""
]
"comment_field" => "<p class="comment-form-comment"><label for="comment">Comment <span class="required">*</span></label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" required></textarea></p>"
"must_log_in" => "<p class="must-log-in">You must be <a href="https://utestlab.com/wp-login.php?redirect_to=%2Fhello-world%2F">logged in</a> to post a comment.</p>"
"logged_in_as" => "<p class="logged-in-as wp-block-column ">Logged in as . <a href="">Edit your profile</a>. <a href="https://utestlab.com/wp-login.php?action=logout&redirect_to=%2Fhello-world%2F&_wpnonce=9d9a979cf3">Log out?</a> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p>"
"comment_notes_before" => "<p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p>"
"comment_notes_after" => ""
"action" => "https://utestlab.com/wp-comments-post.php"
"id_form" => "commentform"
"id_submit" => "submit"
"class_container" => "comment-respond"
"class_form" => "comment-form"
"class_submit" => "submit"
"name_submit" => "submit"
"title_reply" => "Leave a Reply"
"title_reply_to" => "Leave a Reply to %s"
"title_reply_before" => "<h3 id="reply-title" class="comment-reply-title">"
"title_reply_after" => "</h3>"
"cancel_reply_before" => " <small>"
"cancel_reply_after" => "</small>"
"cancel_reply_link" => "Cancel reply"
"label_submit" => "Post Comment"
"submit_button" => "<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />"
"submit_field" => "<p class="form-submit">%1$s %2$s</p>"
"format" => "xhtml"
]
/www/utestlab_588/public/wp-includes/class-wp-hook.php
$this->iterations[ $nesting_level ] = $this->priorities;
$num_args = count( $args );
do {
$this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
$priority = $this->current_priority[ $nesting_level ];
foreach ( $this->callbacks[ $priority ] as $the_ ) {
if ( ! $this->doing_action ) {
$args[0] = $value;
}
// Avoid the array_slice() if possible.
if ( 0 === $the_['accepted_args'] ) {
$value = call_user_func( $the_['function'] );
} elseif ( $the_['accepted_args'] >= $num_args ) {
$value = call_user_func_array( $the_['function'], $args );
} else {
$value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
}
}
} while ( false !== next( $this->iterations[ $nesting_level ] ) );
unset( $this->iterations[ $nesting_level ] );
unset( $this->current_priority[ $nesting_level ] );
--$this->nesting_level;
return $value;
}
/**
* Calls the callback functions that have been added to an action hook.
*
* @since 4.7.0
*
* @param array $args Parameters to pass to the callback functions.
Arguments
array:24 [
"fields" => array:5 [
"author" => "<p class="comment-form-author wp-block-column has-flex-basis-md-50 has-flex-basis-100"><input id="author" class="form-control" name="author" placeholder="Name *" type="text" value="" size="30" maxlength="245" /></p>"
"email" => "<p class="comment-form-email wp-block-column has-flex-basis-md-50 has-flex-basis-100"><input id="email" class="form-control" name="email" value="" placeholder="Email *" size="30" maxlength="100" aria-describedby="email-notes" /></p>"
"url" => "<p class="comment-form-url wp-block-column has-flex-basis-100"><input id="url" class="form-control" name="url" placeholder="Website" value="" size="30" maxlength="200" /></p>"
"notify_me" => """
<p class="comment-notify-me with-checkbox wp-block-column has-flex-basis-100">\n
<input id="wp-comment-notify-me" class="form-check-input" name="wp-comment-notify-me" type="checkbox" value="yes">\n
<label for="wp-comment-notify-me">Notify me of follow-up comments by email.</label>\n
</p>
"""
"notify_me_new" => """
<p class="comment-notify-me-new with-checkbox wp-block-column has-flex-basis-100">\n
<input id="wp-comment-notify-me-new" class="form-check-input" name="wp-comment-notify-me-new" type="checkbox" value="yes">\n
<label for="wp-comment-notify-me-new">Notfy me of follow-up comments by email.</label>\n
</p>
"""
]
"comment_field" => "<p class="comment-form-comment"><label for="comment">Comment <span class="required">*</span></label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" required></textarea></p>"
"must_log_in" => "<p class="must-log-in">You must be <a href="https://utestlab.com/wp-login.php?redirect_to=%2Fhello-world%2F">logged in</a> to post a comment.</p>"
"logged_in_as" => "<p class="logged-in-as wp-block-column ">Logged in as . <a href="">Edit your profile</a>. <a href="https://utestlab.com/wp-login.php?action=logout&redirect_to=%2Fhello-world%2F&_wpnonce=9d9a979cf3">Log out?</a> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p>"
"comment_notes_before" => "<p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p>"
"comment_notes_after" => ""
"action" => "https://utestlab.com/wp-comments-post.php"
"id_form" => "commentform"
"id_submit" => "submit"
"class_container" => "comment-respond"
"class_form" => "comment-form"
"class_submit" => "submit"
"name_submit" => "submit"
"title_reply" => "Leave a Reply"
"title_reply_to" => "Leave a Reply to %s"
"title_reply_before" => "<h3 id="reply-title" class="comment-reply-title">"
"title_reply_after" => "</h3>"
"cancel_reply_before" => " <small>"
"cancel_reply_after" => "</small>"
"cancel_reply_link" => "Cancel reply"
"label_submit" => "Post Comment"
"submit_button" => "<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />"
"submit_field" => "<p class="form-submit">%1$s %2$s</p>"
"format" => "xhtml"
]
/www/utestlab_588/public/wp-includes/plugin.php
$all_args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
_wp_call_all_hook( $all_args );
}
if ( ! isset( $wp_filter[ $hook_name ] ) ) {
if ( isset( $wp_filter['all'] ) ) {
array_pop( $wp_current_filter );
}
return $value;
}
if ( ! isset( $wp_filter['all'] ) ) {
$wp_current_filter[] = $hook_name;
}
// Pass the value to WP_Hook.
array_unshift( $args, $value );
$filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
array_pop( $wp_current_filter );
return $filtered;
}
/**
* Calls the callback functions that have been added to a filter hook, specifying arguments in an array.
*
* @since 3.0.0
*
* @see apply_filters() This function is identical, but the arguments passed to the
* functions hooked to `$hook_name` are supplied using an array.
*
* @global WP_Hook[] $wp_filter Stores all of the filters and actions.
* @global int[] $wp_filters Stores the number of times each filter was triggered.
* @global string[] $wp_current_filter Stores the list of current filters with the current one last.
*
* @param string $hook_name The name of the filter hook.
* @param array $args The arguments supplied to the functions hooked to `$hook_name`.
Arguments
array:24 [
"fields" => array:5 [
"author" => "<p class="comment-form-author wp-block-column has-flex-basis-md-50 has-flex-basis-100"><input id="author" class="form-control" name="author" placeholder="Name *" type="text" value="" size="30" maxlength="245" /></p>"
"email" => "<p class="comment-form-email wp-block-column has-flex-basis-md-50 has-flex-basis-100"><input id="email" class="form-control" name="email" value="" placeholder="Email *" size="30" maxlength="100" aria-describedby="email-notes" /></p>"
"url" => "<p class="comment-form-url wp-block-column has-flex-basis-100"><input id="url" class="form-control" name="url" placeholder="Website" value="" size="30" maxlength="200" /></p>"
"notify_me" => """
<p class="comment-notify-me with-checkbox wp-block-column has-flex-basis-100">\n
<input id="wp-comment-notify-me" class="form-check-input" name="wp-comment-notify-me" type="checkbox" value="yes">\n
<label for="wp-comment-notify-me">Notify me of follow-up comments by email.</label>\n
</p>
"""
"notify_me_new" => """
<p class="comment-notify-me-new with-checkbox wp-block-column has-flex-basis-100">\n
<input id="wp-comment-notify-me-new" class="form-check-input" name="wp-comment-notify-me-new" type="checkbox" value="yes">\n
<label for="wp-comment-notify-me-new">Notfy me of follow-up comments by email.</label>\n
</p>
"""
]
"comment_field" => "<p class="comment-form-comment"><label for="comment">Comment <span class="required">*</span></label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" required></textarea></p>"
"must_log_in" => "<p class="must-log-in">You must be <a href="https://utestlab.com/wp-login.php?redirect_to=%2Fhello-world%2F">logged in</a> to post a comment.</p>"
"logged_in_as" => "<p class="logged-in-as">Logged in as . <a href="">Edit your profile</a>. <a href="https://utestlab.com/wp-login.php?action=logout&redirect_to=%2Fhello-world%2F&_wpnonce=9d9a979cf3">Log out?</a> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p>"
"comment_notes_before" => "<p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p>"
"comment_notes_after" => ""
"action" => "https://utestlab.com/wp-comments-post.php"
"id_form" => "commentform"
"id_submit" => "submit"
"class_container" => "comment-respond"
"class_form" => "comment-form"
"class_submit" => "submit"
"name_submit" => "submit"
"title_reply" => "Leave a Reply"
"title_reply_to" => "Leave a Reply to %s"
"title_reply_before" => "<h3 id="reply-title" class="comment-reply-title">"
"title_reply_after" => "</h3>"
"cancel_reply_before" => " <small>"
"cancel_reply_after" => "</small>"
"cancel_reply_link" => "Cancel reply"
"label_submit" => "Post Comment"
"submit_button" => "<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />"
"submit_field" => "<p class="form-submit">%1$s %2$s</p>"
"format" => "xhtml"
]
array:1 [
0 => array:24 [
"fields" => array:5 [
"author" => "<p class="comment-form-author wp-block-column has-flex-basis-md-50 has-flex-basis-100"><input id="author" class="form-control" name="author" placeholder="Name *" type="text" value="" size="30" maxlength="245" /></p>"
"email" => "<p class="comment-form-email wp-block-column has-flex-basis-md-50 has-flex-basis-100"><input id="email" class="form-control" name="email" value="" placeholder="Email *" size="30" maxlength="100" aria-describedby="email-notes" /></p>"
"url" => "<p class="comment-form-url wp-block-column has-flex-basis-100"><input id="url" class="form-control" name="url" placeholder="Website" value="" size="30" maxlength="200" /></p>"
"notify_me" => """
<p class="comment-notify-me with-checkbox wp-block-column has-flex-basis-100">\n
<input id="wp-comment-notify-me" class="form-check-input" name="wp-comment-notify-me" type="checkbox" value="yes">\n
<label for="wp-comment-notify-me">Notify me of follow-up comments by email.</label>\n
</p>
"""
"notify_me_new" => """
<p class="comment-notify-me-new with-checkbox wp-block-column has-flex-basis-100">\n
<input id="wp-comment-notify-me-new" class="form-check-input" name="wp-comment-notify-me-new" type="checkbox" value="yes">\n
<label for="wp-comment-notify-me-new">Notfy me of follow-up comments by email.</label>\n
</p>
"""
]
"comment_field" => "<p class="comment-form-comment"><label for="comment">Comment <span class="required">*</span></label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" required></textarea></p>"
"must_log_in" => "<p class="must-log-in">You must be <a href="https://utestlab.com/wp-login.php?redirect_to=%2Fhello-world%2F">logged in</a> to post a comment.</p>"
"logged_in_as" => "<p class="logged-in-as">Logged in as . <a href="">Edit your profile</a>. <a href="https://utestlab.com/wp-login.php?action=logout&redirect_to=%2Fhello-world%2F&_wpnonce=9d9a979cf3">Log out?</a> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p>"
"comment_notes_before" => "<p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p>"
"comment_notes_after" => ""
"action" => "https://utestlab.com/wp-comments-post.php"
"id_form" => "commentform"
"id_submit" => "submit"
"class_container" => "comment-respond"
"class_form" => "comment-form"
"class_submit" => "submit"
"name_submit" => "submit"
"title_reply" => "Leave a Reply"
"title_reply_to" => "Leave a Reply to %s"
"title_reply_before" => "<h3 id="reply-title" class="comment-reply-title">"
"title_reply_after" => "</h3>"
"cancel_reply_before" => " <small>"
"cancel_reply_after" => "</small>"
"cancel_reply_link" => "Cancel reply"
"label_submit" => "Post Comment"
"submit_button" => "<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />"
"submit_field" => "<p class="form-submit">%1$s %2$s</p>"
"format" => "xhtml"
]
]
/www/utestlab_588/public/wp-includes/comment-template.php
'title_reply_after' => '</h3>',
'cancel_reply_before' => ' <small>',
'cancel_reply_after' => '</small>',
'cancel_reply_link' => __( 'Cancel reply' ),
'label_submit' => __( 'Post Comment' ),
'submit_button' => '<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />',
'submit_field' => '<p class="form-submit">%1$s %2$s</p>',
'format' => 'xhtml',
);
/**
* Filters the comment form default arguments.
*
* Use {@see 'comment_form_default_fields'} to filter the comment fields.
*
* @since 3.0.0
*
* @param array $defaults The default comment form arguments.
*/
$args = wp_parse_args( $args, apply_filters( 'comment_form_defaults', $defaults ) );
// Ensure that the filtered arguments contain all required default values.
$args = array_merge( $defaults, $args );
// Remove `aria-describedby` from the email field if there's no associated description.
if ( isset( $args['fields']['email'] ) && ! str_contains( $args['comment_notes_before'], 'id="email-notes"' ) ) {
$args['fields']['email'] = str_replace(
' aria-describedby="email-notes"',
'',
$args['fields']['email']
);
}
/**
* Fires before the comment form.
*
* @since 3.0.0
*/
do_action( 'comment_form_before' );
?>
Arguments
"comment_form_defaults"
array:24 [
"fields" => array:5 [
"author" => "<p class="comment-form-author wp-block-column has-flex-basis-md-50 has-flex-basis-100"><input id="author" class="form-control" name="author" placeholder="Name *" type="text" value="" size="30" maxlength="245" /></p>"
"email" => "<p class="comment-form-email wp-block-column has-flex-basis-md-50 has-flex-basis-100"><input id="email" class="form-control" name="email" value="" placeholder="Email *" size="30" maxlength="100" aria-describedby="email-notes" /></p>"
"url" => "<p class="comment-form-url wp-block-column has-flex-basis-100"><input id="url" class="form-control" name="url" placeholder="Website" value="" size="30" maxlength="200" /></p>"
"notify_me" => """
<p class="comment-notify-me with-checkbox wp-block-column has-flex-basis-100">\n
<input id="wp-comment-notify-me" class="form-check-input" name="wp-comment-notify-me" type="checkbox" value="yes">\n
<label for="wp-comment-notify-me">Notify me of follow-up comments by email.</label>\n
</p>
"""
"notify_me_new" => """
<p class="comment-notify-me-new with-checkbox wp-block-column has-flex-basis-100">\n
<input id="wp-comment-notify-me-new" class="form-check-input" name="wp-comment-notify-me-new" type="checkbox" value="yes">\n
<label for="wp-comment-notify-me-new">Notfy me of follow-up comments by email.</label>\n
</p>
"""
]
"comment_field" => "<p class="comment-form-comment"><label for="comment">Comment <span class="required">*</span></label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" required></textarea></p>"
"must_log_in" => "<p class="must-log-in">You must be <a href="https://utestlab.com/wp-login.php?redirect_to=%2Fhello-world%2F">logged in</a> to post a comment.</p>"
"logged_in_as" => "<p class="logged-in-as">Logged in as . <a href="">Edit your profile</a>. <a href="https://utestlab.com/wp-login.php?action=logout&redirect_to=%2Fhello-world%2F&_wpnonce=9d9a979cf3">Log out?</a> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p>"
"comment_notes_before" => "<p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> <span class="required-field-message">Required fields are marked <span class="required">*</span></span></p>"
"comment_notes_after" => ""
"action" => "https://utestlab.com/wp-comments-post.php"
"id_form" => "commentform"
"id_submit" => "submit"
"class_container" => "comment-respond"
"class_form" => "comment-form"
"class_submit" => "submit"
"name_submit" => "submit"
"title_reply" => "Leave a Reply"
"title_reply_to" => "Leave a Reply to %s"
"title_reply_before" => "<h3 id="reply-title" class="comment-reply-title">"
"title_reply_after" => "</h3>"
"cancel_reply_before" => " <small>"
"cancel_reply_after" => "</small>"
"cancel_reply_link" => "Cancel reply"
"label_submit" => "Post Comment"
"submit_button" => "<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />"
"submit_field" => "<p class="form-submit">%1$s %2$s</p>"
"format" => "xhtml"
]
/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/60f7721a3f7ba6c0ef8902750088c1cc63933309.php
<?php endif; ?>
<?php if(! comments_open() && get_comments_number() != '0' && post_type_supports(get_post_type(), 'comments')): ?>
<?php if (isset($component)) { $__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975 = $component; } ?>
<?php $component = $__env->getContainer()->make(App\View\Components\Alert::class, ['type' => 'warning']); ?>
<?php $component->withName('alert'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php $component->withAttributes([]); ?>
<?php echo __('Comments are closed.', 'sage'); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975)): ?>
<?php $component = $__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975; ?>
<?php unset($__componentOriginald4c8f106e1e33ab85c5d037c2504e2574c1b0975); ?>
<?php endif; ?>
<?php endif; ?>
<?php (comment_form()); ?>
</section>
<?php endif; ?>
<?php /**PATH /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php ENDPATH**/ ?>
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/60f7721a3f7ba6c0ef8902750088c1cc63933309.php"
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/Engines/PhpEngine.php
}
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/60f7721a3f7ba6c0ef8902750088c1cc63933309.php"
array:32 [
"__env" => Illuminate\View\Factory {#4492}
"app" => Roots\Acorn\Application {#4419}
"post" => & WP_Post {#7970}
"file" => "/comments.php"
"separate_comments" => false
"wp_query" => & WP_Query {#4330}
"withcomments" => & null
"wpdb" => & wpdb {#2}
"id" => & 1
"comment" => & WP_Comment {#9446}
"user_login" => & ""
"user_identity" => & ""
"overridden_cpage" => & false
"wp_stylesheet_path" => & "/www/utestlab_588/public/wp-content/themes/utestlab"
"wp_template_path" => & "/www/utestlab_588/public/wp-content/themes/utestlab"
"req" => "1"
"commenter" => array:3 [
"comment_author" => ""
"comment_author_email" => ""
"comment_author_url" => ""
]
"comment_author" => ""
"comment_author_email" => ""
"comment_author_url" => ""
"comment_args" => array:6 [
"orderby" => "comment_date_gmt"
"order" => "ASC"
"status" => "approve"
"post_id" => 1
"no_found_rows" => false
"hierarchical" => "threaded"
]
"unapproved_email" => ""
"per_page" => 0
"comment_query" => WP_Comment_Query {#9452}
"_comments" => array:1 [
1 => WP_Comment {#9446}
]
"comments_flat" => array:1 [
0 => WP_Comment {#9446}
]
"_comment" => WP_Comment {#9446}
"comment_children" => []
"comments" => & array:1 [
0 => WP_Comment {#9446}
]
"theme_template" => "/www/utestlab_588/public/wp-content/themes/utestlab//comments.php"
"include" => "/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/0c854d432c4bfffb00f75f430737ecc1-loader.php"
"siteName" => "UtestLab"
]
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/Engines/CompilerEngine.php
*
* @param string $path
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/60f7721a3f7ba6c0ef8902750088c1cc63933309.php"
array:32 [
"__env" => Illuminate\View\Factory {#4492}
"app" => Roots\Acorn\Application {#4419}
"post" => & WP_Post {#7970}
"file" => "/comments.php"
"separate_comments" => false
"wp_query" => & WP_Query {#4330}
"withcomments" => & null
"wpdb" => & wpdb {#2}
"id" => & 1
"comment" => & WP_Comment {#9446}
"user_login" => & ""
"user_identity" => & ""
"overridden_cpage" => & false
"wp_stylesheet_path" => & "/www/utestlab_588/public/wp-content/themes/utestlab"
"wp_template_path" => & "/www/utestlab_588/public/wp-content/themes/utestlab"
"req" => "1"
"commenter" => array:3 [
"comment_author" => ""
"comment_author_email" => ""
"comment_author_url" => ""
]
"comment_author" => ""
"comment_author_email" => ""
"comment_author_url" => ""
"comment_args" => array:6 [
"orderby" => "comment_date_gmt"
"order" => "ASC"
"status" => "approve"
"post_id" => 1
"no_found_rows" => false
"hierarchical" => "threaded"
]
"unapproved_email" => ""
"per_page" => 0
"comment_query" => WP_Comment_Query {#9452}
"_comments" => array:1 [
1 => WP_Comment {#9446}
]
"comments_flat" => array:1 [
0 => WP_Comment {#9446}
]
"_comment" => WP_Comment {#9446}
"comment_children" => []
"comments" => & array:1 [
0 => WP_Comment {#9446}
]
"theme_template" => "/www/utestlab_588/public/wp-content/themes/utestlab//comments.php"
"include" => "/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/0c854d432c4bfffb00f75f430737ecc1-loader.php"
"siteName" => "UtestLab"
]
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/View.php
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php"
array:32 [
"__env" => Illuminate\View\Factory {#4492}
"app" => Roots\Acorn\Application {#4419}
"post" => & WP_Post {#7970}
"file" => "/comments.php"
"separate_comments" => false
"wp_query" => & WP_Query {#4330}
"withcomments" => & null
"wpdb" => & wpdb {#2}
"id" => & 1
"comment" => & WP_Comment {#9446}
"user_login" => & ""
"user_identity" => & ""
"overridden_cpage" => & false
"wp_stylesheet_path" => & "/www/utestlab_588/public/wp-content/themes/utestlab"
"wp_template_path" => & "/www/utestlab_588/public/wp-content/themes/utestlab"
"req" => "1"
"commenter" => array:3 [
"comment_author" => ""
"comment_author_email" => ""
"comment_author_url" => ""
]
"comment_author" => ""
"comment_author_email" => ""
"comment_author_url" => ""
"comment_args" => array:6 [
"orderby" => "comment_date_gmt"
"order" => "ASC"
"status" => "approve"
"post_id" => 1
"no_found_rows" => false
"hierarchical" => "threaded"
]
"unapproved_email" => ""
"per_page" => 0
"comment_query" => WP_Comment_Query {#9452}
"_comments" => array:1 [
1 => WP_Comment {#9446}
]
"comments_flat" => array:1 [
0 => WP_Comment {#9446}
]
"_comment" => WP_Comment {#9446}
"comment_children" => []
"comments" => & array:1 [
0 => WP_Comment {#9446}
]
"theme_template" => "/www/utestlab_588/public/wp-content/themes/utestlab//comments.php"
"include" => "/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/0c854d432c4bfffb00f75f430737ecc1-loader.php"
"siteName" => "UtestLab"
]
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/0c854d432c4bfffb00f75f430737ecc1-loader.php
<?= \Roots\view('partials.comments', $data ?? get_defined_vars())->render(); ?>
<?php /**PATH /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/comments.blade.php ENDPATH**/ ?>
/www/utestlab_588/public/wp-includes/comment-template.php
$overridden_cpage = true;
}
if ( ! defined( 'COMMENTS_TEMPLATE' ) ) {
define( 'COMMENTS_TEMPLATE', true );
}
$theme_template = trailingslashit( $wp_stylesheet_path ) . $file;
/**
* Filters the path to the theme template file used for the comments template.
*
* @since 1.5.1
*
* @param string $theme_template The path to the theme template file.
*/
$include = apply_filters( 'comments_template', $theme_template );
if ( file_exists( $include ) ) {
require $include;
} elseif ( file_exists( trailingslashit( $wp_template_path ) . $file ) ) {
require trailingslashit( $wp_template_path ) . $file;
} else { // Backward compat code will be removed in a future release.
require ABSPATH . WPINC . '/theme-compat/comments.php';
}
}
/**
* Displays the link to the comments for the current post ID.
*
* @since 0.71
*
* @param false|string $zero Optional. String to display when no comments. Default false.
* @param false|string $one Optional. String to display when only one comment is available. Default false.
* @param false|string $more Optional. String to display when there are more than one comment. Default false.
* @param string $css_class Optional. CSS class to use for comments. Default empty.
* @param false|string $none Optional. String to display when comments have been turned off. Default false.
*/
function comments_popup_link( $zero = false, $one = false, $more = false, $css_class = '', $none = false ) {
$post_id = get_the_ID();
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/0c854d432c4bfffb00f75f430737ecc1-loader.php"
/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/8783eb713711bf0ac52fd9b6c53d94eb6053bd5e.php
<?php endif; ?>
<h1 class="entry-title">
<?php echo $title; ?>
</h1>
<?php echo $__env->make('partials/entry-meta', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</header>
<div class="entry-content">
<?php (the_content()); ?>
</div>
<footer>
<?php echo wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>
</footer>
<?php (comments_template()); ?>
</article>
<?php /**PATH /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/content-single.blade.php ENDPATH**/ ?>
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/8783eb713711bf0ac52fd9b6c53d94eb6053bd5e.php"
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/Engines/PhpEngine.php
}
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/8783eb713711bf0ac52fd9b6c53d94eb6053bd5e.php"
array:5 [
"__env" => Illuminate\View\Factory {#4492}
"app" => Roots\Acorn\Application {#4419}
"post" => WP_Post {#7970}
"siteName" => "UtestLab"
"title" => "Hello world!"
]
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/Engines/CompilerEngine.php
*
* @param string $path
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/8783eb713711bf0ac52fd9b6c53d94eb6053bd5e.php"
array:5 [
"__env" => Illuminate\View\Factory {#4492}
"app" => Roots\Acorn\Application {#4419}
"post" => WP_Post {#7970}
"siteName" => "UtestLab"
"title" => "Hello world!"
]
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/View.php
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/resources/views/partials/content-single.blade.php"
array:5 [
"__env" => Illuminate\View\Factory {#4492}
"app" => Roots\Acorn\Application {#4419}
"post" => WP_Post {#7970}
"siteName" => "UtestLab"
"title" => "Hello world!"
]
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/0d09f37d299ac13e2b05d82e29b76eaef431501c.php
<?php $__env->startSection('content'); ?>
<?php while(have_posts()): ?> <?php (the_post()); ?>
<?php echo $__env->first(['partials.content-single-' . get_post_type(), 'partials.content-single'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php endwhile; ?>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/utestlab_588/public/wp-content/themes/utestlab/resources/views/single.blade.php ENDPATH**/ ?>
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/0d09f37d299ac13e2b05d82e29b76eaef431501c.php"
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/filesystem/Filesystem.php
/**
* Get the returned value of a file.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function getRequire($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
return (static function () use ($__path, $__data) {
extract($__data, EXTR_SKIP);
return require $__path;
})();
}
throw new FileNotFoundException("File does not exist at path {$path}.");
}
/**
* Require the given file once.
*
* @param string $path
* @param array $data
* @return mixed
*
* @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
*/
public function requireOnce($path, array $data = [])
{
if ($this->isFile($path)) {
$__path = $path;
$__data = $data;
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/Engines/PhpEngine.php
}
/**
* Get the evaluated contents of the view at the given path.
*
* @param string $path
* @param array $data
* @return string
*/
protected function evaluatePath($path, $data)
{
$obLevel = ob_get_level();
ob_start();
// We'll evaluate the contents of the view inside a try/catch block so we can
// flush out any stray output that might get out before an error occurs or
// an exception is thrown. This prevents any partial views from leaking.
try {
$this->files->getRequire($path, $data);
} catch (Throwable $e) {
$this->handleViewException($e, $obLevel);
}
return ltrim(ob_get_clean());
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
while (ob_get_level() > $obLevel) {
ob_end_clean();
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/0d09f37d299ac13e2b05d82e29b76eaef431501c.php"
array:3 [
"__env" => Illuminate\View\Factory {#4492}
"app" => Roots\Acorn\Application {#4419}
"siteName" => "UtestLab"
]
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/Engines/CompilerEngine.php
*
* @param string $path
* @param array $data
* @return string
*/
public function get($path, array $data = [])
{
$this->lastCompiled[] = $path;
// If this given view has expired, which means it has simply been edited since
// it was last compiled, we will re-compile the views so we can evaluate a
// fresh copy of the view. We'll pass the compiler the path of the view.
if ($this->compiler->isExpired($path)) {
$this->compiler->compile($path);
}
// Once we have the path to the compiled file, we will evaluate the paths with
// typical PHP just like any other templates. We also keep a stack of views
// which have been rendered for right exception messages to be generated.
$results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
array_pop($this->lastCompiled);
return $results;
}
/**
* Handle a view exception.
*
* @param \Throwable $e
* @param int $obLevel
* @return void
*
* @throws \Throwable
*/
protected function handleViewException(Throwable $e, $obLevel)
{
$e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
parent::handleViewException($e, $obLevel);
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/storage/framework/views/0d09f37d299ac13e2b05d82e29b76eaef431501c.php"
array:3 [
"__env" => Illuminate\View\Factory {#4492}
"app" => Roots\Acorn\Application {#4419}
"siteName" => "UtestLab"
]
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/View.php
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
* Get the data bound to the view instance.
*
* @return array
*/
public function gatherData()
{
$data = array_merge($this->factory->getShared(), $this->data);
foreach ($data as $key => $value) {
if ($value instanceof Renderable) {
$data[$key] = $value->render();
}
}
return $data;
}
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/resources/views/single.blade.php"
array:3 [
"__env" => Illuminate\View\Factory {#4492}
"app" => Roots\Acorn\Application {#4419}
"siteName" => "UtestLab"
]
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/View.php
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
*/
protected function renderContents()
{
// We will keep track of the amount of views being rendered so we can flush
// the section after the complete rendering operation is done. This will
// clear out the sections for any separate views that may be rendered.
$this->factory->incrementRender();
$this->factory->callComposer($this);
$contents = $this->getContents();
// Once we've finished rendering the view, we'll decrement the render count
// so that each sections get flushed out next time a view is created and
// no old sections are staying around in the memory of an environment.
$this->factory->decrementRender();
return $contents;
}
/**
* Get the evaluated contents of the view.
*
* @return string
*/
protected function getContents()
{
return $this->engine->get($this->path, $this->gatherData());
}
/**
/www/utestlab_588/public/wp-content/themes/utestlab/vendor/illuminate/view/View.php
$this->view = $view;
$this->path = $path;
$this->engine = $engine;
$this->factory = $factory;
$this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
}
/**
* Get the string contents of the view.
*
* @param callable|null $callback
* @return string
*
* @throws \Throwable
*/
public function render(callable $callback = null)
{
try {
$contents = $this->renderContents();
$response = isset($callback) ? $callback($this, $contents) : null;
// Once we have the contents of the view, we will flush the sections if we are
// done rendering all views so that there is nothing left hanging over when
// another view gets rendered in the future by the application developer.
$this->factory->flushStateIfDoneRendering();
return ! is_null($response) ? $response : $contents;
} catch (Throwable $e) {
$this->factory->flushState();
throw $e;
}
}
/**
* Get the contents of the view instance.
*
* @return string
/www/utestlab_588/public/wp-content/themes/utestlab/index.php
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<?php do_action('get_header'); ?>
<div id="app">
<?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
</div>
<?php do_action('get_footer'); ?>
<?php wp_footer(); ?>
</body>
</html>
/www/utestlab_588/public/wp-includes/template-loader.php
}
break;
}
}
if ( ! $template ) {
$template = get_index_template();
}
/**
* Filters the path of the current template before including it.
*
* @since 3.0.0
*
* @param string $template The path of the template to include.
*/
$template = apply_filters( 'template_include', $template );
if ( $template ) {
include $template;
} elseif ( current_user_can( 'switch_themes' ) ) {
$theme = wp_get_theme();
if ( $theme->errors() ) {
wp_die( $theme->errors() );
}
}
return;
}
Arguments
"/www/utestlab_588/public/wp-content/themes/utestlab/index.php"
/www/utestlab_588/public/wp-blog-header.php
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( ! isset( $wp_did_header ) ) {
$wp_did_header = true;
// Load the WordPress library.
require_once __DIR__ . '/wp-load.php';
// Set up the WordPress query.
wp();
// Load the theme template.
require_once ABSPATH . WPINC . '/template-loader.php';
}
Arguments
"/www/utestlab_588/public/wp-includes/template-loader.php"
/www/utestlab_588/public/index.php
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define( 'WP_USE_THEMES', true );
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
Arguments
"/www/utestlab_588/public/wp-blog-header.php"