mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-13 22:05:44 +03:00
Run phpcs code formatter
This commit is contained in:
parent
37b7e4451a
commit
f412bc8fba
4 changed files with 12 additions and 12 deletions
|
@ -20,8 +20,8 @@ function register_block_bindings() {
|
|||
register_block_bindings_source(
|
||||
'wporg-5ftf/pledge-meta',
|
||||
array(
|
||||
'label' => 'Pledge meta',
|
||||
'uses_context' => [ 'postId' ],
|
||||
'label' => 'Pledge meta',
|
||||
'uses_context' => [ 'postId' ],
|
||||
'get_value_callback' => __NAMESPACE__ . '\get_meta_binding_value',
|
||||
)
|
||||
);
|
||||
|
|
|
@ -90,15 +90,15 @@ function get_sort_options( $options ) {
|
|||
}
|
||||
|
||||
return array(
|
||||
'label' => $label,
|
||||
'title' => __( 'Sort', 'wporg-5ftf' ),
|
||||
'key' => 'order',
|
||||
'action' => home_url( '/pledges/' ),
|
||||
'options' => array(
|
||||
'' => __( 'Random', 'wporg-5ftf' ),
|
||||
'label' => $label,
|
||||
'title' => __( 'Sort', 'wporg-5ftf' ),
|
||||
'key' => 'order',
|
||||
'action' => home_url( '/pledges/' ),
|
||||
'options' => array(
|
||||
'' => __( 'Random', 'wporg-5ftf' ),
|
||||
'alphabetical' => __( 'Alphabetical', 'wporg-5ftf' ),
|
||||
'contributors' => __( 'Total Contributors', 'wporg-5ftf' ),
|
||||
'hours' => __( 'Total Hours', 'wporg-5ftf' ),
|
||||
'hours' => __( 'Total Hours', 'wporg-5ftf' ),
|
||||
),
|
||||
'selected' => [ $sort ],
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue