From c30ff5ce8f8f2df8af9d7a98153efdda502f3fda Mon Sep 17 00:00:00 2001 From: chandra Date: Wed, 24 Jan 2024 17:59:01 +0545 Subject: [PATCH] edit collection/licenses/creator links fixed, description kses updated --- README.md | 4 ++-- inc/class-admin-add-item.php | 6 +++--- readme.txt | 4 ++-- sell-media.php | 10 +++++----- themes/archive.php | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 5acd4060..f9cad2ee 100755 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ Contributors: endortrails, nhuja Donate link: https://graphpaperpress.com/plugins/sell-media/ Tags: photography, photos, sell media, sell photos, sell videos, sell downloads, download, downloads, e-commerce, paypal, stock photos, photo gallery, photo cart Requires at least: 6.2.1 -Tested up to: 6.3.1 -Stable tag: 2.5.8.3 +Tested up to: 6.4.2 +Stable tag: 2.5.8.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html diff --git a/inc/class-admin-add-item.php b/inc/class-admin-add-item.php index c14915f6..01a8bb67 100755 --- a/inc/class-admin-add-item.php +++ b/inc/class-admin-add-item.php @@ -197,7 +197,7 @@ function advanced_options_callback( $post ) { %1$s %2$s %3$s.

', esc_attr__( 'Assign this', 'sell_media' ), esc_attr( strtolower( $obj->labels->singular_name )), esc_attr__( 'to a collection (optional). Archive pages are automatically created for each collection and can be accessed by adding /collection/name-of-collection/ to the end of your website url (replace "name-of-collection" with the url-friendly collection name)', 'sell_media' ) ), array('p' => array('class' => true)) ); post_categories_meta_box( $post, array( 'args' => array( 'taxonomy' => 'collection' ) ) ); - echo wp_kses( sprintf( '
%s
', __( 'Edit All Collections', 'sell_media' ) ), array('p' => array('class' => true)) ); + echo wp_kses( sprintf( '
%s
', __( 'Edit All Collections', 'sell_media' ) ), GPP_WP_KSES_EXTENDED_LIST ); ?> %s', esc_attr__( 'Licenses', 'sell_media' ) ), array('h3' => array('class'), 'p' => array('class' => true)) ); echo wp_kses( sprintf( '

%s.

', esc_attr__( 'Select the available usage licenses that buyers can choose from when purchasing (optional). Licenses can be assigned "markup" which will increase the cost of the item being purchase. For example, you can might have a "Personal" usage license with no markup from your base pricelists and a "Commercial" usage license with 50% markup from your base pricelists', 'sell_media' ) ), array('h3' => array('class' => true), 'p' => array('class' => true)) ); post_categories_meta_box( $post, array( 'args' => array( 'taxonomy' => 'licenses' ) ) ); - echo wp_kses( sprintf( '
%s
', esc_attr__( 'Edit All Licenses', 'sell_media' ) ), array('h3' => array('class' => true), 'p' => array('class' => true), 'div' => array('class' => true)) ); + echo wp_kses( sprintf( '
%s
', esc_attr__( 'Edit All Licenses', 'sell_media' ) ), GPP_WP_KSES_EXTENDED_LIST ); ?> %s', esc_attr__( 'Creators', 'sell_media' ) ), array('h3' => array('class' => true), 'p' => array('class' => true), 'div' => array('class' => true)) ); echo wp_kses( sprintf( '

%s.

', esc_attr__( 'Assign a creator (optional). Creators are also automatically imported from the "Credit" IPCT metadata field in the files that you upload. Archive pages are then automatically created for each creator and can be accessed by adding /creator/name-of-creator/ to the end of your website url (replace "name-of-creator" with the url-friendly name)', 'sell_media' ) ), array('h3' => array('class' => true), 'p' => array('class' => true), 'div' => array('class' => true)) ); post_categories_meta_box( $post, array( 'args' => array( 'taxonomy' => 'creator' ) ) ); - echo wp_kses( sprintf( '
%s
', esc_attr__( 'Edit All Creators', 'sell_media' ) ), array('h3' => array('class' => true), 'p' => array('class' => true), 'div' => array('class' => true)) ); + echo wp_kses( sprintf( '
%s
', esc_attr__( 'Edit All Creators', 'sell_media' ) ), GPP_WP_KSES_EXTENDED_LIST ); ?>