• Resolved Mike Stop Continues

    (@mike-stop-continues)


    validate method should be compatible with scbAdminPage::validate…

    function validate( $new_data, $old_data ) {
    		foreach ( array( 'style', 'num_pages', 'num_larger_page_numbers', 'larger_page_numbers_multiple' ) as $key )
    			$new_data[$key] = absint( @$new_data[$key] );
    
    		foreach ( array( 'use_pagenavi_css', 'always_show' ) as $key )
    			$new_data[$key] = (bool) @$new_data[$key];
    
    		return $new_data;
    	}

    https://www.ads-software.com/plugins/wp-pagenavi/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘admin.php fix to account for strict notice…’ is closed to new replies.