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: keep advanced settings removed from the reference visible · axeptio/wordpress-plugin@1e3666c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • assets/js/backend/components
    • advancedSettings.js
  • templates/admin/main/fields
    • advanced-settings.php
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎assets/js/backend/components/advancedSettings.js‎

Copy file name to clipboardExpand all lines: assets/js/backend/components/advancedSettings.js
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,11 @@ const advancedSettings = function( config ) {
9191

9292
keyLabel( row ) {
9393
const option = this.findOption( row.property );
94-
return option ? option.name : '';
94+
return option ? option.name : row.property;
95+
},
96+
97+
isUnknownSetting( row ) {
98+
return !! row.property && ! this.findOption( row.property );
9599
},
96100

97101
descriptionOf( row ) {
Collapse file

‎templates/admin/main/fields/advanced-settings.php‎

Copy file name to clipboardExpand all lines: templates/admin/main/fields/advanced-settings.php
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ class="cursor-pointer rounded-lg px-3 py-2.5 mb-0"
9393
</div>
9494

9595
<p class="text-xs leading-snug text-gray-500" x-show="row.property && descriptionOf(row)" x-cloak x-text="descriptionOf(row)"></p>
96+
<p class="text-xs leading-snug text-amber-600" x-show="isUnknownSetting(row)" x-cloak>
97+
<?php esc_html_e( 'This setting is no longer listed by Axeptio. You can keep it or remove it.', 'axeptio-sdk-integration' ); ?>
98+
</p>
9699

97100
<div class="min-w-0" x-show="row.property" x-cloak>
98101
<template x-if="row.type === TYPE_BOOLEAN">

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.