Plugin Directory

Changeset 3460466


Ignore:
Timestamp:
02/13/2026 03:24:09 AM (6 weeks ago)
Author:
answerseo
Message:

Fixed issue # display FAQs in page

Location:
answer-engine-optimization-aeo-audit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • answer-engine-optimization-aeo-audit/tags/1.3/answer-engine-optimization-aeo-audit.php

    r3460456 r3460466  
    2323        add_action( 'add_meta_boxes', array( $this, 'aeoaudi_add_faq_meta_box' ) );
    2424        add_action( 'save_post', array( $this, 'aeoaudi_save_faq_meta' ) );
    25         add_filter( 'aeoaudi_the_content', array( $this, 'aeoaudi_append_faqs_to_content' ) );
     25        // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Core WP hook.
     26        add_filter( 'the_content', array( $this, 'aeoaudi_append_faqs_to_content' ) );
    2627       
    2728    }
     
    111112
    112113    wp_nonce_field( 'aeoaudi_save_faq_nonce_action', 'aeoaudi_faq_nonce_field' );
    113 
    114     $content = apply_filters( 'aeoaudi_the_content', $post->post_content );
     114    // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Core WP hook.
     115    $content = apply_filters( 'the_content', $post->post_content );
    115116    $report  = $this->aeoaudi_analyze_content( $content );
    116117
  • answer-engine-optimization-aeo-audit/trunk/answer-engine-optimization-aeo-audit.php

    r3460456 r3460466  
    2323        add_action( 'add_meta_boxes', array( $this, 'aeoaudi_add_faq_meta_box' ) );
    2424        add_action( 'save_post', array( $this, 'aeoaudi_save_faq_meta' ) );
    25         add_filter( 'aeoaudi_the_content', array( $this, 'aeoaudi_append_faqs_to_content' ) );
     25        // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Core WP hook.
     26        add_filter( 'the_content', array( $this, 'aeoaudi_append_faqs_to_content' ) );
    2627       
    2728    }
     
    111112
    112113    wp_nonce_field( 'aeoaudi_save_faq_nonce_action', 'aeoaudi_faq_nonce_field' );
    113 
    114     $content = apply_filters( 'aeoaudi_the_content', $post->post_content );
     114    // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Core WP hook.
     115    $content = apply_filters( 'the_content', $post->post_content );
    115116    $report  = $this->aeoaudi_analyze_content( $content );
    116117
Note: See TracChangeset for help on using the changeset viewer.