GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(admin): prevent double-escaping of widget defaults and empty name… · axeptio/wordpress-plugin@c4e2471

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • includes/classes/models
    • class-axeptio-steps.php
  • templates/admin/common/fields
    • select-languages.php
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎includes/classes/models/class-axeptio-steps.php‎

Copy file name to clipboardExpand all lines: includes/classes/models/class-axeptio-steps.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ class Axeptio_Steps {
1818
public static function get_default_value( string $field ): string {
1919
switch ( $field ) {
2020
case 'widget_title':
21-
return esc_html__( 'WordPress Cookies', 'axeptio-wordpress-plugin' );
21+
return __( 'WordPress Cookies', 'axeptio-wordpress-plugin' );
2222
case 'widget_subtitle':
23-
return esc_html__( 'Here you will find all WordPress extensions using cookies.', 'axeptio-wordpress-plugin' );
23+
return __( 'Here you will find all WordPress extensions using cookies.', 'axeptio-wordpress-plugin' );
2424
case 'widget_description':
25-
return esc_html__( 'Below is the list of extensions used on this site that utilize cookies. Please activate or deactivate the ones for which you consent to sharing your data.', 'axeptio-wordpress-plugin' );
25+
return __( 'Below is the list of extensions used on this site that utilize cookies. Please activate or deactivate the ones for which you consent to sharing your data.', 'axeptio-wordpress-plugin' );
2626
default:
2727
return '';
2828
}
Collapse file

‎templates/admin/common/fields/select-languages.php‎

Copy file name to clipboardExpand all lines: templates/admin/common/fields/select-languages.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class="relative"
1313
<?php endif ?>
1414
</label>
1515

16-
<input type="hidden" :name="state.name" x-model="state.value">
16+
<input type="hidden" :name="state.name || null" x-model="state.value">
1717

1818
<button
1919
type="button"

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.