Changeset 2678268
- Timestamp:
- 02/14/2022 08:15:39 AM (4 years ago)
- Location:
- add-wpgraphql-seo
- Files:
-
- 6 edited
- 1 copied
-
tags/4.16.1 (copied) (copied from add-wpgraphql-seo/trunk)
-
tags/4.16.1/CHANGELOG.md (modified) (1 diff)
-
tags/4.16.1/readme.txt (modified) (1 diff)
-
tags/4.16.1/wp-graphql-yoast-seo.php (modified) (5 diffs)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-graphql-yoast-seo.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
add-wpgraphql-seo/tags/4.16.1/CHANGELOG.md
r2616765 r2678268 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [4.16.1] - 2022-01-23 9 10 ### Changed 11 12 - Guarding against undefined values 7 13 8 14 ## [4.16.0] - 2021-10-19 -
add-wpgraphql-seo/tags/4.16.1/readme.txt
r2616765 r2678268 5 5 Tested up to: 5.7 6 6 Requires PHP: 7.1 7 Stable tag: 4.16. 07 Stable tag: 4.16.1 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html -
add-wpgraphql-seo/tags/4.16.1/wp-graphql-yoast-seo.php
r2616765 r2678268 9 9 * Text Domain: wp-graphql-yoast-seo 10 10 * Domain Path: /languages 11 * Version: 4.16. 011 * Version: 4.16.1 12 12 * 13 13 * @package WP_Graphql_YOAST_SEO … … 187 187 'hasArchive' => true, 188 188 'archiveLink' => get_post_type_archive_link($type), 189 'title' => $all['title-archive-wpseo'], 190 '' => $all['metadesc-archive-wpseo'], 191 '' => $all['noindex-archive-wpseo'], 192 'breadcrumbTitle' => $all['bctitle-archive-wpseo'], 189 'title' => !empty($all['title-archive-wpseo']) 190 ? $all['title-archive-wpseo'] 191 : null, 192 'metaDesc' => !empty($all['metadesc-archive-wpseo']) 193 ? $all['metadesc-archive-wpseo'] 194 : null, 195 'metaRobotsNoindex' => !empty( 196 $all['noindex-archive-wpseo'] 197 ) 198 ? $all['noindex-archive-wpseo'] 199 : null, 200 'breadcrumbTitle' => !empty( 201 $all['bctitle-archive-wpseo'] 202 ) 203 ? $all['bctitle-archive-wpseo'] 204 : null, 193 205 'metaRobotsNoindex' => boolval( 194 206 $all['noindex-archive-wpseo'] … … 345 357 'wordpressSiteName' => ['type' => 'String'], 346 358 'siteUrl' => ['type' => 'String'], 359 'homeUrl' => ['type' => 'String'], 347 360 'inLanguage' => ['type' => 'String'], 348 361 ], … … 610 623 $redirects = $redirectsObj ? $redirectsObj->get_from_option() : []; 611 624 612 $userID = $all['company_or_person_user_id']; 613 $user = get_userdata($userID); 625 $userID = !empty($all['company_or_person_user_id']) 626 ? $all['company_or_person_user_id'] 627 : null; 628 $user = !empty($userID) ? get_userdata($userID) : null; 614 629 615 630 $mappedRedirects = function ($value) { … … 738 753 'siteUrl' => wp_gql_seo_format_string( 739 754 apply_filters('wp_gql_seo_site_url', get_site_url()) 755 ), 756 'homeUrl' => wp_gql_seo_format_string( 757 apply_filters('wp_gql_seo_home_url', get_home_url()) 740 758 ), 741 759 'inLanguage' => wp_gql_seo_format_string( -
add-wpgraphql-seo/trunk/CHANGELOG.md
r2616765 r2678268 5 5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), 6 6 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 7 8 ## [4.16.1] - 2022-01-23 9 10 ### Changed 11 12 - Guarding against undefined values 7 13 8 14 ## [4.16.0] - 2021-10-19 -
add-wpgraphql-seo/trunk/readme.txt
r2616765 r2678268 5 5 Tested up to: 5.7 6 6 Requires PHP: 7.1 7 Stable tag: 4.16. 07 Stable tag: 4.16.1 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html -
add-wpgraphql-seo/trunk/wp-graphql-yoast-seo.php
r2616765 r2678268 9 9 * Text Domain: wp-graphql-yoast-seo 10 10 * Domain Path: /languages 11 * Version: 4.16. 011 * Version: 4.16.1 12 12 * 13 13 * @package WP_Graphql_YOAST_SEO … … 187 187 'hasArchive' => true, 188 188 'archiveLink' => get_post_type_archive_link($type), 189 'title' => $all['title-archive-wpseo'], 190 '' => $all['metadesc-archive-wpseo'], 191 '' => $all['noindex-archive-wpseo'], 192 'breadcrumbTitle' => $all['bctitle-archive-wpseo'], 189 'title' => !empty($all['title-archive-wpseo']) 190 ? $all['title-archive-wpseo'] 191 : null, 192 'metaDesc' => !empty($all['metadesc-archive-wpseo']) 193 ? $all['metadesc-archive-wpseo'] 194 : null, 195 'metaRobotsNoindex' => !empty( 196 $all['noindex-archive-wpseo'] 197 ) 198 ? $all['noindex-archive-wpseo'] 199 : null, 200 'breadcrumbTitle' => !empty( 201 $all['bctitle-archive-wpseo'] 202 ) 203 ? $all['bctitle-archive-wpseo'] 204 : null, 193 205 'metaRobotsNoindex' => boolval( 194 206 $all['noindex-archive-wpseo'] … … 345 357 'wordpressSiteName' => ['type' => 'String'], 346 358 'siteUrl' => ['type' => 'String'], 359 'homeUrl' => ['type' => 'String'], 347 360 'inLanguage' => ['type' => 'String'], 348 361 ], … … 610 623 $redirects = $redirectsObj ? $redirectsObj->get_from_option() : []; 611 624 612 $userID = $all['company_or_person_user_id']; 613 $user = get_userdata($userID); 625 $userID = !empty($all['company_or_person_user_id']) 626 ? $all['company_or_person_user_id'] 627 : null; 628 $user = !empty($userID) ? get_userdata($userID) : null; 614 629 615 630 $mappedRedirects = function ($value) { … … 738 753 'siteUrl' => wp_gql_seo_format_string( 739 754 apply_filters('wp_gql_seo_site_url', get_site_url()) 755 ), 756 'homeUrl' => wp_gql_seo_format_string( 757 apply_filters('wp_gql_seo_home_url', get_home_url()) 740 758 ), 741 759 'inLanguage' => wp_gql_seo_format_string(
Note: See TracChangeset
for help on using the changeset viewer.