Plugin Directory

Changeset 2834023


Ignore:
Timestamp:
12/14/2022 08:21:36 PM (3 years ago)
Author:
rockcontentplatform
Message:

correção de chamada de função

Location:
rock-content
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rock-content/tags/3.0.2/inc/Integrations/RockAnalytics.php

    r2834020 r2834023  
    4343            'post_date'           => strtotime( $post->post_date ),
    4444            'post_author'         => get_the_author_meta( 'display_name', $post->post_author ),
    45             'categories_json'     => wp_json_encode( setup_chorus_analytics_get_post_categories( $post->ID ) ),
    46             'tags_json'           => wp_json_encode( setup_chorus_analytics_get_post_tags( $post->ID ) ),
    47             'word_count'          => setup_chorus_analytics_get_post_word_count( $post->ID ),
     45            'categories_json'     => wp_json_encode( $this->setup_chorus_analytics_get_post_categories( $post->ID ) ),
     46            'tags_json'           => wp_json_encode( $this->setup_chorus_analytics_get_post_tags( $post->ID ) ),
     47            'word_count'          => $this->setup_chorus_analytics_get_post_word_count( $post->ID ),
    4848            'published_by_studio' => ( get_post_meta( $post->ID, 'published_by_studio', true ) ? 'true' : 'false' ),
    4949        );
  • rock-content/trunk/inc/Integrations/RockAnalytics.php

    r2834020 r2834023  
    4343            'post_date'           => strtotime( $post->post_date ),
    4444            'post_author'         => get_the_author_meta( 'display_name', $post->post_author ),
    45             'categories_json'     => wp_json_encode( setup_chorus_analytics_get_post_categories( $post->ID ) ),
    46             'tags_json'           => wp_json_encode( setup_chorus_analytics_get_post_tags( $post->ID ) ),
    47             'word_count'          => setup_chorus_analytics_get_post_word_count( $post->ID ),
     45            'categories_json'     => wp_json_encode( $this->setup_chorus_analytics_get_post_categories( $post->ID ) ),
     46            'tags_json'           => wp_json_encode( $this->setup_chorus_analytics_get_post_tags( $post->ID ) ),
     47            'word_count'          => $this->setup_chorus_analytics_get_post_word_count( $post->ID ),
    4848            'published_by_studio' => ( get_post_meta( $post->ID, 'published_by_studio', true ) ? 'true' : 'false' ),
    4949        );
Note: See TracChangeset for help on using the changeset viewer.