--- a/wp-data-access/WPDataAccess/API/WPDA_API.php
+++ b/wp-data-access/WPDataAccess/API/WPDA_API.php
@@ -27,8 +27,7 @@
if (
'/' . self::WPDA_NAMESPACE === $rest_route &&
- ! current_user_can( 'manage_options' ) &&
- ! current_user_can( 'manage_sites' )
+ ! WPDA::current_user_is_admin()
) {
return new WP_Error(
'rest_cannot_access',
--- a/wp-data-access/WPDataAccess/API/WPDA_Apps.php
+++ b/wp-data-access/WPDataAccess/API/WPDA_Apps.php
@@ -1697,7 +1697,7 @@
$map,
$theme
) {
- if ( 1 > $app_id || 1 > $cnt_id || 'table' !== $target && 'form' !== $target && 'rform' !== $target && 'theme' !== $target && 'chart' !== $target && 'map' !== $target ) {
+ if ( 1 > $app_id || 1 > $cnt_id || 'table' !== $target && 'form' !== $target && 'rform' !== $target && 'theme' !== $target && 'chart' !== $target && 'map' !== $target && 'dashboard' !== $target ) {
return $this->bad_request();
}
if ( null === $settings || '' === $settings ) {
@@ -1743,6 +1743,14 @@
));
}
break;
+ case 'dashboard':
+ $error_msg = WPDA_App_Container_Model::update_dashboard_settings( $app_id, null );
+ if ( '' !== $error_msg ) {
+ return new WP_Error('error', $error_msg, array(
+ 'status' => 403,
+ ));
+ }
+ break;
default:
return $this->bad_request();
}
@@ -1806,6 +1814,15 @@
'status' => 403,
));
}
+ } else {
+ if ( 'dashboard' === $target ) {
+ $error_msg = WPDA_App_Container_Model::update_dashboard_settings( $cnt_id, $settings );
+ if ( '' !== $error_msg ) {
+ return new WP_Error('error', $error_msg, array(
+ 'status' => 403,
+ ));
+ }
+ }
}
}
}
--- a/wp-data-access/WPDataAccess/API/WPDA_Table.php
+++ b/wp-data-access/WPDataAccess/API/WPDA_Table.php
@@ -1205,7 +1205,7 @@
}
private function get_table_access( $dbs, $tbl ) {
- if ( current_user_can( 'manage_options' ) ) {
+ if ( WPDA::current_user_is_admin() ) {
// Check administrator rights
if ( is_admin() ) {
$access = WPDA_Dictionary_Access::check_table_access_backend( $dbs, $tbl, $done );
--- a/wp-data-access/WPDataAccess/Dashboard/WPDA_Dashboard.php
+++ b/wp-data-access/WPDataAccess/Dashboard/WPDA_Dashboard.php
@@ -332,13 +332,13 @@
* @return string
*/
protected function get_help_url() {
- $help_root = 'https://wpdataaccess.com/docs/';
+ $help_url = 'https://docs.wpdataaccess.com/';
if ( isset( $_REQUEST['page'] ) ) {
// phpcs:ignore WordPress.Security.NonceVerification
switch ( $_REQUEST['page'] ) {
// phpcs:ignore WordPress.Security.NonceVerification
case WP_Data_Access_Admin::PAGE_MAIN:
- $help_url = $help_root . 'data-explorer/data-explorer-getting-started/';
+ $help_url = 'https://docs.legacy.wpdataaccess.com/docs/data-explorer-getting-started/';
break;
case WP_Data_Access_Admin::PAGE_APPS:
$help_url = 'https://docs.rad.wpdataaccess.com/';
@@ -347,22 +347,22 @@
$help_url = 'https://docs.sql.wpdataaccess.com/';
break;
case WP_Data_Access_Admin::PAGE_DESIGNER:
- $help_url = $help_root . 'data-designer/data-designer-getting-started/';
+ $help_url = 'https://docs.legacy.wpdataaccess.com/docs/data-designer-getting-started/';
break;
case WP_Data_Access_Admin::PAGE_PUBLISHER:
- $help_url = $help_root . 'data-tables/data-tables-getting-started/';
+ $help_url = 'https://docs.legacy.wpdataaccess.com/docs/data-tables-getting-started/';
break;
case WP_Data_Access_Admin::PAGE_DASHBOARD:
- $help_url = $help_root . 'dashboards-and-widgets/bi-getting-started/';
+ $help_url = 'https://docs.legacy.wpdataaccess.com/docs/bi-getting-started/';
break;
case WP_Data_Access_Admin::PAGE_CHARTS:
- $help_url = $help_root . 'charts-legacy/chart-widgets/';
+ $help_url = 'https://docs.legacy.wpdataaccess.com/docs/chart-widgets/';
break;
case WPDP::PAGE_MAIN:
- $help_url = $help_root . 'data-forms/data-projects/';
+ $help_url = 'https://docs.legacy.wpdataaccess.com/docs/data-projects/';
break;
case WPDP::PAGE_TEMPLATES:
- $help_url = $help_root . 'templates/project-templates/';
+ $help_url = 'https://docs.legacy.wpdataaccess.com/docs/project-templates/';
break;
case 'wpdataaccess':
$current_tab = ( isset( $_REQUEST['tab'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['tab'] ) ) : 'plugin' );
@@ -424,15 +424,9 @@
$help_url = 'https://docs.settings.wpdataaccess.com/legacy-tools-plugin.html';
}
break;
- default:
- $help_url = 'https://docs.settings.wpdataaccess.com/';
}
break;
- default:
- $help_url = 'https://docs.wpdataaccess.com/';
}
- } else {
- $help_url = 'https://docs.wpdataaccess.com/';
}
return $help_url;
}
@@ -730,7 +724,7 @@
<?php
}
?>
- <li class="menu-item"><a target="_blank" href="https://wpdataaccess.com/documentation/"><i class="fas fa-question"></i> Online Documentation</a></li>
+ <li class="menu-item"><a target="_blank" href="https://docs.wpdataaccess.com/"><i class="fas fa-question"></i> Online Documentation</a></li>
<li class="menu-item"><a target="_blank" href="https://wordpress.org/support/plugin/wp-data-access/"><i class="fas fa-life-ring"></i> Support Forum</a></li>
<?php
?>
@@ -844,7 +838,7 @@
</td>
<td style="white-space:nowrap">
<a href="https://wpdataaccess.com/pricing/" target="_blank" class="button button-primary">UPGRADE TO PREMIUM</a>
- <a href="https://wpdataaccess.com/docs/dashboards-and-widgets/bi-getting-started/" target="_blank" class="button">READ MORE</a>
+ <a href="https://docs.legacy.wpdataaccess.com/docs/bi-getting-started/" target="_blank" class="button">READ MORE</a>
</td>
</tr>
</table>
@@ -1105,15 +1099,6 @@
<i class="fas fa-toggle-on"></i>
<span>Switch to old Data Explorer</span>
</a>
- <span>
- <a href="https://wpdataaccess.com/2024/01/26/the-new-data-explorer-wp-data-access-5-4-0/"
- target="_blank"
- class="wpda_tooltip"
- title="Click to read more"
- >
- <i class="fas fa-circle-info"></i>
- </a>
- </span>
</span>
<?php
}
@@ -1690,7 +1675,7 @@
<?php
if ( !class_exists( 'Code_Manager\Code_Manager_Model' ) || !class_exists( 'WPDataAccess\Premium\WPDAPRO_Dashboard\WPDAPRO_Widget_Project' ) ) {
?>
- <a href="https://wpdataaccess.com/docs/dashboards-and-widgets/bi-getting-started/" target="_blank">
+ <a href="https://docs.legacy.wpdataaccess.com/docs/bi-getting-started/" target="_blank">
<i class="fas fa-question-circle pointer wpda_tooltip"
style="font-size: 170%; vertical-align: middle"
title="Your installation does not support all available widget types! Click to learn how to install more widget types..."></i>
@@ -2277,61 +2262,9 @@
case 'templates':
case 'charts':
$promotions = array(array(
- 'This tool will transition to the new App Builder. Please migrate on time.' => array(null, 'fa-lightbulb'),
- ));
- break;
- case 'csv':
- $promotions = array(array(
- 'Use the connection wizards for automated CSV synchronization.' => array('https://wpdataaccess.com/docs/remote-data-files/csv-files/', 'fa-lightbulb'),
+ 'This tool will be transitioned to the new App Builder. Please migrate on time.' => array(null, 'fa-lightbulb'),
));
break;
- case 'publisher_OLD':
- $promotions = array(
- array(
- 'Change data table color, spacing, border radius and modal popup behaviour.' => array('https://wpdataaccess.com/data-tables-styling/premium-styling/', 'fa-palette'),
- ),
- array(
- 'Reorder data table elements with drag and drop.' => array('https://wpdataaccess.com/docs/data-tables/extension-manager/', 'fa-star'),
- ),
- array(
- 'Add buttons to support CSV, Excel, PDF and SQL downloads.' => array('https://wpdataaccess.com/docs/data-tables/extension-manager/', 'fa-cloud-download'),
- ),
- array(
- 'Add user friendly Search Panes to simplify searching.' => array('https://wpdataaccess.com/docs/data-tables-interactive-filters/search-panes/', 'fa-magic'),
- ),
- array(
- 'Use the Search Builder to add interactive searching.' => array('https://wpdataaccess.com/docs/data-tables-interactive-filters/search-builder/', 'fa-search'),
- ),
- array(
- 'Synchronize your Google Sheets from the Data Explorer.' => array('https://wpdataaccess.com/docs/remote-data-files/public-url/#google-sheets', 'fa-database'),
- )
- );
- break;
- case 'wpda':
- $promotions = array(
- array(
- 'Access your SQL Server tables from the Data Explorer.' => array('https://wpdataaccess.com/docs/remote-database-connections/sql-server/', 'fa-database'),
- ),
- array(
- 'Access your PostgreSQL tables from the Data Explorer.' => array('https://wpdataaccess.com/docs/remote-database-connections/postgresql/', 'fa-database'),
- ),
- array(
- 'Access your Oracle tables from the Data Explorer.' => array('https://wpdataaccess.com/docs/remote-database-connections/oracle/', 'fa-database'),
- ),
- array(
- 'Access your remote MariaDB | MySQL tables from the Data Explorer.' => array('https://wpdataaccess.com/docs/remote-database-connections/mariadb-mysql/', 'fa-database'),
- ),
- array(
- 'Access your CSV files directly from the Data Explorer.' => array('https://wpdataaccess.com/docs/remote-data-files/csv-files/', 'fa-lightbulb'),
- ),
- array(
- 'Access your MS Access tables from the Data Explorer.' => array('https://wpdataaccess.com/docs/remote-data-files/ms-access/', 'fa-database'),
- ),
- array(
- 'Synchronize your Google Sheets from the Data Explorer.' => array('https://wpdataaccess.com/docs/remote-data-files/public-url/#google-sheets', 'fa-database'),
- )
- );
- break;
default:
$promotions = array();
}
--- a/wp-data-access/WPDataAccess/Data_Apps/WPDA_App_Container.php
+++ b/wp-data-access/WPDataAccess/Data_Apps/WPDA_App_Container.php
@@ -2,6 +2,7 @@
namespace WPDataAccessData_Apps {
+ use WPDataAccessAPIWPDA_API_Core;
use WPDataAccessAPIWPDA_Apps;
use WPDataAccessPlugin_Table_ModelsWPDA_App_Apps_Model;
use WPDataAccessPlugin_Table_ModelsWPDA_App_Model;
@@ -60,7 +61,7 @@
return;
}
- $this->show_feedback( __( 'Invalid app id', 'wp-data-access' ) );
+ $this->show_feedback( __( 'Not authorized', 'wp-data-access' ) );
return;
}
@@ -111,6 +112,11 @@
case '6':
// Chart
$app_type_class = 'pp-container-chart';
+ break;
+ case '7':
+ // Chart
+ $app_type_class = 'pp-container-dashboard';
+ break;
}
?>
@@ -127,12 +133,25 @@
<?php
}
- if ( 0 < count( $this->shortcode_args ) ) {
- ?>
- data-shortcode_field_name="<?php echo implode( ',', array_keys( $this->shortcode_args ) ); ?>"
- data-shortcode_field_value="<?php echo implode( ',', array_values( $this->shortcode_args ) ); ?>"
- <?php
- }
+ if ( 0 < count( $this->shortcode_args ) ) {
+ $field_names = array();
+ $field_values = array();
+ foreach ( $this->shortcode_args as $key => $value ) {
+ // Sanitize field name
+ $field_names[] = WPDA_API_Core::sanitize_db_identifier( $key );
+ // Sanitize field value
+ $sanitized_value = sanitize_text_field( $value );
+ $sanitized_value = wp_strip_all_tags( $value );
+ $sanitized_value = str_replace( array( '"', "'", '`' ), '', $sanitized_value );
+ $sanitized_value = str_replace( array( '<', '>' ), '', $sanitized_value );
+ $sanitized_value = str_replace( '=', '', $sanitized_value );
+ $field_values[] = $sanitized_value;
+ }
+ ?>
+ data-shortcode_field_name="<?php echo esc_attr( implode( ',', $field_names) ); ?>"
+ data-shortcode_field_value="<?php echo esc_attr( implode( ',', $field_values ) ); ?>"
+ <?php
+ }
?>
></div>
</div>
--- a/wp-data-access/WPDataAccess/Data_Publisher/WPDA_Publisher_Form.php
+++ b/wp-data-access/WPDataAccess/Data_Publisher/WPDA_Publisher_Form.php
@@ -108,7 +108,7 @@
);
$this->check_table_type = false;
$this->title = 'Data Tables';
- $args['help_url'] = 'https://wpdataaccess.com/docs/data-tables/data-tables-getting-started/';
+ $args['help_url'] = 'https://docs.legacy.wpdataaccess.com/docs/data-tables-getting-started/';
parent::__construct(
$schema_name,
$table_name,
--- a/wp-data-access/WPDataAccess/Design_Table/WPDA_Design_Table_Form.php
+++ b/wp-data-access/WPDataAccess/Design_Table/WPDA_Design_Table_Form.php
@@ -1740,7 +1740,7 @@
}
?>
<div style="text-align:right">
- <a href="https://wpdataaccess.com/docs/data-designer/data-designer-getting-started/"
+ <a href="https://docs.legacy.wpdataaccess.com/docs/data-designer-getting-started/"
target="_blank" style="text-decoration:none">
> What is the difference between a table design and a database table?
</a>
--- a/wp-data-access/WPDataAccess/Plugin_Table_Models/WPDA_App_Container_Model.php
+++ b/wp-data-access/WPDataAccess/Plugin_Table_Models/WPDA_App_Container_Model.php
@@ -210,6 +210,16 @@
return $wpdb->last_error;
}
+ public static function update_dashboard_settings( $cnt_id, $cnt_dashboard_settings ) {
+ global $wpdb;
+ $wpdb->update( static::get_base_table_name(), array(
+ 'cnt_dashboard' => $cnt_dashboard_settings,
+ ), array(
+ 'cnt_id' => $cnt_id,
+ ) );
+ return $wpdb->last_error;
+ }
+
public static function update_map_settings( $cnt_id, $cnt_map_settings ) {
global $wpdb;
$wpdb->update( static::get_base_table_name(), array(
--- a/wp-data-access/WPDataAccess/Utilities/WPDA_Add_App_To_Menu.php
+++ b/wp-data-access/WPDataAccess/Utilities/WPDA_Add_App_To_Menu.php
@@ -14,7 +14,6 @@
$apps = WPDA_App_Model::add_to_dashboard_menu();
foreach ( $apps as $app ) {
-
$settings = json_decode( $app['app_settings'], true );
if (
! isset(
@@ -39,7 +38,24 @@
}
$title = $settings['settings']['app_menu_title'];
- if ( is_admin() ) {
+ $icon = 'dashicons-database-view';
+ switch ($app['app_type']) {
+ case 1:
+ case 3:
+ case 4:
+ $icon = 'dashicons-edit';
+ break;
+ case 2:
+ $icon = 'dashicons-location';
+ break;
+ case 6:
+ $icon = 'dashicons-chart-bar';
+ break;
+ case 7:
+ $icon = 'dashicons-dashboard';
+ break;
+ }
+ if ( is_admin() ) {
// Add app to dashboard menu
add_menu_page(
$title,
@@ -47,7 +63,7 @@
WPDA::get_current_user_capability(),
$title,
null,
- 'dashicons-database-view'
+ $icon
);
add_submenu_page(
--- a/wp-data-access/WPDataAccess/Utilities/WPDA_Import.php
+++ b/wp-data-access/WPDataAccess/Utilities/WPDA_Import.php
@@ -245,7 +245,7 @@
echo __( 'to', 'wp-data-access' );
echo ' <strong>';
echo __( 'On', 'wp-data-access' );
- echo '</strong> (<a href="https://wpdataaccess.com/docs/getting-started/known-limitations/">';
+ echo '</strong> (<a href="https://docs.wpdataaccess.com/limitations.html">';
echo __( 'see documentation', 'wp-data-access' );
echo '</a>).';
?>
--- a/wp-data-access/WPDataAccess/Utilities/WPDA_Import_Multi.php
+++ b/wp-data-access/WPDataAccess/Utilities/WPDA_Import_Multi.php
@@ -23,7 +23,7 @@
*/
class WPDA_Import_Multi {
- const SOLUTIONS = '(<a href="https://wpdataaccess.com/docs/tool-guide/known-limitations/" target="_blank">see solutions</a>)';
+ const SOLUTIONS = '(<a href="https://docs.wpdataaccess.com/limitations.html" target="_blank">see solutions</a>)';
/**
* URL where to post data
@@ -377,7 +377,7 @@
echo __( 'to', 'wp-data-access' );
echo ' <strong>';
echo __( 'On', 'wp-data-access' );
- echo '</strong> (<a href="https://wpdataaccess.com/docs/tool-guide/known-limitations/">';
+ echo '</strong> (<a href="https://docs.wpdataaccess.com/limitations.html">';
echo __( 'see documentation', 'wp-data-access' );
echo '</a>).';
?>
--- a/wp-data-access/WPDataAccess/Utilities/WPDA_Remote_Database.php
+++ b/wp-data-access/WPDataAccess/Utilities/WPDA_Remote_Database.php
@@ -510,7 +510,7 @@
<div class="restyle_link">
<strong>NOTE</strong>
Please activate your Premium Data Services access <a href="options-general.php?page=wpdataaccess&tab=pds">here</a> to remotely connect to foreign DBMSs and remote files.
- <a href="https://wpdataaccess.com/docs/remote-connection-wizard/remote-wizard/" class="restyle_link" target="_blank">(read more...)</a>
+ <a href="https://docs.remote.wpdataaccess.com/pds/remote-wizard.html" class="restyle_link" target="_blank">(read more...)</a>
</div>
<?php
}
--- a/wp-data-access/WPDataAccess/Utilities/WPDA_Table_Actions.php
+++ b/wp-data-access/WPDataAccess/Utilities/WPDA_Table_Actions.php
@@ -571,7 +571,7 @@
<?php
echo __( 'Table Settings', 'wp-data-access' );
?>
- <a href="https://wpdataaccess.com/docs/data-explorer-settings/manage-table-settings/" target="_blank">
+ <a href="https://docs.legacy.wpdataaccess.com/docs/manage-table-settings/" target="_blank">
<span class="dashicons dashicons-editor-help wpda_tooltip"
title="<?php
echo __( 'Help opens in a new tab or window', 'wp-data-access' );
@@ -855,7 +855,7 @@
<?php
echo __( 'Column Settings', 'wp-data-access' );
?>
- <a href="https://wpdataaccess.com/docs/data-explorer-settings/column-settings/" target="_blank">
+ <a href="https://docs.legacy.wpdataaccess.com/docs/column-settings/" target="_blank">
<span class="dashicons dashicons-editor-help wpda_tooltip"
title="<?php
echo __( 'Help opens in a new tab or window', 'wp-data-access' );
@@ -1205,7 +1205,7 @@
<?php
echo __( 'Dashboard Menus', 'wp-data-access' );
?>
- <a href="https://wpdataaccess.com/docs/data-explorer-settings/dashboard-menus/" target="_blank">
+ <a href="https://docs.legacy.wpdataaccess.com/docs/dashboard-menus/" target="_blank">
<span class="dashicons dashicons-editor-help wpda_tooltip"
title="<?php
echo sprintf( __( 'Help opens in a new tab or window', 'wp-data-access' ), esc_attr( $this->table_name ) );
@@ -1418,7 +1418,7 @@
<?php
echo __( 'Dynamic Hyperlinks', 'wp-data-access' );
?>
- <a href="https://wpdataaccess.com/docs/data-explorer-settings/dynamic-hyperlinks/" target="_blank">
+ <a href="https://docs.legacy.wpdataaccess.com/docs/dynamic-hyperlinks/" target="_blank">
<span class="dashicons dashicons-editor-help wpda_tooltip"
title="<?php
echo sprintf( __( 'Help opens in a new tab or window', 'wp-data-access' ), esc_attr( $this->table_name ) );
--- a/wp-data-access/WPDataAccess/WPDA.php
+++ b/wp-data-access/WPDataAccess/WPDA.php
@@ -51,8 +51,8 @@
/**
* Option wpda_version and it's default value
*/
- const OPTION_WPDA_VERSION = array( 'wpda_version', '5.5.63' );
- const OPTION_WPDA_CLIENT_VERSION = array( 'wpda_client_version', '1.0.63' );
+ const OPTION_WPDA_VERSION = array( 'wpda_version', '5.5.64' );
+ const OPTION_WPDA_CLIENT_VERSION = array( 'wpda_client_version', '1.0.64' );
const OPTION_WPDA_UPGRADED = array( 'wpda_upgraded', false );
/**
* Option wpda_setup_error and it's default value
@@ -1387,7 +1387,7 @@
public static function validate_name_failed() {
$title = __( 'Schema, table or column name(s) restricting plugin features (click to read more and fix)', 'wp-data-access' );
$warning = "
- <a href='https://wpdataaccess.com/docs/data-explorer/naming-conventions/' target='_blank' style='text-decoration:none'>
+ <a href='https://docs.legacy.wpdataaccess.com/docs/naming-conventions/' target='_blank' style='text-decoration:none'>
<span class='dashicons dashicons-flag wpda_tooltip' style='color:red;padding-left:5px' title='$title'></span>
</a>";
return $warning;
@@ -1396,7 +1396,7 @@
public static function validate_name_np() {
$title = __( 'Schema, table or column name validation not possible (click to read more and fix)', 'wp-data-access' );
$warning = "
- <a href='https://wpdataaccess.com/docs/data-explorer/naming-conventions/' target='_blank'>
+ <a href='https://docs.legacy.wpdataaccess.com/docs/naming-conventions/' target='_blank'>
<span class='dashicons dashicons-warning wpda_tooltip' style='padding-left:5px' title='$title'></span>
</a>";
return $warning;
@@ -1684,7 +1684,7 @@
}
public static function current_user_is_admin() {
- return current_user_can( 'manage_options' );
+ return current_user_can( 'manage_options' ) || is_super_admin();
}
}
--- a/wp-data-access/WPDataAccess/WPDA_Navi/WPDA_Navi.php
+++ b/wp-data-access/WPDataAccess/WPDA_Navi/WPDA_Navi.php
@@ -198,7 +198,7 @@
A data-driven Rapid Application Development tool.
</span>
- <a href="https://wpdataaccess.com/docs/app-builder/road-map/" target="_blank" class="roadmap">ROAD MAP</a>
+ <span></span>
</div>
<div class="wpda-navi-container-content-item-content">
@@ -214,11 +214,11 @@
<div class="wpda-navi-container-content-item-facts">
<ul>
- <li>Intuitive Table Builder for creating data tables with ease.</li>
- <li>Highly customizable Form Builder for designing data entry forms.</li>
- <li>Integrated Theme Builder to personalize app styling.</li>
- <li>Interactive Chart Builder for real-time data analysis.</li>
- <li>Visualize location data from SQL queries with the Map Builder.</li>
+ <li>Intuitive <strong>Table Builder</strong> for creating data tables with ease.</li>
+ <li>Highly customizable <strong>Form Builder</strong> for designing data entry forms.</li>
+ <li>Integrated <strong>Theme Builder</strong> to personalize app styling.</li>
+ <li>Interactive <strong>Chart Builder</strong> for real-time data analysis.</li>
+ <li>Visualize location data from SQL queries with the <strong>Map Builder</strong>.</li>
</ul>
</div>
</div>
@@ -229,7 +229,7 @@
<h3>Explorer</h3>
<div class="wpda-navi-container-content-item-title-help">
<a
- href="https://wpdataaccess.com/docs/data-explorer/data-explorer-getting-started/"
+ href="https://docs.legacy.wpdataaccess.com/docs/data-explorer-getting-started/"
target="_blank"
class="wpda_tooltip"
title="View online documentation"
@@ -353,21 +353,14 @@
</a>
</li>
<li>
- <span class="wpda-new">
- Get help directly from within all builders.
- </span>
+ Images and hyperlinks are now displayed in PDF exports.
</li>
<li>
- Automate your data exports (new Data Explorer only).
+ Media type configuration within the Table and Form Builder.
</li>
<li>
- <a href="https://docs.rad.wpdataaccess.com/map-builder/" target="_blank" class="whatsnew">
- Display geographic data on interactive maps using SQL queries.
- </a>
- </li>
- <li>
- <a href="https://docs.rad.wpdataaccess.com/hooks/" target="_blank" class="whatsnew">
- Extended Hooks for Tables and Forms.
+ <a href="https://docs.rad.wpdataaccess.com/app-manager/running-apps/shortcodes/shortcode-usage.html#%E2%9C%A8-start-in-full-screen-mode" target="_blank" class="whatsnew">
+ Start all app types (except maps) in full-screen mode.
</a>
</li>
</ul>
@@ -442,35 +435,19 @@
</span>
</button>
- <button
- onClick="window.open('https://wpdataaccess.com/documentation/', '_blank')"
- >
- <span class="wpda-hot-title">
- Documentation
- </span>
- <span class="wpda-hot-topic">
- Where can I find the online documentation?
- </span>
- </button>
-
- <button>
+ <button
+ onClick="window.open('https://docs.rad.wpdataaccess.com/hooks/', '_blank')"
+ >
<span class="wpda-hot-title">
- Downloadable Demo Apps
+ App Builder Hooks
</span>
- <span class="wpda-hot-topic" style="display: inline-grid; grid-template-columns: auto auto; gap: 20px;">
- <a href="https://wpdataaccess.com/docs/app-demos/app-student-administration-system/" target="_blank">
- <i class="fa-solid fa-up-right-from-square"></i>
- Student Administration System
- </a>
- <a href="https://wpdataaccess.com/docs/app-demos/app-classic-models/" target="_blank">
- <i class="fa-solid fa-up-right-from-square"></i>
- Classic Models
- </a>
+ <span class="wpda-hot-topic">
+ Write hook to customize app behavior.
</span>
- </button>
+ </button>
<button
- onClick="window.open('https://wpdataaccess.com/docs/remote-databases/mysql-mariadb/', '_blank')"
+ onClick="window.open('https://docs.remote.wpdataaccess.com/mysql.html', '_blank')"
>
<span class="wpda-hot-title">
Remote connections
@@ -481,7 +458,7 @@
</button>
<button
- onClick="window.open('https://wpdataaccess.com/docs/remote-connection-wizard/start-here/', '_blank')"
+ onClick="window.open('https://docs.remote.wpdataaccess.com/pds/start-here.html', '_blank')"
>
<span class="wpda-hot-title">
Premium Data Services
@@ -490,6 +467,17 @@
How can I use Premium Data Services for remote connections?
</span>
</button>
+
+ <button
+ onClick="window.open('https://docs.rad.wpdataaccess.com/', '_blank')"
+ >
+ <span class="wpda-hot-title">
+ Documentation
+ </span>
+ <span class="wpda-hot-topic">
+ Where can I find the online documentation?
+ </span>
+ </button>
</div>
</div>
</div>
--- a/wp-data-access/WPDataProjects/WPDP.php
+++ b/wp-data-access/WPDataProjects/WPDP.php
@@ -203,7 +203,7 @@
echo $this->projects_page_title;
?></span>
<a href="<?php
- echo 'https://wpdataaccess.com/docs/data-forms/data-projects/';
+ echo 'https://docs.legacy.wpdataaccess.com/docs/data-projects/';
?>" target="_blank">
<span class="dashicons dashicons-editor-help"
style="text-decoration:none;vertical-align:top;font-size:30px;">
@@ -228,7 +228,7 @@
echo $this->projects_page_title;
?></span>
<a href="<?php
- echo 'https://wpdataaccess.com/docs/templates/project-templates/';
+ echo 'https://docs.legacy.wpdataaccess.com/docs/project-templates/';
?>" target="_blank">
<span class="dashicons dashicons-editor-help"
style="text-decoration:none;vertical-align:top;font-size:30px;">
--- a/wp-data-access/admin/class-wp-data-access-admin.php
+++ b/wp-data-access/admin/class-wp-data-access-admin.php
@@ -1055,7 +1055,7 @@
<div class="wrap">
<h1 class="wp-heading-inline">
<span>Data Designer</span>
- <a href="https://wpdataaccess.com/docs/data-designer/data-designer-getting-started/" target="_blank" class="wpda_tooltip" title="Plugin Help - opens in a new tab or window">
+ <a href="https://docs.legacy.wpdataaccess.com/docs/data-designer-getting-started/" target="_blank" class="wpda_tooltip" title="Plugin Help - opens in a new tab or window">
<span class="dashicons dashicons-editor-help" style="text-decoration:none;vertical-align:top;font-size:30px;">
</span>
</a>
@@ -1111,7 +1111,7 @@
<div class="wrap">
<h1 class="wp-heading-inline">
<span>Data Tables</span>
- <a href="https://wpdataaccess.com/docs/data-tables/data-tables-getting-started/" target="_blank" class="wpda_tooltip" title="Plugin Help - opens in a new tab or window">
+ <a href="https://docs.legacy.wpdataaccess.com/docs/data-tables-getting-started/" target="_blank" class="wpda_tooltip" title="Plugin Help - opens in a new tab or window">
<span class="dashicons dashicons-editor-help" style="text-decoration:none;vertical-align:top;font-size:30px;">
</span>
</a>
--- a/wp-data-access/includes/class-wp-data-access.php
+++ b/wp-data-access/includes/class-wp-data-access.php
@@ -374,7 +374,7 @@
'wpda_set_hard_row_count',
function ( $dbs, $tbl ) {
// Only admins and super admins.
- if ( current_user_can( 'manage_options' ) || current_user_can( 'manage_sites' ) ) {
+ if ( WPDA::current_user_is_admin() ) {
// Get actual row count.
$count = WPDataAccessAPIWPDA_Actions::get_row_count( $dbs, $tbl );
// Get table settings.
--- a/wp-data-access/wp-data-access.php
+++ b/wp-data-access/wp-data-access.php
@@ -4,7 +4,7 @@
* Plugin Name: WP Data Access
* Plugin URI: https://wpdataaccess.com/
* Description: A powerful data-driven App Builder with an intuitive Table Builder, a highly customizable Form Builder and interactive Chart support in 35 languages
- * Version: 5.5.63
+ * Version: 5.5.64
* Author: Passionate Programmers B.V.
* Author URI: https://wpdataaccess.com/
* Text Domain: wp-data-access