We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a3e74 commit 0d83d96Copy full SHA for 0d83d96
output/function.php
@@ -1852,9 +1852,12 @@ function saswp_get_the_tags(){
1852
1853
$meta_tag = array_column($post_meta, 'value');
1854
$key = array_search("keywords",$meta_tag);
1855
-
1856
- if(array_key_exists($key, $post_meta)){
1857
- $tag_str = $post_meta[$key]['content'];
+ if(!empty($key)){
+ if(is_numeric($key) || is_string($key)){
+ if(array_key_exists($key, $post_meta)){
1858
+ $tag_str = $post_meta[$key]['content'];
1859
+ }
1860
1861
}
1862
1863
0 commit comments