Changeset 357738
- Timestamp:
- 11/06/2026 07:17:49 PM (18 hours ago)
- Location:
- wecodeart/6.8.1
- Files:
-
- 1 added
- 12 edited
- 1 copied
-
. (copied) (copied from wecodeart/6.8.0 )
-
inc/gutenberg/blocks/class-blocks.php (modified) (1 diff)
-
inc/gutenberg/blocks/class-dynamic.php (modified) (1 diff)
-
inc/gutenberg/blocks/design/class-columns.php (modified) (1 diff)
-
inc/gutenberg/blocks/text/class-details.php (modified) (6 diffs)
-
inc/gutenberg/blocks/text/class-table.php (modified) (3 diffs)
-
inc/init.php (modified) (1 diff)
-
inc/support/dom/class-dom.php (modified) (2 diffs)
-
inc/support/dom/inputs/class-floating.php (modified) (1 diff)
-
inc/support/plugins/rankmath/blocks/class-toc.php (added)
-
inc/support/plugins/rankmath/class-rankmath.php (modified) (2 diffs)
-
inc/support/styles/utilities/utilities.php (modified) (13 diffs)
-
style.css (modified) (1 diff)
-
theme.json (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wecodeart/6.8.1/inc/gutenberg/blocks/class-blocks.php
r308125 r357738 134 134 $registered = \WP_Block_Type_Registry::get_instance()->get_all_registered(); 135 135 136 if ( ! array_key_exists( $block_name , $registered ) ) {136 if ( ! array_key_exists( $block_name ?? "", $registered ) ) { 137 137 return $html; 138 138 } -
wecodeart/6.8.1/inc/gutenberg/blocks/class-dynamic.php
r267155 r357738 235 235 ], $schema ); 236 236 break; 237 default;238 237 endswitch; 239 238 -
wecodeart/6.8.1/inc/gutenberg/blocks/design/class-columns.php
r267155 r357738 69 69 * @return string The block markup. 70 70 */ 71 public function render( array $attributes = [], string $content = '', object $block = null ): string {71 public function render( array $attributes = [], string $content = '', ?object $block = null ): string { 72 72 $dom = wecodeart( 'dom' )::create( (string) $content ); 73 73 $div = wecodeart( 'dom' )::get_element( 'div', $dom ); -
wecodeart/6.8.1/inc/gutenberg/blocks/text/class-details.php
r355305 r357738 10 10 * @copyright Copyright (c) 2025, WeCodeArt Framework 11 11 * @since 6.2.0 12 * @version 6. 7.912 * @version 6.8.1 13 13 */ 14 14 … … 70 70 public function render( array $attributes = [], string $content = '' ): string { 71 71 $dom = wecodeart( 'dom' )::create( $content ); 72 $details = wecodeart( 'dom' )::get_element( 'details', $dom, 0 ); 73 $has_id = is_object( $details ) ? $details->getAttribute( 'id' ) : ''; 72 $details = wecodeart( 'dom' )::get_element( 'details', $dom, 0 ); 73 $has_id = is_object( $details ) ? $details->getAttribute( 'id' ) : ''; 74 74 75 75 if( empty( $has_id ) ) { … … 190 190 cursor: pointer; 191 191 padding: var(--wp--details--padding); 192 padding-inline- start: 2.25rem; /* room for chevron */192 padding-inline-end: 2.25rem; /* room for chevron */ 193 193 font-size: var(--wp--preset--font-size--normal); 194 194 font-weight: 700; … … 202 202 } 203 203 204 .wp-block-details summary:: before{204 .wp-block-details summary::after { 205 205 content: ""; 206 206 position: absolute; 207 207 top: calc(50% - var(--wp--details--chevron-size)); 208 left: 1rem;208 right: 1rem; 209 209 border: var(--wp--details--chevron-size) solid transparent; 210 210 border-left-color: var(--wp--details--chevron-color); … … 238 238 239 239 /* ---------- open state ---------- */ 240 details[open].wp-block-details > summary:: before,241 .wp-block-details details[open] > summary:: before{240 details[open].wp-block-details > summary::after, 241 .wp-block-details details[open] > summary::after { 242 242 transform: rotate(90deg); 243 243 } … … 268 268 269 269 .wp-block-details summary, 270 .wp-block-details summary:: before{270 .wp-block-details summary::after { 271 271 transition: 272 272 background-color var(--wp--details--duration) var(--wp--details--ease), -
wecodeart/6.8.1/inc/gutenberg/blocks/text/class-table.php
r267155 r357738 10 10 * @copyright Copyright (c) 2025, WeCodeArt Framework 11 11 * @since 5.0.0 12 * @version 6. 1.212 * @version 6.8.1 13 13 */ 14 14 … … 89 89 90 90 $wrapper->setAttribute( 'class', join( ' ', array_filter( $ommited ) ) ); 91 $wrapper->setAttribute( 'tabindex', '0' ); 91 92 92 93 // Table Changes … … 111 112 $table->setAttribute( 'class', join( ' ', $table_cls ) ); 112 113 113 return $dom->saveHTML(); 114 $processor = wecodeart( 'dom' )::processor( $dom->saveHTML() ); 115 116 if ( ! $processor->next_tag( array( 'tag_name' => 'FIGURE' ) ) ) { 117 return $dom->saveHTML(); 118 } 119 120 if ( preg_match( '#<figcaption[^>]*>(.*?)</figcaption>#s', $dom->saveHTML(), $caption ) ) { 121 $label = trim( wp_strip_all_tags( $caption[1] ) ); 122 if ( '' !== $label ) { 123 $processor->set_attribute( 'role', 'group' ); 124 $processor->set_attribute( 'aria-label', $label ); 125 } 126 } 127 128 return $processor->get_updated_html(); 114 129 } 115 130 -
wecodeart/6.8.1/inc/init.php
r267155 r357738 163 163 * @return void 164 164 */ 165 function wecodeart( $key = null, $parameters = [], WeCodeArt $theme = null ) {165 function wecodeart( $key = null, $parameters = [], ?WeCodeArt $theme = null ) { 166 166 $theme = $theme ?: WeCodeArt::get_instance(); 167 167 -
wecodeart/6.8.1/inc/support/dom/class-dom.php
r308125 r357738 10 10 * @copyright Copyright (c) 2025, WeCodeArt Framework 11 11 * @since 3.5 12 * @version 6. 4.212 * @version 6.8.1 13 13 */ 14 14 … … 130 130 $reflection = new \ReflectionClass( $processor ); 131 131 $bookmarks_prop = $reflection->getProperty( 'bookmarks' ); 132 $bookmarks_prop->setAccessible( true ); 132 // $bookmarks_prop->setAccessible( true ); 133 // PHP 8.1+ does not require this for public properties, but it's good practice to set it accessible if it's protected/private. 133 134 134 135 // Collect all matching positions -
wecodeart/6.8.1/inc/support/dom/inputs/class-floating.php
r267155 r357738 33 33 public $type = 'floating'; 34 34 public $_label = 'none'; 35 public $args = []; 35 36 36 37 /** -
wecodeart/6.8.1/inc/support/plugins/rankmath/class-rankmath.php
r267155 r357738 10 10 * @copyright Copyright (c) 2025, WeCodeArt Framework 11 11 * @since 6.1.2 12 * @version 6. 5.712 * @version 6.8.1 13 13 */ 14 14 … … 71 71 // Register RankMath FAQ Overwrite 72 72 wecodeart( 'blocks' )->register( 'rankmath/faq-block', RankMath\Blocks\FAQ::class ); 73 wecodeart( 'blocks' )->register( 'rankmath/toc-block', RankMath\Blocks\TOC::class ); 73 74 } 74 75 -
wecodeart/6.8.1/inc/support/styles/utilities/utilities.php
r267821 r357738 17 17 $shadows = wp_list_pluck( $shadows, 'shadow', 'slug' ); 18 18 $shadows = $shadows + [ 19 null=> 'var(--wp--preset--shadow--natural)',19 '' => 'var(--wp--preset--shadow--natural)', 20 20 'none' => 'none' 21 21 ]; … … 84 84 'class' => 'border', 85 85 'values' => [ 86 null=> '1px solid var(--wp--preset--color--accent)',86 '' => '1px solid var(--wp--preset--color--accent)', 87 87 0 => 0, 88 88 ], … … 92 92 'class' => 'border-top', 93 93 'values' => [ 94 null=> '1px solid var(--wp--preset--color--accent)',94 '' => '1px solid var(--wp--preset--color--accent)', 95 95 0 => 0, 96 96 ], … … 100 100 'class' => 'border-bottom', 101 101 'values' => [ 102 null=> '1px solid var(--wp--preset--color--accent)',102 '' => '1px solid var(--wp--preset--color--accent)', 103 103 0 => 0, 104 104 ], … … 108 108 'class' => 'border-start', 109 109 'values' => [ 110 null=> '1px solid var(--wp--preset--color--accent)',110 '' => '1px solid var(--wp--preset--color--accent)', 111 111 0 => 0, 112 112 ], … … 116 116 'class' => 'border-end', 117 117 'values' => [ 118 null=> '1px solid var(--wp--preset--color--accent)',118 '' => '1px solid var(--wp--preset--color--accent)', 119 119 0 => 0, 120 120 ], … … 136 136 'class' => 'rounded', 137 137 'values' => [ 138 null=> '.25rem',138 '' => '.25rem', 139 139 0 => 0, 140 140 1 => '.5rem', … … 149 149 'class' => 'rounded-top', 150 150 'values' => [ 151 null=> '.25rem',151 '' => '.25rem', 152 152 0 => 0, 153 153 ], … … 157 157 'class' => 'rounded-bottom', 158 158 'values' => [ 159 null=> '.25rem',159 '' => '.25rem', 160 160 0 => 0, 161 161 ], … … 165 165 'class' => 'rounded-start', 166 166 'values' => [ 167 null=> '.25rem',167 '' => '.25rem', 168 168 0 => 0, 169 169 ], … … 173 173 'class' => 'rounded-end', 174 174 'values' => [ 175 null=> '.25rem',175 '' => '.25rem', 176 176 0 => 0, 177 177 ], … … 727 727 'class' => 'translate-middle', 728 728 'values' => [ 729 null=> 'translate3d(-50%,-50%,0)',729 '' => 'translate3d(-50%,-50%,0)', 730 730 'x' => 'translateX(-50%)', 731 731 'y' => 'translateY(-50%)', … … 737 737 'class' => 'flip', 738 738 'values' => [ 739 null=> 'scaleX(-1) scaleY(-1)',739 '' => 'scaleX(-1) scaleY(-1)', 740 740 'x' => 'scaleX(-1)', 741 741 'y' => 'scaleY(-1)', -
wecodeart/6.8.1/style.css
r355307 r357738 5 5 Author URI: https://www.wecodeart.com/about/ 6 6 Description: A simple WordPress theme framework focused on SEO and speed (perfect 100% PageSpeed scores) while still being fully customizable via Full Site Editing. It also works perfectly with all page builder plugins. 7 Version: 6.8. 07 Version: 6.8.1 8 8 Requires PHP: 7.4 9 9 Requires at least: 6.5 10 Tested up to: 7. 010 Tested up to: 7.1 11 11 License: GNU General Public License v2 or later 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wecodeart/6.8.1/theme.json
r249211 r357738 109 109 { 110 110 "slug": "light", 111 "color": "#f 8f9fa",111 "color": "#f7f9fc", 112 112 "name": "Light" 113 113 },
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)