Support

Account

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!