Skip to content

Commit

Permalink
TSF v4.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
sybrew committed Sep 4, 2020
1 parent 2454004 commit 4d5e8df
Show file tree
Hide file tree
Showing 16 changed files with 650 additions and 794 deletions.
4 changes: 2 additions & 2 deletions autodescription.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: The SEO Framework
* Plugin URI: https://theseoframework.com/
* Description: An automated, advanced, accessible, unbranded and extremely fast SEO solution for your WordPress website.
* Version: 4.1.1-dev-16
* Version: 4.1.1
* Author: The SEO Framework Team
* Author URI: https://theseoframework.com/
* License: GPLv3
Expand Down Expand Up @@ -46,7 +46,7 @@
*
* @since 2.3.5
*/
define( 'THE_SEO_FRAMEWORK_VERSION', '4.1.0' );
define( 'THE_SEO_FRAMEWORK_VERSION', '4.1.1' );

/**
* The plugin Database version.
Expand Down
2 changes: 1 addition & 1 deletion inc/classes/admin-init.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -834,7 +834,7 @@ public function _wp_ajax_crop_image() {
$attachment_id = \absint( $_POST['id'] );

$context = str_replace( '_', '-', \sanitize_key( $_POST['context'] ) );
$data = array_map( 'absint', $_POST['cropDetails'] );
$data = array_map( '\\absint', $_POST['cropDetails'] );
$cropped = \wp_crop_image( $attachment_id, $data['x1'], $data['y1'], $data['width'], $data['height'], $data['dst_width'], $data['dst_height'] );

if ( ! $cropped || \is_wp_error( $cropped ) )
Expand Down
2 changes: 1 addition & 1 deletion inc/compat/plugin-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ function _get_product_gallery_image_details( $args = null, $size = 'full' ) {
if ( $post_id && \metadata_exists( 'post', $post_id, '_product_image_gallery' ) ) {
$product_image_gallery = \get_post_meta( $post_id, '_product_image_gallery', true );

$attachment_ids = array_map( 'absint', array_filter( explode( ',', $product_image_gallery ) ) );
$attachment_ids = array_map( '\\absint', array_filter( explode( ',', $product_image_gallery ) ) );
}

if ( $attachment_ids ) {
Expand Down
6 changes: 3 additions & 3 deletions inc/views/templates/settings/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<span class="tsf-post-type-warning">
<?php
the_seo_framework()->make_info(
esc_html__( "This post type is disabled, so this option won't work.", 'autodescription' )
esc_html__( "This post type is excluded, so this option won't work.", 'autodescription' )
);
?>
</span>
Expand All @@ -24,7 +24,7 @@
<span class="tsf-taxonomy-warning">
<?php
the_seo_framework()->make_info(
esc_html__( "This taxonomy is disabled, so this option won't work.", 'autodescription' )
esc_html__( "This taxonomy is excluded, so this option won't work.", 'autodescription' )
);
?>
</span>
Expand All @@ -34,7 +34,7 @@
<span class="tsf-taxonomy-from-pt-warning">
<?php
the_seo_framework()->make_info(
esc_html__( "This taxonomy's post types are also disabled, so this option won't have any effect.", 'autodescription' )
esc_html__( "This taxonomy's post types are also excluded, so this option won't have any effect.", 'autodescription' )
);
?>
</span>
Expand Down
Loading

0 comments on commit 4d5e8df

Please sign in to comment.