Changeset 1354253
- Timestamp:
- 02/19/2016 03:33:29 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
all-in-one-seo-pack/trunk/aioseop_class.php
r1353803 r1354253 1914 1914 || ( is_tax() && in_array( get_query_var( 'taxonomy' ), $tax_noindex ) ) ) { 1915 1915 $noindex = 'noindex'; 1916 } elseif ( ( is_single() || is_page() || $this->is_static_posts_page() || is_attachment() || is_category() || is_tag() || is_tax() || ( $page > 1 ) ) ) { 1916 } 1917 if ( ( is_single() || is_page() || $this->is_static_posts_page() || is_attachment() || is_category() || is_tag() || is_tax() || ( $page > 1 ) ) ) { 1917 1918 $post_type = get_post_type(); 1918 1919 if ( !empty( $opts ) ) { … … 1927 1928 if ( ( $aiosp_noindex == 'on' ) || ( ( !empty( $aioseop_options['aiosp_paginated_noindex'] ) ) && ( ( $page > 1 ) ) ) || 1928 1929 ( ( $aiosp_noindex == '' ) && ( !empty( $aioseop_options['aiosp_cpostnoindex'] ) ) && ( in_array( $post_type, $aioseop_options['aiosp_cpostnoindex'] ) ) ) ) 1929 $noindex = "no " . $noindex;1930 $noindex = "no; 1930 1931 if ( ( $aiosp_nofollow == 'on' ) || ( ( !empty( $aioseop_options['aiosp_paginated_nofollow'] ) ) && ( ( $page > 1 ) ) ) || 1931 1932 ( ( $aiosp_nofollow == '' ) && ( !empty( $aioseop_options['aiosp_cpostnofollow'] ) ) && ( in_array( $post_type, $aioseop_options['aiosp_cpostnofollow'] ) ) ) ) 1932 $nofollow = "no " . $nofollow;1933 $nofollow = "no; 1933 1934 if ( ( $aiosp_noodp == 'on' ) || ( empty( $aiosp_noodp ) && ( !empty( $aioseop_options['aiosp_cpostnoodp'] ) && ( in_array( $post_type, $aioseop_options['aiosp_cpostnoodp'] ) ) ) ) ) 1934 1935 $aiosp_noodp = true;
Note: See TracChangeset
for help on using the changeset viewer.