-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix typos #2724
base: master
Are you sure you want to change the base?
Fix typos #2724
Conversation
Fixing these may take a lot of time. I let your engineers work on this. |
public function get_ticket_sale_infomation( $ticket_sold, $post_id ) { | ||
public function get_ticket_sale_information( $ticket_sold, $post_id ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we need to create a method with the correct name and redirect this one to the correct one and call this one deprecated. There are premium add-ons that use this. I will push the change later this week.
@@ -3279,7 +3279,7 @@ public function get_tickets_unavailable_message( $tickets ) { | |||
* | |||
* @param bool $display_date | |||
*/ | |||
$display_date = apply_filters( 'tribe_tickets_unvailable_message_date', $display_date = true ); | |||
$display_date = apply_filters( 'tribe_tickets_unavailable_message_date', $display_date = true ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to be deprecated properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bordoni Do you mean apply_filters_deprecated
?
$display_date = apply_filters_deprecated( 'tribe_tickets_unvailable_message_date', $display_date = true );
$display_date = apply_filters( 'tribe_tickets_unavailable_message_date', $display_date );
https://developer.wordpress.org/reference/functions/apply_filters_deprecated/
@@ -3288,7 +3288,7 @@ public function get_tickets_unavailable_message( $tickets ) { | |||
* | |||
* @param bool $display_time | |||
*/ | |||
$display_time = apply_filters( 'tribe_tickets_unvailable_message_time', $display_time = false ); | |||
$display_time = apply_filters( 'tribe_tickets_unavailable_message_time', $display_time = false ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to be deprecated properly.
@@ -3329,7 +3329,7 @@ public function get_tickets_unavailable_message( $tickets ) { | |||
* @param string Unavailability message | |||
* @param array Collection of tickets | |||
*/ | |||
$message = apply_filters( 'event_tickets_unvailable_message', $message, $tickets ); | |||
$message = apply_filters( 'event_tickets_unavailable_message', $message, $tickets ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to be deprecated properly.
🗒️ Description
Hello! I've ran
typos
on this project and found many typos.Please consider running it on all of your projects.
Fixes