Changeset 1362872
- Timestamp:
- 03/02/2016 07:52:52 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
all-in-one-seo-pack/trunk/aioseop_class.php
r1362113 r1362872 820 820 add_action( "output_option", Array( $this, 'custom_output_option' ), 10, 2 ); 821 821 add_action('all_admin_notices', array( $this, 'visibility_warning')); 822 823 822 824 } 823 825 if(AIOSEOPPRO){ … … 1695 1697 1696 1698 $role = get_role( 'administrator' ); 1697 $role->add_cap( 'aiosp_manage_seo' );1699 $role->add_cap( 'aiosp_manage_seo' ); 1698 1700 1699 1701 aioseop_update_settings_check(); … … 1902 1904 }elseif( '1' == get_option('blog_public') && !empty( $aioseop_visibility_notice_dismissed ) ){ 1903 1905 delete_user_meta( get_current_user_id(), 'aioseop_visibility_notice_dismissed' ); 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1904 1928 } 1905 1929 }
Note: See TracChangeset
for help on using the changeset viewer.