Home › Forums › General Issues › Question about updates coming in 6.2.7 › Reply To: Question about updates coming in 6.2.7
I have a similar situation. Would I correct this:
<?php if( have_rows('page_content') ): ?>
<?php while( have_rows('page_content') ): the_row(); ?>
<?php if( get_row_layout() == 'page_content' ): ?>
<div class="training">
<?php the_sub_field('page_description_100'); ?>
</div>
<br>
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>
By using this?
<?php if( have_rows('page_content') ): ?>
<?php while( have_rows('page_content') ): the_row(); ?>
<?php if( get_row_layout() == 'page_content' ): ?>
<div class="training">
<?php echo esc_html( the_sub_field('page_description_100') ); ?>
</div>
<br>
<?php endif; ?>
<?php endwhile; ?>
<?php endif; ?>
The notice is still visible in the dashboard. (I’m using the classic editor with some CF7 and YouTube in the WYSIWYG field.)
Thanks in advance!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.