Changeset 3418051
- Timestamp:
- 12/12/2025 09:14:37 AM (2 days ago)
- Location:
- personalizer/trunk
- Files:
-
- 2 edited
-
inc/Personas.php (modified) (1 diff)
-
package-lock.json (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
personalizer/trunk/inc/Personas.php
r3417050 r3418051 67 67 $term->primary_color = get_term_meta( $term->term_id, 'persona_primary_color', true ); 68 68 $term->secondary_color = get_term_meta( $term->term_id, 'persona_secondary_color', true ); 69 if( $term->primary_color === $term->secondary_color ) { 70 if( $term->secondary_color === '#000000' ) { 71 $term->primary_color = '#FFFFFF'; 72 } else { 73 $term->primary_color = '#000000'; 74 } 75 } 69 76 $term->sort_order = get_term_meta( $term->term_id, 'persona_sort_order', true ) ?: 0; 70 77 $term = apply_filters('personalizer_persona_hydrated', $term); -
personalizer/trunk/package-lock.json
r3417050 r3418051 6226 6226 }, 6227 6227 "node_modules/@types/node": { 6228 "version": "25.0. 0",6229 "resolved": "https://registry.npmjs.org/@types/node/-/node-25.0. 0.tgz",6230 "integrity": "sha512- rl78HwuZlaDIUSeUKkmogkhebA+8K1Hy7tddZuJ3D0xV8pZSfsYGTsliGUol1JPzu9EKnTxPC4L1fiWouStRew==",6228 "version": "25.0.1", 6229 "resolved": "https://registry.npmjs.org/@types/node/-/node-25.0.1.tgz", 6230 "integrity": "sha512-czWPzKIAXucn9PtsttxmumiQ9N0ok9FrBwgRWrwmVLlp86BrMExzvXRLFYRJ+Ex3g6yqj+KuaxfX1JTgV2lpfg==", 6231 6231 "license": "MIT", 6232 6232 "dependencies": { … … 11440 11440 }, 11441 11441 "node_modules/enhanced-resolve": { 11442 "version": "5.18. 3",11443 "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18. 3.tgz",11444 "integrity": "sha512- d4lC8xfavMeBjzGr2vECC3fsGXziXZQyJxD868h2M/mBI3PwAuODxAkLkq5HYuvrPYcUtiLzsTo8U3PgX3Ocww==",11442 "version": "5.18.4", 11443 "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.18.4.tgz", 11444 "integrity": "sha512-LgQMM4WXU3QI+SYgEc2liRgznaD5ojbmY3sb8LxyguVkIg5FxdpTkvk72te2R38/TGKxH634oLxXRGY6d7AP+Q==", 11445 11445 "license": "MIT", 11446 11446 "dependencies": { … … 16215 16215 }, 16216 16216 "node_modules/lighthouse/node_modules/puppeteer-core": { 16217 "version": "24.3 2.1",16218 "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.3 2.1.tgz",16219 "integrity": "sha512- GdWTOgy3RqaW6Etgx93ydlVJ4FBJ6TmhMksG5W7v4uawKAzLHNj33k4kBQ1SFZ9NvoXNjhdQuIQ+uik2kWnarA==",16217 "version": "24.33.0", 16218 "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-24.33.0.tgz", 16219 "integrity": "sha512-tPTxVg+Qdj/8av4cy6szv3GlhxeOoNhiiMZ955fjxQyvPQE/6DjCa6ZyF/x0WJrlgBZtaLSP8TQgJb7FdLDXXA==", 16220 16220 "license": "Apache-2.0", 16221 16221 "dependencies": { … … 22624 22624 }, 22625 22625 "node_modules/terser-webpack-plugin": { 22626 "version": "5.3.1 5",22627 "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.1 5.tgz",22628 "integrity": "sha512- PGkOdpRFK+rb1TzVz+msVhw4YMRT9txLF4kRqvJhGhCM324xuR3REBSHALN+l+sAhKUmz0aotnjp5D+P83mLhQ==",22626 "version": "5.3.16", 22627 "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.3.16.tgz", 22628 "integrity": "sha512-h9oBFCWrq78NyWWVcSwZarJkZ01c2AyGrzs1crmHZO3QUg9D61Wu4NPjBy69n7JqylFF5y+CsUZYmYEIZ3mR+Q==", 22629 22629 "license": "MIT", 22630 22630 "dependencies": {
Note: See TracChangeset
for help on using the changeset viewer.