| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/woocommerce-shop-page.php.tar |
plugins/wordpress-seo/admin/views/tabs/metas/paper-content/post_type/woocommerce-shop-page.php 0000644 00000001773 15111676723 0036165 0 ustar 00 home/xbodynamge/namtation/wp-content <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Admin\Views\General
*
* @uses WP_Post_Type $wpseo_post_type
*/
$description = esc_html__( 'You haven\'t set a Shop page in your WooCommerce settings. Please do this first.', 'wordpress-seo' );
if ( YoastSEO()->helpers->woocommerce->get_shop_page_id() !== -1 ) {
$description = sprintf(
/* translators: %1$s expands to an opening anchor tag, %2$s expands to a closing anchor tag. */
esc_html__( 'You can edit the SEO metadata for this custom type on the %1$sShop page%2$s.', 'wordpress-seo' ),
'<a href="' . esc_url( get_edit_post_link( YoastSEO()->helpers->woocommerce->get_shop_page_id() ) ) . '">',
'</a>'
);
}
/* translators: %s expands to the post type name. */
echo '<h3>', esc_html( sprintf( __( 'Settings for %s archive', 'wordpress-seo' ), $wpseo_post_type->labels->name ) ), '</h3>';
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: Output is properly escaped already, see above.
echo '<p>', $description, '</p>';
plugins/wordpress-seo/admin/views/tabs/metas/paper-content/post_type/woocommerce-shop-page.php 0000644 00000001773 15114544070 0037050 0 ustar 00 home/xbodynamge/crosstraining/wp-content <?php
/**
* WPSEO plugin file.
*
* @package WPSEO\Admin\Views\General
*
* @uses WP_Post_Type $wpseo_post_type
*/
$description = esc_html__( 'You haven\'t set a Shop page in your WooCommerce settings. Please do this first.', 'wordpress-seo' );
if ( YoastSEO()->helpers->woocommerce->get_shop_page_id() !== -1 ) {
$description = sprintf(
/* translators: %1$s expands to an opening anchor tag, %2$s expands to a closing anchor tag. */
esc_html__( 'You can edit the SEO metadata for this custom type on the %1$sShop page%2$s.', 'wordpress-seo' ),
'<a href="' . esc_url( get_edit_post_link( YoastSEO()->helpers->woocommerce->get_shop_page_id() ) ) . '">',
'</a>'
);
}
/* translators: %s expands to the post type name. */
echo '<h3>', esc_html( sprintf( __( 'Settings for %s archive', 'wordpress-seo' ), $wpseo_post_type->labels->name ) ), '</h3>';
// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Reason: Output is properly escaped already, see above.
echo '<p>', $description, '</p>';