Skip to content

Commit ccb2364

Browse files
Bump version to 5.8.0
1 parent 7bdbc2f commit ccb2364

8 files changed

+75
-75
lines changed

woocommerce/changelog.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
*** SkyVerge WooCommerce Plugin Framework Changelog ***
22

3-
2020.nn.nn - version 5.8.0-dev
3+
2020.nn.nn - version 5.8.0
44
* Tweak - Migrate payment tokens to be compatible with WooCommerce core payment tokens
55
* Fix - Unblock the UI when removing a token from the admin token editor that was just added but not saved yet
66
* Dev - Deprecate some filter hooks in the payment methods table

woocommerce/class-sv-wc-plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ private function includes() {
471471
* @see SV_WC_Plugin::init_hook_deprecator()
472472
* @see SV_WC_Plugin::get_deprecated_hooks()
473473
*
474-
* @since 5.8.0-dev
474+
* @since 5.8.0
475475
*
476476
* @return array associative array
477477
*/
@@ -497,7 +497,7 @@ private function get_framework_deprecated_hooks() {
497497
$deprecated_hooks[ $deprecated_filter ] = [
498498
'removed' => true,
499499
'replacement' => false,
500-
'version' => '5.8.0-dev'
500+
'version' => '5.8.0'
501501
];
502502
}
503503

woocommerce/payment-gateway/admin/class-sv-wc-payment-gateway-admin-payment-token-editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ protected function build_token( $user_id, $token_id, $data ) {
331331
/**
332332
* Updates a token object with data saved in the admin.
333333
*
334-
* @since 5.8.0-dev
334+
* @since 5.8.0
335335
*
336336
* @param SV_WC_Payment_Gateway_Payment_Token the payment token object to update
337337
* @param string $token_id the token ID

woocommerce/payment-gateway/assets/js/frontend/sv-wc-payment-gateway-my-payment-methods.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jQuery( document ).ready ($) ->
7070

7171
# Replace Method column content with Title column content, for FW tokens.
7272
#
73-
# @since 5.8.0-dev
73+
# @since 5.8.0
7474
replace_method_column: =>
7575

7676
$( '.woocommerce-MyAccount-paymentMethods' ).find( 'tr' ).each ( index, element ) =>
@@ -98,7 +98,7 @@ jQuery( document ).ready ($) ->
9898
#
9999
# They are already hidden using CSS, but should also be removed for accessibility.
100100
#
101-
# @since 5.8.0-dev
101+
# @since 5.8.0
102102
remove_duplicate_default_marks: =>
103103

104104
$( '.woocommerce-MyAccount-paymentMethods' ).find( 'tr' ).each ( index, element ) =>

woocommerce/payment-gateway/class-sv-wc-payment-gateway-my-payment-methods.php

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ protected function load_tokens() {
230230
*
231231
* @internal
232232
*
233-
* @since 5.8.0-dev
233+
* @since 5.8.0
234234
*
235235
* @param int $token_id token ID
236236
* @param \WC_Payment_Token $token core token object
@@ -255,7 +255,7 @@ public function clear_payment_methods_transients( $token_id, $token ) {
255255
*
256256
* @internal
257257
*
258-
* @since 5.8.0-dev
258+
* @since 5.8.0
259259
*
260260
* @param array $item individual list item from woocommerce_saved_payment_methods_list
261261
* @param \WC_Payment_Token $token payment token associated with this method entry
@@ -276,7 +276,7 @@ public function add_payment_methods_list_item_id( $item, $token ) {
276276
*
277277
* @internal
278278
*
279-
* @since 5.8.0-dev
279+
* @since 5.8.0
280280
*
281281
* @param array $item individual list item from woocommerce_saved_payment_methods_list
282282
* @param \WC_Payment_Token $core_token payment token associated with this method entry
@@ -304,7 +304,7 @@ public function add_payment_methods_list_item_edit_action( $item, $core_token )
304304
* Allows actors to modify the table method actions.
305305
*
306306
* @since 4.0.0
307-
* @since 5.8.0-dev defining a class for the action button is no longer supported
307+
* @since 5.8.0 defining a class for the action button is no longer supported
308308
*
309309
* @param $actions array {
310310
* @type string $url action URL
@@ -327,7 +327,7 @@ public function add_payment_methods_list_item_edit_action( $item, $core_token )
327327
*
328328
* @internal
329329
*
330-
* @since 5.8.0-dev
330+
* @since 5.8.0
331331
*
332332
* @param array of table columns in key => Title format
333333
* @return array of table columns in key => Title format
@@ -378,7 +378,7 @@ public function add_payment_methods_columns( $columns = [] ) {
378378
/**
379379
* Gets FW token object from payment method token ID.
380380
*
381-
* @since 5.8.0-dev
381+
* @since 5.8.0
382382
*
383383
* @param string $token_id token string
384384
* @return SV_WC_Payment_Gateway_Payment_Token|null
@@ -403,7 +403,7 @@ private function get_token_by_id( $token_id ) {
403403
/**
404404
* Gets FW token object from payment method data array.
405405
*
406-
* @since 5.8.0-dev
406+
* @since 5.8.0
407407
*
408408
* @param array $method payment method data array
409409
* @return SV_WC_Payment_Gateway_Payment_Token|null
@@ -422,7 +422,7 @@ private function get_token_from_method_data_array( $method ) {
422422
*
423423
* @internal
424424
*
425-
* @since 5.8.0-dev
425+
* @since 5.8.0
426426
*
427427
* @param array $method payment method
428428
*/
@@ -440,7 +440,7 @@ public function add_payment_method_title( $method ) {
440440
*
441441
* @internal
442442
*
443-
* @since 5.8.0-dev
443+
* @since 5.8.0
444444
*
445445
* @param array $method payment method
446446
*/
@@ -458,7 +458,7 @@ public function add_payment_method_details( $method ) {
458458
*
459459
* @internal
460460
*
461-
* @since 5.8.0-dev
461+
* @since 5.8.0
462462
*
463463
* @param array $method payment method
464464
*/
@@ -473,7 +473,7 @@ public function add_payment_method_default( $method ) {
473473
*
474474
* @internal
475475
*
476-
* @since 5.8.0-dev
476+
* @since 5.8.0
477477
*
478478
* @param bool $has_methods whether there any saved payment methods in the table
479479
*/
@@ -488,7 +488,7 @@ public function before_payment_methods_table( $has_methods ) {
488488
*
489489
* @param SV_WC_Payment_Gateway_My_Payment_Methods $this instance
490490
*
491-
* @since 5.8.0-dev triggered on woocommerce_before_account_payment_methods
491+
* @since 5.8.0 triggered on woocommerce_before_account_payment_methods
492492
*
493493
* @since 4.0.0
494494
*/
@@ -502,7 +502,7 @@ public function before_payment_methods_table( $has_methods ) {
502502
*
503503
* @internal
504504
*
505-
* @since 5.8.0-dev
505+
* @since 5.8.0
506506
*
507507
* @param bool $has_methods whether there any saved payment methods in the table
508508
*/
@@ -516,7 +516,7 @@ public function after_payment_methods_table( $has_methods ) {
516516
* Fired after WooCommerce's My Payment Methods table HTML is rendered.
517517
*
518518
* @since 4.0.0
519-
* @since 5.8.0-dev triggered on woocommerce_after_account_payment_methods
519+
* @since 5.8.0 triggered on woocommerce_after_account_payment_methods
520520
*
521521
* @param SV_WC_Payment_Gateway_My_Payment_Methods $this instance
522522
*/
@@ -530,7 +530,7 @@ public function after_payment_methods_table( $has_methods ) {
530530
*
531531
* @internal
532532
*
533-
* @since 5.8.0-dev
533+
* @since 5.8.0
534534
*
535535
* @param int $core_token_id the ID of a core token
536536
* @param \WC_Payment_Token $core_token the core token object
@@ -577,11 +577,11 @@ public function payment_token_deleted( $core_token_id, $core_token ) {
577577
* @internal
578578
*
579579
* @since 4.0.0
580-
* @deprecated 5.8.0-dev
580+
* @deprecated 5.8.0
581581
*/
582582
public function render() {
583583

584-
wc_deprecated_function( __METHOD__, '5.8.0-dev' );
584+
wc_deprecated_function( __METHOD__, '5.8.0' );
585585
}
586586

587587

@@ -720,13 +720,13 @@ protected function get_no_payment_methods_html() {
720720
* TODO: remove this method by version 6.0.0 or by 2021-02-21 {WV 2020-02-21}
721721
*
722722
* @since 4.0.0
723-
* @deprecated 5.8.0-dev
723+
* @deprecated 5.8.0
724724
*
725725
* @return string table title HTML
726726
*/
727727
protected function get_table_title_html() {
728728

729-
wc_deprecated_function( __METHOD__, '5.8.0-dev' );
729+
wc_deprecated_function( __METHOD__, '5.8.0' );
730730

731731
return '';
732732
}
@@ -738,13 +738,13 @@ protected function get_table_title_html() {
738738
* TODO: remove this method by version 6.0.0 or by 2021-02-21 {WV 2020-02-21}
739739
*
740740
* @since 4.0.0
741-
* @deprecated 5.8.0-dev
741+
* @deprecated 5.8.0
742742
*
743743
* @return string table HTML
744744
*/
745745
public function get_table_html() {
746746

747-
wc_deprecated_function( __METHOD__, '5.8.0-dev' );
747+
wc_deprecated_function( __METHOD__, '5.8.0' );
748748

749749
return '';
750750
}
@@ -756,13 +756,13 @@ public function get_table_html() {
756756
* TODO: remove this method by version 6.0.0 or by 2021-02-21 {WV 2020-02-21}
757757
*
758758
* @since 4.0.0
759-
* @deprecated 5.8.0-dev
759+
* @deprecated 5.8.0
760760
*
761761
* @return string table thead HTML
762762
*/
763763
protected function get_table_head_html() {
764764

765-
wc_deprecated_function( __METHOD__, '5.8.0-dev' );
765+
wc_deprecated_function( __METHOD__, '5.8.0' );
766766

767767
return '';
768768
}
@@ -774,13 +774,13 @@ protected function get_table_head_html() {
774774
* TODO: remove this method by version 6.0.0 or by 2021-02-17 {DM 2020-02-17}
775775
*
776776
* @since 4.0.0
777-
* @deprecated 5.8.0-dev
777+
* @deprecated 5.8.0
778778
*
779779
* @return array of table headers in key => Title format
780780
*/
781781
protected function get_table_headers() {
782782

783-
wc_deprecated_function( __METHOD__, '5.8.0-dev', 'SV_WC_Payment_Gateway_My_Payment_Methods::add_payment_methods_columns' );
783+
wc_deprecated_function( __METHOD__, '5.8.0', 'SV_WC_Payment_Gateway_My_Payment_Methods::add_payment_methods_columns' );
784784

785785
return $this->add_payment_methods_columns();
786786
}
@@ -792,13 +792,13 @@ protected function get_table_headers() {
792792
* TODO: remove this method by version 6.0.0 or by 2021-02-21 {WV 2020-02-21}
793793
*
794794
* @since 4.0.0
795-
* @deprecated 5.8.0-dev
795+
* @deprecated 5.8.0
796796
*
797797
* @return string table tbody HTML
798798
*/
799799
protected function get_table_body_html() {
800800

801-
wc_deprecated_function( __METHOD__, '5.8.0-dev' );
801+
wc_deprecated_function( __METHOD__, '5.8.0' );
802802

803803
return '';
804804
}
@@ -810,14 +810,14 @@ protected function get_table_body_html() {
810810
* TODO: remove this method by version 6.0.0 or by 2021-02-21 {WV 2020-02-21}
811811
*
812812
* @since 4.0.0
813-
* @deprecated 5.8.0-dev
813+
* @deprecated 5.8.0
814814
*
815815
* @param SV_WC_Payment_Gateway_Payment_Token[] $tokens token objects
816816
* @return string table tbody > tr HTML
817817
*/
818818
protected function get_table_body_row_html( $tokens ) {
819819

820-
wc_deprecated_function( __METHOD__, '5.8.0-dev' );
820+
wc_deprecated_function( __METHOD__, '5.8.0' );
821821

822822
return '';
823823
}
@@ -829,14 +829,14 @@ protected function get_table_body_row_html( $tokens ) {
829829
* TODO: remove this method by version 6.0.0 or by 2021-02-24 {FN 2020-02-21}
830830
*
831831
* @since 4.0.0
832-
* @deprecated 5.8.0-dev
832+
* @deprecated 5.8.0
833833
*
834834
* @param SV_WC_Payment_Gateway_Payment_Token $token the token object
835835
* @return array payment method data suitable for HTML output
836836
*/
837837
protected function get_table_body_row_data( $token ) {
838838

839-
wc_deprecated_function( __METHOD__, '5.8.0-dev' );
839+
wc_deprecated_function( __METHOD__, '5.8.0' );
840840

841841
return [];
842842
}
@@ -959,14 +959,14 @@ protected function get_payment_method_details_html( SV_WC_Payment_Gateway_Paymen
959959
* TODO: remove this method by version 6.0.0 or by 2021-02-21 {WV 2020-02-21}
960960
*
961961
* @since 5.1.0
962-
* @deprecated 5.8.0-dev
962+
* @deprecated 5.8.0
963963
*
964964
* @param SV_WC_Payment_Gateway_Payment_Token $token token object
965965
* @return string
966966
*/
967967
protected function get_payment_method_expiry_html( SV_WC_Payment_Gateway_Payment_Token $token ) {
968968

969-
wc_deprecated_function( __METHOD__, '5.8.0-dev' );
969+
wc_deprecated_function( __METHOD__, '5.8.0' );
970970

971971
return '';
972972
}
@@ -978,14 +978,14 @@ protected function get_payment_method_expiry_html( SV_WC_Payment_Gateway_Payment
978978
* TODO: remove this method by version 6.0.0 or by 2021-02-21 {WV 2020-02-21}
979979
*
980980
* @since 5.1.0
981-
* @deprecated 5.8.0-dev
981+
* @deprecated 5.8.0
982982
*
983983
* @param SV_WC_Payment_Gateway_Payment_Token $token token object
984984
* @return string
985985
*/
986986
protected function get_payment_method_actions_html( SV_WC_Payment_Gateway_Payment_Token $token ) {
987987

988-
wc_deprecated_function( __METHOD__, '5.8.0-dev' );
988+
wc_deprecated_function( __METHOD__, '5.8.0' );
989989

990990
return '';
991991
}
@@ -997,14 +997,14 @@ protected function get_payment_method_actions_html( SV_WC_Payment_Gateway_Paymen
997997
* TODO: remove this method by version 6.0.0 or by 2021-02-21 {WV 2020-02-21}
998998
*
999999
* @since 4.0.0
1000-
* @deprecated 5.8.0-dev
1000+
* @deprecated 5.8.0
10011001
*
10021002
* @param SV_WC_Payment_Gateway_Payment_Token $token token object
10031003
* @return array
10041004
*/
10051005
protected function get_payment_method_actions( $token ) {
10061006

1007-
wc_deprecated_function( __METHOD__, '5.8.0-dev' );
1007+
wc_deprecated_function( __METHOD__, '5.8.0' );
10081008

10091009
return [];
10101010
}

0 commit comments

Comments
 (0)