From 3ce6acec749166a2c76a6c8a63c1434948797aff Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Wed, 12 Jun 2019 19:31:01 -0300 Subject: [PATCH] Updated outdated codex URLs --- CHANGELOG.txt | 2 +- includes/admin/views/html-admin-page-status-report.php | 2 +- includes/class-wc-order-item.php | 2 +- includes/data-stores/abstract-wc-order-item-type-data-store.php | 2 +- includes/data-stores/class-wc-data-store-wp.php | 2 +- readme.txt | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index f081a008e03..f664926f991 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -3548,7 +3548,7 @@ * Feature - Allow setting the product post type slug to a static (non-translatable) text, mainly to be used for translating and WPML setups. * Feature - Added lost password shortcode / email notification (thanks Max Rice). * Feature - Simplified permalink/base settings now found in Settings > Permalinks. -* Feature - Support more permalink structures (from https://codex.wordpress.org/Using_Permalinks) +* Feature - Support more permalink structures (from https://wordpress.org/support/article/using-permalinks/) * Feature - Added option to resend order emails, checkboxes select which one. * Feature - New layered nav current filters widget. This lists active filters from all layered nav for de-selection. * Feature - Added the option to sell products individually (only allow 1 in the cart). diff --git a/includes/admin/views/html-admin-page-status-report.php b/includes/admin/views/html-admin-page-status-report.php index 4fbfe8e7266..0f713bfd6f5 100644 --- a/includes/admin/views/html-admin-page-status-report.php +++ b/includes/admin/views/html-admin-page-status-report.php @@ -821,7 +821,7 @@ if ( 0 < count( $dropins_mu_plugins['mu_plugins'] ) ) : $found_error = true; } elseif ( ! $_page['page_visible'] ) { /* Translators: %s: docs link. */ - echo ' ' . wp_kses_post( sprintf( __( 'Page visibility should be public', 'woocommerce' ), 'https://codex.wordpress.org/Content_Visibility' ) ) . ''; + echo ' ' . wp_kses_post( sprintf( __( 'Page visibility should be public', 'woocommerce' ), 'https://wordpress.org/support/article/content-visibility/' ) ) . ''; $found_error = true; } else { // Shortcode check. diff --git a/includes/class-wc-order-item.php b/includes/class-wc-order-item.php index 215f4e693c1..6bc4df36c23 100644 --- a/includes/class-wc-order-item.php +++ b/includes/class-wc-order-item.php @@ -38,7 +38,7 @@ class WC_Order_Item extends WC_Data implements ArrayAccess { /** * Meta type. This should match up with - * the types available at https://codex.wordpress.org/Function_Reference/add_metadata. + * the types available at https://developer.wordpress.org/reference/functions/add_metadata/. * WP defines 'post', 'user', 'comment', and 'term'. * * @var string diff --git a/includes/data-stores/abstract-wc-order-item-type-data-store.php b/includes/data-stores/abstract-wc-order-item-type-data-store.php index 99beda776d5..2e2fb6c67a0 100644 --- a/includes/data-stores/abstract-wc-order-item-type-data-store.php +++ b/includes/data-stores/abstract-wc-order-item-type-data-store.php @@ -18,7 +18,7 @@ abstract class Abstract_WC_Order_Item_Type_Data_Store extends WC_Data_Store_WP i /** * Meta type. This should match up with - * the types available at https://codex.wordpress.org/Function_Reference/add_metadata. + * the types available at https://developer.wordpress.org/reference/functions/add_metadata/. * WP defines 'post', 'user', 'comment', and 'term'. * * @var string diff --git a/includes/data-stores/class-wc-data-store-wp.php b/includes/data-stores/class-wc-data-store-wp.php index fedccda42be..9e08ec6d6bb 100644 --- a/includes/data-stores/class-wc-data-store-wp.php +++ b/includes/data-stores/class-wc-data-store-wp.php @@ -18,7 +18,7 @@ class WC_Data_Store_WP { /** * Meta type. This should match up with - * the types available at https://codex.wordpress.org/Function_Reference/add_metadata. + * the types available at https://developer.wordpress.org/reference/functions/add_metadata/. * WP defines 'post', 'user', 'comment', and 'term'. * * @var string diff --git a/readme.txt b/readme.txt index a9e3d3d6bfb..9e6856390ac 100644 --- a/readme.txt +++ b/readme.txt @@ -158,7 +158,7 @@ In the search field type “WooCommerce,” then click “Search Plugins.” Onc = Manual installation = -Manual installation method requires downloading the WooCommerce plugin and uploading it to your web server via your favorite FTP application. The WordPress codex contains [instructions on how to do this here](https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation). +Manual installation method requires downloading the WooCommerce plugin and uploading it to your web server via your favorite FTP application. The WordPress codex contains [instructions on how to do this here](https://wordpress.org/support/article/managing-plugins/#manual-plugin-installation). = Updating =