Merge pull request #27448 from haydenw/fix-27436

Fix #27436
This commit is contained in:
jonathansadowski 2020-08-25 09:18:07 -05:00 committed by GitHub
commit 209ea6a8bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -489,7 +489,7 @@ class WC_Post_Types {
* @since 4.4.0 * @since 4.4.0
* @return bool * @return bool
*/ */
public function updated_term_messages( $messages ) { public static function updated_term_messages( $messages ) {
$messages['product_cat'] = array( $messages['product_cat'] = array(
0 => '', 0 => '',
1 => __( 'Category added.', 'woocommerce' ), 1 => __( 'Category added.', 'woocommerce' ),