Plugin Directory

Changeset 2876556


Ignore:
Timestamp:
03/08/2023 01:47:10 PM (3 years ago)
Author:
ash_hitch
Message:

Update to version 4.22.1 from GitHub

Location:
add-wpgraphql-seo
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • add-wpgraphql-seo/tags/4.22.1/CHANGELOG.md

    r2861055 r2876556  
    66and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
    77
    8 ## [4.22.0] - 2022-02-06
     8## [4.22.1] - 2023-03-08
     9
     10### Fixed
     11
     12- Taxonomies metatag behaviour fixed (#152)
     13
     14## [4.22.0] - 2023-02-06
    915
    1016### Added
     
    1218-   `Date archive` title and description
    1319
    14 ## [4.21.0] - 2022-01-06
     20## [4.21.0] - 2023-01-06
    1521
    1622### Added
  • add-wpgraphql-seo/tags/4.22.1/readme.txt

    r2861055 r2876556  
    55Tested up to: 6.1.1
    66Requires PHP: 7.1
    7 Stable tag: 4.22.0
     7Stable tag: 4.22.1
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
  • add-wpgraphql-seo/tags/4.22.1/wp-graphql-yoast-seo.php

    r2861055 r2876556  
    99 * Text Domain:     wp-graphql-yoast-seo
    1010 * Domain Path:     /languages
    11  * Version:         4.22.0
     11 * Version:         4.22.1
    1212 *
    1313 * @package         WP_Graphql_YOAST_SEO
     
    1919
    2020use WPGraphQL\AppContext;
     21use WPGraphQL\Model\Term;
    2122
    2223add_action('admin_init', function () {
     
    751752                '@context' => 'context',
    752753            ];
    753             $meta = YoastSEO()->meta->for_post($post->ID);
     754            if( $post instanceof Term ){
     755                $meta = YoastSEO()->meta->for_term($post->term_id);
     756            } else {
     757                $meta = YoastSEO()->meta->for_post($post->ID);
     758            }
    754759
    755760            $schemaArray = $meta !== false ? $meta->schema : [];
  • add-wpgraphql-seo/trunk/CHANGELOG.md

    r2861055 r2876556  
    66and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
    77
    8 ## [4.22.0] - 2022-02-06
     8## [4.22.1] - 2023-03-08
     9
     10### Fixed
     11
     12- Taxonomies metatag behaviour fixed (#152)
     13
     14## [4.22.0] - 2023-02-06
    915
    1016### Added
     
    1218-   `Date archive` title and description
    1319
    14 ## [4.21.0] - 2022-01-06
     20## [4.21.0] - 2023-01-06
    1521
    1622### Added
  • add-wpgraphql-seo/trunk/readme.txt

    r2861055 r2876556  
    55Tested up to: 6.1.1
    66Requires PHP: 7.1
    7 Stable tag: 4.22.0
     7Stable tag: 4.22.1
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
  • add-wpgraphql-seo/trunk/wp-graphql-yoast-seo.php

    r2861055 r2876556  
    99 * Text Domain:     wp-graphql-yoast-seo
    1010 * Domain Path:     /languages
    11  * Version:         4.22.0
     11 * Version:         4.22.1
    1212 *
    1313 * @package         WP_Graphql_YOAST_SEO
     
    1919
    2020use WPGraphQL\AppContext;
     21use WPGraphQL\Model\Term;
    2122
    2223add_action('admin_init', function () {
     
    751752                '@context' => 'context',
    752753            ];
    753             $meta = YoastSEO()->meta->for_post($post->ID);
     754            if( $post instanceof Term ){
     755                $meta = YoastSEO()->meta->for_term($post->term_id);
     756            } else {
     757                $meta = YoastSEO()->meta->for_post($post->ID);
     758            }
    754759
    755760            $schemaArray = $meta !== false ? $meta->schema : [];
Note: See TracChangeset for help on using the changeset viewer.