Made method calls more compact

This commit is contained in:
Andrey Savchenko committed 2015-06-11 12:40:19 +03:00
1 parent a3cc36b661
commit 7dfea751f5
1 file changed
+9 -13
+9 -13
View File
@@ -286,19 +286,15 @@ class Laps {
)
);
$wp_admin_bar->add_node(
array(
'id' => 'laps',
'title' => sprintf( 'Lap: %ss', round( $total / 1000, 3 ) ),
)
);
$wp_admin_bar->add_node( array(
'id' => 'laps',
'title' => sprintf( 'Lap: %ss', round( $total / 1000, 3 ) ),
) );
$wp_admin_bar->add_node(
array(
'id' => 'laps_output',
'parent' => 'laps',
'meta' => array( 'html' => $html ),
)
);
$wp_admin_bar->add_node( array(
'id' => 'laps_output',
'parent' => 'laps',
'meta' => array( 'html' => $html ),
) );
}
}