Fix phpcs complaints in options file

This commit is contained in:
Jay Wood
2015-08-28 20:47:21 -04:00
parent bd6f5fe6ef
commit a5b272828a

View File

@ -2,7 +2,7 @@
// Get categories
$cat_list = get_categories();
$final_cat_list = array();
foreach ( $cat_list as $cw_cat ){
foreach ( $cat_list as $cw_cat ) {
$termID = $cw_cat->term_id;
$termName = $cw_cat->name;
@ -44,7 +44,6 @@ $cwv3_op_data = array(
'def' => 'enabled',
),
// jQuery.cookie doesn't allow hour/minutes, so we have to have a specific timeframe
// in days only.
'death' => array(
@ -53,7 +52,6 @@ $cwv3_op_data = array(
'type' => 'number',
'def' => '1',
),
// Dialog Options
'd_title' => array(
'name' => __( 'Dialog Title', 'cwv3' ),
@ -69,7 +67,7 @@ $cwv3_op_data = array(
'settings' => array(
'teeny' => true,
'media_buttons' => false,
)
),
),
'exit_txt' => array(
'name' => __( 'Exit Text', 'cwv3' ),
@ -126,7 +124,7 @@ $cwv3_op_data = array(
'settings' => array(
'media_buttons' => false,
'teeny' => true,
)
),
),
// Advanced Options
//// Styling Options
@ -159,7 +157,6 @@ $cwv3_op_data = array(
'desc' => __( 'Select categories that you would like to restrict with the dialog.', 'cwv3' ),
'type' => 'check',
'fields' => $final_cat_list,
)
)
),
),
);
?>