File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,9 +79,9 @@ public function save( $raw_data ) {
7979 // Pull value from request.
8080 if ( $ child ) {
8181 // []=xxx or [0]=xxx
82- $ data = ! empty ( $ raw_data [ $ id ][ $ child ] ) ? $ raw_data [ $ id ][ $ child ] : false ;
82+ $ data = ! empty ( $ raw_data [ $ id ][ $ child ] ) ? $ raw_data [ $ id ][ $ child ] : $ this -> type_casting ( false , $ id ) ;
8383 } else {
84- $ data = ! empty ( $ raw_data [ $ id ] ) ? $ raw_data [ $ id ] : false ;
84+ $ data = ! empty ( $ raw_data [ $ id ] ) ? $ raw_data [ $ id ] : $ this -> type_casting ( false , $ id ) ;
8585 }
8686
8787 // Sanitize/normalize complex fields.
Original file line number Diff line number Diff line change @@ -770,7 +770,7 @@ public function load_default_vals() {
770770 * @since 3.0
771771 */
772772 protected function _conf_string_val ( $ id , $ val ) {
773- return $ val ;
773+ return ( string ) $ val ;
774774 }
775775
776776 /**
Original file line number Diff line number Diff line change @@ -50,8 +50,6 @@ class Htaccess extends Root {
5050 const MARKER_START = ' start ### ' ;
5151 const MARKER_END = ' end ### ' ;
5252
53- const RW_PATTERN_RES = '/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php ' ;
54-
5553 /**
5654 * Initialize the class and set its properties.
5755 *
You can’t perform that action at this time.
0 commit comments