Skip to content

Commit

Permalink
fix: deprecated messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tanftw committed Sep 6, 2024
1 parent a2ef467 commit ba949ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/modules/Cloneable/Cloneable.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function get_fields() {
];
}

public function render( $attrs, $content = null, $render_slug ) {
public function render( $attrs, $content, $render_slug ) {
global $wp_query;
$post_id = $wp_query->get_queried_object_id();

Expand Down
2 changes: 1 addition & 1 deletion includes/modules/Field/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function get_fields() {
];
}

public function render( $attrs, $content = null, $render_slug ) {
public function render( $attrs, $content, $render_slug ) {
global $wp_query;

$index = $attrs['index'] ?? null;
Expand Down

0 comments on commit ba949ef

Please sign in to comment.