@@ -224,15 +224,15 @@ function get_options() {
224224 $ default_provider = 'doubleclick_for_publishers ' ;
225225 // Make sure our default provider exists. Otherwise, the sky will fall on our head
226226 if ( ! isset ( $ this ->providers ->$ default_provider ) ) {
227- foreach ( $ this ->providers as $ slug => $ provider ) {
227+ foreach ( $ this ->providers as $ slug => $ provider ) {
228228 $ default_provider = $ slug ;
229229 break ;
230230 }
231231 }
232232
233233 $ defaults = array (
234- 'provider ' => $ default_provider ,
235- );
234+ 'provider ' => $ default_provider ,
235+ );
236236 $ options = get_option ( 'acm_options ' , array () );
237237 return array_merge ( $ defaults , $ options );
238238 }
@@ -336,7 +336,7 @@ function handle_admin_action() {
336336 break ;
337337 case 'update_options ' :
338338 $ options = $ this ->get_options ();
339- foreach ( $ options as $ key => $ value ) {
339+ foreach ( $ options as $ key => $ value ) {
340340 if ( isset ( $ _REQUEST [$ key ] ) )
341341 $ options [$ key ] = sanitize_text_field ( $ _REQUEST [$ key ] );
342342 }
@@ -805,7 +805,7 @@ function register_ad_codes( $ad_codes = array() ) {
805805 /**
806806 * 'enable_ui_mapping' is a special argument which means this ad tag can be
807807 * mapped with ad codes through the admin interface. If that's the case, we
808- * want to make sure those ad codes are only registered with the tag.
808+ * want to make sure those ad codes are only registered with the tag.
809809 */
810810 if ( isset ( $ default_tag ['enable_ui_mapping ' ] ) && $ default_tag ['tag ' ] != $ ad_code ['url_vars ' ]['tag ' ] )
811811 continue ;
0 commit comments