Changeset 2506472
- Timestamp:
- 03/31/2021 07:07:39 AM (5 years ago)
- Location:
- add-wpgraphql-seo
- Files:
-
- 6 edited
- 1 copied
-
tags/4.12.1 (copied) (copied from add-wpgraphql-seo/trunk)
-
tags/4.12.1/CHANGELOG.md (modified) (1 diff)
-
tags/4.12.1/readme.txt (modified) (1 diff)
-
tags/4.12.1/wp-graphql-yoast-seo.php (modified) (4 diffs)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-graphql-yoast-seo.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
add-wpgraphql-seo/tags/4.12.1/CHANGELOG.md
r2499275 r2506472 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.12.1] - 2021-03-31 9 10 ### Changed 11 12 - guard against undefined errors 7 13 8 14 ## [4.12.0] - 2021-03-19 -
add-wpgraphql-seo/tags/4.12.1/readme.txt
r2499275 r2506472 5 5 Tested up to: 5.7 6 6 Requires PHP: 7.1 7 Stable tag: 4.12. 07 Stable tag: 4.12.1 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html -
add-wpgraphql-seo/tags/4.12.1/wp-graphql-yoast-seo.php
r2499275 r2506472 9 9 * Text Domain: wp-graphql-yoast-seo 10 10 * Domain Path: /languages 11 * Version: 4.12. 011 * Version: 4.12.1 12 12 * 13 13 * @package WP_Graphql_YOAST_SEO … … 164 164 165 165 $carry[$tag] = [ 166 'title' => $all['title-' . $type], 167 'metaDesc' => $all['metadesc-' . $type], 168 'metaRobotsNoindex' => $all['noindex-' . $type], 169 'schemaType' => $all['schema-page-type-' . $type], 166 'title' => !empty($all['title-' . $type]) 167 ? $all['title-' . $type] 168 : null, 169 'metaDesc' => !empty($all['metadesc-' . $type]) 170 ? $all['metadesc-' . $type] 171 : null, 172 'metaRobotsNoindex' => !empty($all['noindex-' . $type]) 173 ? boolval($all['noindex-' . $type]) 174 : false, 175 'schemaType' => !empty($all['schema-page-type-' . $type]) 176 ? $all['schema-page-type-' . $type] 177 : null, 170 178 'schema' => [ 171 'raw' => json_encode($schemaArray, JSON_UNESCAPED_SLASHES), 179 'raw' => !empty($schemaArray) 180 ? json_encode($schemaArray, JSON_UNESCAPED_SLASHES) 181 : null, 172 182 ], 173 183 'archive' => … … 189 199 ), 190 200 'archiveLink' => get_post_type_archive_link($type), 191 'title' => $post_type_object->has_archive201 'title' => !empty($all['title-ptarchive-' . $type]) 192 202 ? $all['title-ptarchive-' . $type] 193 203 : null, 194 'metaDesc' => $post_type_object->has_archive 204 'metaDesc' => !empty( 205 $all['metadesc-ptarchive-' . $type] 206 ) 195 207 ? $all['metadesc-ptarchive-' . $type] 196 208 : null, 197 'metaRobotsNoindex' => $post_type_object->has_archive 209 'metaRobotsNoindex' => !empty( 210 $all['noindex-ptarchive-' . $type] 211 ) 198 212 ? boolval($all['noindex-ptarchive-' . $type]) 199 213 : false, 200 'breadcrumbTitle' => $post_type_object->has_archive 214 'breadcrumbTitle' => !empty( 215 $all['bctitle-ptarchive-' . $type] 216 ) 201 217 ? $all['bctitle-ptarchive-' . $type] 202 218 : null, … … 933 949 934 950 foreach ($taxonomiesPostObj as $tax) { 935 if ($tax->hierarchical && $tax->graphql_single_name) { 951 if ( 952 isset($tax->hierarchical) && 953 isset($tax->graphql_single_name) 954 ) { 936 955 $name = 937 956 ucfirst($postNameKey) . -
add-wpgraphql-seo/trunk/CHANGELOG.md
r2499275 r2506472 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.12.1] - 2021-03-31 9 10 ### Changed 11 12 - guard against undefined errors 7 13 8 14 ## [4.12.0] - 2021-03-19 -
add-wpgraphql-seo/trunk/readme.txt
r2499275 r2506472 5 5 Tested up to: 5.7 6 6 Requires PHP: 7.1 7 Stable tag: 4.12. 07 Stable tag: 4.12.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
r2499275 r2506472 9 9 * Text Domain: wp-graphql-yoast-seo 10 10 * Domain Path: /languages 11 * Version: 4.12. 011 * Version: 4.12.1 12 12 * 13 13 * @package WP_Graphql_YOAST_SEO … … 164 164 165 165 $carry[$tag] = [ 166 'title' => $all['title-' . $type], 167 'metaDesc' => $all['metadesc-' . $type], 168 'metaRobotsNoindex' => $all['noindex-' . $type], 169 'schemaType' => $all['schema-page-type-' . $type], 166 'title' => !empty($all['title-' . $type]) 167 ? $all['title-' . $type] 168 : null, 169 'metaDesc' => !empty($all['metadesc-' . $type]) 170 ? $all['metadesc-' . $type] 171 : null, 172 'metaRobotsNoindex' => !empty($all['noindex-' . $type]) 173 ? boolval($all['noindex-' . $type]) 174 : false, 175 'schemaType' => !empty($all['schema-page-type-' . $type]) 176 ? $all['schema-page-type-' . $type] 177 : null, 170 178 'schema' => [ 171 'raw' => json_encode($schemaArray, JSON_UNESCAPED_SLASHES), 179 'raw' => !empty($schemaArray) 180 ? json_encode($schemaArray, JSON_UNESCAPED_SLASHES) 181 : null, 172 182 ], 173 183 'archive' => … … 189 199 ), 190 200 'archiveLink' => get_post_type_archive_link($type), 191 'title' => $post_type_object->has_archive201 'title' => !empty($all['title-ptarchive-' . $type]) 192 202 ? $all['title-ptarchive-' . $type] 193 203 : null, 194 'metaDesc' => $post_type_object->has_archive 204 'metaDesc' => !empty( 205 $all['metadesc-ptarchive-' . $type] 206 ) 195 207 ? $all['metadesc-ptarchive-' . $type] 196 208 : null, 197 'metaRobotsNoindex' => $post_type_object->has_archive 209 'metaRobotsNoindex' => !empty( 210 $all['noindex-ptarchive-' . $type] 211 ) 198 212 ? boolval($all['noindex-ptarchive-' . $type]) 199 213 : false, 200 'breadcrumbTitle' => $post_type_object->has_archive 214 'breadcrumbTitle' => !empty( 215 $all['bctitle-ptarchive-' . $type] 216 ) 201 217 ? $all['bctitle-ptarchive-' . $type] 202 218 : null, … … 933 949 934 950 foreach ($taxonomiesPostObj as $tax) { 935 if ($tax->hierarchical && $tax->graphql_single_name) { 951 if ( 952 isset($tax->hierarchical) && 953 isset($tax->graphql_single_name) 954 ) { 936 955 $name = 937 956 ucfirst($postNameKey) .
Note: See TracChangeset
for help on using the changeset viewer.