2025-06-12

- sauvegarde les changements en vrac avant de tester les modifications
  demandées par Manon
This commit is contained in:
gcch 2025-06-12 17:09:38 +02:00
commit e0e7bf18f2
15 changed files with 767 additions and 424 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

View file

@ -0,0 +1,9 @@
<svg
width="307.49"
height="77.116"
viewBox="0 0 307.49 77.116"
xml:space="preserve"
xmlns="http://www.w3.org/2000/svg"
><path
d="M32.444 37.183c-20.81 0-21.059 17.971-21.059 36.43 0 1.02-.949 2.25-2.183 2.25h-7.02C.949 75.863 0 74.884 0 73.613V2.52C0 1.249.948.271 2.182.271h7.59c1.526 0 2.181.767 2.181 1.858 0 8.244 2.358 26.106 20.49 26.106 18.816 0 20.491-16.657 20.491-26.106 0-1.092 1.043-1.858 2.182-1.858h7.59c1.232 0 2.181.978 2.181 2.249v71.093c0 1.271-.948 2.25-2.181 2.25h-7.021c-1.233 0-2.182-1.261-2.182-2.25.002-16.652.434-36.43-21.059-36.43M71.91 74.247c-.854-34.243 16.317-55.889 32.159-66.01 7.114-4.524 15.652-7.646 31.115-7.861 1.518 0 2.276 1.184 2.276 3.015v55.565c0 9.692-8.063 15.387-15.842 13.771-12.522-2.585-18.594-17.647-26.183-25.832-2.656-2.799-6.355-2.691-8.917.754-3.51 4.738-3.226 9.8-3.226 25.844 0 2.047-.189 2.263-1.992 2.37h-7.874c-.947 0-1.516-.431-1.516-1.616m55.116-22.506-.285-29.721c0-4.2-2.276-6.999-5.977-6.892-4.269.107-10.909 3.337-14.419 6.568-5.027 4.522-5.881 7.107-4.079 12.599 1.423 4.2 9.961 18.199 16.222 22.291 4.269 2.908 8.538.647 8.538-4.845m23.441 21.312V2.703c0-2.162.569-2.703 2.088-2.703h9.651c1.803 0 1.96.541 1.96 2.703l.095 70.35c0 2.053-.949 2.81-2.467 2.81h-8.955c-1.518 0-2.372-.649-2.372-2.81m26.796.878V2.459c0-1.395 1.183-1.717 2.131-1.717h8.539c1.138 0 2.226.322 2.226 1.717v24.716c0 1.54 1.606 1.54 1.606 1.54 3.875 0 11.305.032 11.305.032 18.014 0 19.026-16.768 19.026-25.858 0-1.621.569-2.146 1.993-2.146L233.09.64c1.233 0 2.092.841 2.092 2.249 0 15.577-1.188 29.832-16.069 29.832 17.291 0 16.543 20.726 16.543 41.102 0 1.186-.38 2.04-1.708 2.04h-9.29c-1.707 0-1.896-.858-1.896-2.254 0-21.024-1.217-35.922-20.182-35.922h-10.903c-1.138 0-1.518.429-1.518 1.824v34.42c0 1.181-1.088 1.932-2.226 1.932h-8.539c-.948 0-2.131-.751-2.131-1.932m114.835-31.974V3.248c0-1.847.398-2.607 2.093-2.607h11.205c1.895 0 2.094.761 2.094 2.607v41.275c0 16.075-13.059 33.021-30.801 32.585-17.741-.434-30.799-16.51-30.799-32.585V3.248c0-1.847.199-2.607 2.093-2.607h11.205c1.694 0 2.093.761 2.093 2.607v38.709c0 11.403 2.433 23.85 15.408 23.85 13.431-.001 15.409-12.447 15.409-23.85"
/></svg>

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -105,12 +105,12 @@ export const WCV3ProductAttributeSchema = v.object({
export const WCV3ProductDefaultAttributeSchema = v.object({
id: v.pipe(v.number(), v.integer()),
name: v.string(),
option: v.string(),
option: v.optional(v.unknown()),
});
export const WCV3ProductMetaDataSchema = v.object({
id: v.pipe(v.number(), v.integer()),
key: v.string(),
option: v.unknown(),
option: v.optional(v.unknown()),
});
export const WCV3ProductSchema = v.object({

View file

@ -10,7 +10,7 @@
decoding="async"
height="25"
loading="eager"
src="{{ site.theme.link }}/assets/img/logos/logo-lines.svg"
src="{{ site.theme.link }}/assets/img/logos/logo-v2-text.png"
width="80"
>
</button>

View file

@ -4,7 +4,7 @@ namespace Carbon_Fields;
# Define version constant
if ( ! defined( __NAMESPACE__ . '\VERSION' ) ) {
define( __NAMESPACE__ . '\VERSION', '3.6.6' );
define( __NAMESPACE__ . '\VERSION', '3.6.9' );
}
# Define root directory

View file

@ -449,9 +449,7 @@ class Block_Container extends Container {
unset($attributes['data']);
ob_start();
call_user_func( $this->render_callback , $fields, $attributes, $content, $post_id, $block );
$toReturn = ob_get_contents();
ob_clean();
return $toReturn;
return ob_get_clean();
}
/**

View file

@ -100,11 +100,14 @@ class Meta_Query_Service extends Service {
}
public function filter_get_meta_sql( $sql ) {
if ( strpos( $sql['where'], static::META_KEY_PREFIX ) !== false ) {
$sql['where'] = preg_replace( $this->get_meta_key_replace_regex(), '$1 LIKE $2', $sql['where'] );
}
return $sql;
}
if ( strpos( $sql['where'], static::META_KEY_PREFIX ) !== false ) {
$sql['where'] = preg_replace( $this->get_meta_key_replace_regex(), '$1 LIKE $2', $sql['where'] );
}
if ( strpos( $sql['join'], static::META_KEY_PREFIX ) !== false ) {
$sql['join'] = str_replace( static::META_KEY_PREFIX, '', $sql['join'] );
}
return $sql;
}
/**************************************************
* WP_QUERY *

View file

@ -1,6 +1,6 @@
{
"name": "carbon-fields",
"version": "3.6.6",
"version": "3.6.9",
"description": "WordPress developer-friendly custom fields for post types, taxonomy terms, users, comments, widgets, options, navigation menus and more.",
"directories": {
"test": "tests"