PluginProbe
Parse.ly / 3.8.4
Parse.ly v3.8.4
3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 3.20.3 All 105 releases
← All changes | src/Metadata/class-page-builder.php +2 -14 3.20.03.8.4 View file →
@@ -50,25 +50,13 @@
50 50 $this->build_basic();
51 51 $this->build_headline();
52 52 $this->build_url();
53 53
54 - if ( true === $this->parsely->get_options()['full_metadata_in_non_posts'] ) {
55 - $this->build_type( $this->post, 'non-post' );
56 - $this->build_main_entity( 'post' );
57 - $this->build_thumbnail_url( $this->post );
58 - $this->build_image( $this->post );
59 - $this->build_article_section( $this->post );
60 - $this->build_author( $this->post );
61 - $this->build_publisher();
62 - $this->build_keywords( $this->post );
63 - $this->build_metadata_post_times( $this->post );
64 - }
65 -
66 54 return $this->metadata;
67 55 }
68 56
69 57 /**
70 - * Populates the headline field in the metadata object.
58 + * Populates the `headline` field in the metadata object.
71 59 *
72 60 * @since 3.4.0
73 61 */
74 62 private function build_headline(): void {
@@ -75,9 +63,9 @@
75 63 $this->metadata['headline'] = $this->clean_value( get_the_title( $this->post ) );
76 64 }
77 65
78 66 /**
79 - * Populates the url field in the metadata object by getting the current page's URL.
67 + * Populates the `url` field in the metadata object by getting the current page's URL.
80 68 *
81 69 * @since 3.4.0
82 70 */
83 71 protected function build_url(): void {