Skip to content

Commit

Permalink
See #1731: Article wrapper JSON-LD issues (#1732)
Browse files Browse the repository at this point in the history
* bump to 3.53.0-0

* Removing custom field expansion in post converter, as only entities have custom fields

---------

Co-authored-by: David Riccitelli <[email protected]>
  • Loading branch information
mauanga and ziodave authored Mar 15, 2024
1 parent 22ba5d0 commit c26eff9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "wordlift-plugin",
"description": "WordLift brings the power of Artificial Intelligence to organize content. Attract new readers and get their true attention with top notch semantic seo.",
"private": true,
"version": "3.52.5",
"version": "3.53.0-0",
"author": "WordLift",
"homepage": "https://wordift.io/",
"license": "GPL-3.0",
Expand Down
6 changes: 0 additions & 6 deletions src/includes/class-wordlift-post-to-jsonld-converter.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,6 @@ public function convert( $post_id, &$references = array(), &$references_infos =
// Get the entity name.
$jsonld['headline'] = $post->post_title;

$custom_fields = $this->entity_type_service->get_custom_fields_for_post( $post_id );

if ( isset( $custom_fields ) ) {
$this->process_type_custom_fields( $jsonld, $custom_fields, $post, $references, $references_infos );
}

// Set the published and modified dates.
/*
* Set the `datePublished` and `dateModified` using the local timezone.
Expand Down
4 changes: 2 additions & 2 deletions src/wordlift.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Plugin Name: WordLift
* Plugin URI: https://wordlift.io
* Description: WordLift brings the power of AI to organize content, attract new readers and get their attention. To activate the plugin <a href="https://wordlift.io/">visit our website</a>.
* Version: 3.52.5
* Version: 3.53.0-0
* Author: WordLift
* Author URI: https://wordlift.io
* License: GPL-2.0+
Expand All @@ -32,7 +32,7 @@
use Wordlift\Post\Post_Adapter;

define( 'WORDLIFT_PLUGIN_FILE', __FILE__ );
define( 'WORDLIFT_VERSION', '3.52.5' );
define( 'WORDLIFT_VERSION', '3.53.0-0' );

// ## DO NOT REMOVE THIS LINE: WHITELABEL PLACEHOLDER ##

Expand Down

0 comments on commit c26eff9

Please sign in to comment.