Changeset 2961762
- Timestamp:
- 09/01/2023 03:31:56 PM (2 years ago)
- Location:
- constellation-client-portal
- Files:
-
- 109 added
- 1 deleted
- 16 edited
-
assets/screenshot-10.png (modified) (previous)
-
assets/screenshot-11.png (modified) (previous)
-
assets/screenshot-12.png (modified) (previous)
-
assets/screenshot-13.png (added)
-
assets/screenshot-14.png (added)
-
assets/screenshot-4.png (modified) (previous)
-
assets/screenshot-5.png (modified) (previous)
-
assets/screenshot-6.png (modified) (previous)
-
assets/screenshot-7.png (modified) (previous)
-
assets/screenshot-8.png (modified) (previous)
-
assets/screenshot-9.png (modified) (previous)
-
tags/1.6.0 (added)
-
tags/1.6.0/LICENSE.txt (added)
-
tags/1.6.0/README.txt (added)
-
tags/1.6.0/admin (added)
-
tags/1.6.0/admin/class-ars-constellation-client-portal-admin.php (added)
-
tags/1.6.0/admin/class-ars-constellation-client-portal-client-pages.php (added)
-
tags/1.6.0/admin/class-ars-constellation-client-portal-company.php (added)
-
tags/1.6.0/admin/class-ars-constellation-client-portal-core-authorization.php (added)
-
tags/1.6.0/admin/class-ars-constellation-client-portal-core-file-checks.php (added)
-
tags/1.6.0/admin/class-ars-constellation-client-portal-file.php (added)
-
tags/1.6.0/admin/class-ars-constellation-client-portal-invoice.php (added)
-
tags/1.6.0/admin/class-ars-constellation-client-portal-settings.php (added)
-
tags/1.6.0/admin/class-ars-constellation-client-portal-users.php (added)
-
tags/1.6.0/admin/css (added)
-
tags/1.6.0/admin/css/ars-constellation-client-portal-admin.css (added)
-
tags/1.6.0/admin/css/jquery-ui (added)
-
tags/1.6.0/admin/css/jquery-ui/1.11.1 (added)
-
tags/1.6.0/admin/css/jquery-ui/1.11.1/themes (added)
-
tags/1.6.0/admin/css/jquery-ui/1.11.1/themes/cupertino (added)
-
tags/1.6.0/admin/css/jquery-ui/1.11.1/themes/cupertino/jquery-ui.css (added)
-
tags/1.6.0/admin/css/select2.min.css (added)
-
tags/1.6.0/admin/index.php (added)
-
tags/1.6.0/admin/js (added)
-
tags/1.6.0/admin/js/ars-constellation-client-portal-admin.js (added)
-
tags/1.6.0/admin/js/i18n (added)
-
tags/1.6.0/admin/js/i18n/af.js (added)
-
tags/1.6.0/admin/js/i18n/ar.js (added)
-
tags/1.6.0/admin/js/i18n/az.js (added)
-
tags/1.6.0/admin/js/i18n/bg.js (added)
-
tags/1.6.0/admin/js/i18n/bs.js (added)
-
tags/1.6.0/admin/js/i18n/ca.js (added)
-
tags/1.6.0/admin/js/i18n/cs.js (added)
-
tags/1.6.0/admin/js/i18n/da.js (added)
-
tags/1.6.0/admin/js/i18n/de.js (added)
-
tags/1.6.0/admin/js/i18n/dsb.js (added)
-
tags/1.6.0/admin/js/i18n/el.js (added)
-
tags/1.6.0/admin/js/i18n/en.js (added)
-
tags/1.6.0/admin/js/i18n/es.js (added)
-
tags/1.6.0/admin/js/i18n/et.js (added)
-
tags/1.6.0/admin/js/i18n/eu.js (added)
-
tags/1.6.0/admin/js/i18n/fa.js (added)
-
tags/1.6.0/admin/js/i18n/fi.js (added)
-
tags/1.6.0/admin/js/i18n/fr.js (added)
-
tags/1.6.0/admin/js/i18n/gl.js (added)
-
tags/1.6.0/admin/js/i18n/he.js (added)
-
tags/1.6.0/admin/js/i18n/hi.js (added)
-
tags/1.6.0/admin/js/i18n/hr.js (added)
-
tags/1.6.0/admin/js/i18n/hsb.js (added)
-
tags/1.6.0/admin/js/i18n/hu.js (added)
-
tags/1.6.0/admin/js/i18n/hy.js (added)
-
tags/1.6.0/admin/js/i18n/id.js (added)
-
tags/1.6.0/admin/js/i18n/is.js (added)
-
tags/1.6.0/admin/js/i18n/it.js (added)
-
tags/1.6.0/admin/js/i18n/ja.js (added)
-
tags/1.6.0/admin/js/i18n/km.js (added)
-
tags/1.6.0/admin/js/i18n/ko.js (added)
-
tags/1.6.0/admin/js/i18n/lt.js (added)
-
tags/1.6.0/admin/js/i18n/lv.js (added)
-
tags/1.6.0/admin/js/i18n/mk.js (added)
-
tags/1.6.0/admin/js/i18n/ms.js (added)
-
tags/1.6.0/admin/js/i18n/nb.js (added)
-
tags/1.6.0/admin/js/i18n/nl.js (added)
-
tags/1.6.0/admin/js/i18n/pl.js (added)
-
tags/1.6.0/admin/js/i18n/ps.js (added)
-
tags/1.6.0/admin/js/i18n/pt-BR.js (added)
-
tags/1.6.0/admin/js/i18n/pt.js (added)
-
tags/1.6.0/admin/js/i18n/ro.js (added)
-
tags/1.6.0/admin/js/i18n/ru.js (added)
-
tags/1.6.0/admin/js/i18n/sk.js (added)
-
tags/1.6.0/admin/js/i18n/sl.js (added)
-
tags/1.6.0/admin/js/i18n/sr-Cyrl.js (added)
-
tags/1.6.0/admin/js/i18n/sr.js (added)
-
tags/1.6.0/admin/js/i18n/sv.js (added)
-
tags/1.6.0/admin/js/i18n/th.js (added)
-
tags/1.6.0/admin/js/i18n/tr.js (added)
-
tags/1.6.0/admin/js/i18n/uk.js (added)
-
tags/1.6.0/admin/js/i18n/vi.js (added)
-
tags/1.6.0/admin/js/i18n/zh-CN.js (added)
-
tags/1.6.0/admin/js/i18n/zh-TW.js (added)
-
tags/1.6.0/admin/js/select2.min.js (added)
-
tags/1.6.0/ars-constellation-client-portal.php (added)
-
tags/1.6.0/assets (added)
-
tags/1.6.0/assets/img (added)
-
tags/1.6.0/assets/img/accp-full-logo.png (added)
-
tags/1.6.0/includes (added)
-
tags/1.6.0/includes/ars-constellation-client-portal-install-uninstall.php (added)
-
tags/1.6.0/includes/class-ars-constellation-client-portal-activator.php (added)
-
tags/1.6.0/includes/class-ars-constellation-client-portal-deactivator.php (added)
-
tags/1.6.0/includes/class-ars-constellation-client-portal-i18n.php (added)
-
tags/1.6.0/includes/class-ars-constellation-client-portal-loader.php (added)
-
tags/1.6.0/includes/class-ars-constellation-client-portal-utility-functions.php (added)
-
tags/1.6.0/includes/class-ars-constellation-client-portal.php (added)
-
tags/1.6.0/includes/index.php (added)
-
tags/1.6.0/index.php (added)
-
tags/1.6.0/languages (added)
-
tags/1.6.0/languages/ars-constellation-client-portal.pot (added)
-
tags/1.6.0/public (added)
-
tags/1.6.0/public/assets (added)
-
tags/1.6.0/public/assets/index.php (added)
-
tags/1.6.0/public/class-ars-constellation-client-portal-public.php (added)
-
tags/1.6.0/public/css (added)
-
tags/1.6.0/public/css/ars-constellation-client-portal-public.css (added)
-
tags/1.6.0/public/index.php (added)
-
tags/1.6.0/public/js (added)
-
tags/1.6.0/public/js/ars-constellation-client-portal-public.js (added)
-
tags/1.6.0/uninstall.php (added)
-
trunk/README.txt (modified) (8 diffs)
-
trunk/admin/class-ars-constellation-client-portal-admin.php (modified) (5 diffs)
-
trunk/admin/class-ars-constellation-client-portal-company.php (modified) (2 diffs)
-
trunk/admin/class-ars-constellation-client-portal-settings.php (added)
-
trunk/admin/css/ars-constellation-client-portal-admin.css (modified) (10 diffs)
-
trunk/admin/includes (deleted)
-
trunk/ars-constellation-client-portal.php (modified) (2 diffs)
-
trunk/includes/class-ars-constellation-client-portal.php (modified) (3 diffs)
-
trunk/public/class-ars-constellation-client-portal-public.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
constellation-client-portal/trunk/README.txt
r2946134 r2961762 4 4 Tags: client portal, customer portal, business portal, client management, private files, private pages, invoice clients, invoicing, business managemenet 5 5 Requires at least: 5.0.0 6 Tested up to: 6. 27 Stable tag: 1. 5.106 Tested up to: 6.3 7 Stable tag: 1.6.0 8 8 Requires PHP: 7.4 9 9 License: GPLv3 or later … … 16 16 Upgrade to the [Pro version](https://adrianrodriguezstudios.com/constellation-client-portal/?utm_source=wporg "Get Constellation Client Portal Pro") and integrate with WooCommerce to accept payments for invoices and services. 17 17 18 = Features=18 == Features == 19 19 20 20 * Create private pages for your clients, customers, and team members. … … 25 25 * Easily add curated lists of invoices and documents to client pages via simple to use shortcodes. 26 26 27 = Pro =27 == Pro == 28 28 29 29 * Automatically redirect clients to their private client page at login (optional login redirect setting). … … 39 39 * Create [global client pages](https://adrianrodriguezstudios.com/2023/05/16/how-to-utilize-global-pages/ "Client Portal Global Pages"). 40 40 41 = Use Cases=42 43 Constellation Client Portal has a wide array of functionality to help you interface with your clients, customers, team members, tenants, or group. It's professional, extendable, and versatile and can integrate with many operations and workflows.41 == Use Cases == 42 43 Constellation Client Portal is your portal for everything, and helps you interface with clients, customers, teams, and groups. It's professional, extendable, versatile, and is designed to sit at the heart of your organization to save time and lower costs. 44 44 45 45 … … 54 54 == Screenshots == 55 55 56 1. Current invoice list (list of invoices to be paid). 57 2. Paid invoice list. 58 3. Document/file list. 59 4. Plugin settings (core). 60 5. Pro plugin settings (additional pro features). 61 6. Invoice post settings. 62 7. Pro invoice post settings (additional pro features). 63 8. File post settings. 64 9. Pro file post settings (additional pro features). 65 10. Company settings. 66 11. Company page settings. 67 12. Email notification settings (pro feature). 56 1. Client-Facing - Current Invoice List 57 2. Client-Facing - Paid Invoice List 58 3. Client-Facing - Document/File List 59 4. Admin Settings - Pro General Settings 60 5. Admin Settings - Pro Invoice Settings 61 6. Admin Settings - Pro File Settings 62 7. Admin Settings - Pro Client Page Settings 63 8. Admin Settings - Pro Company Settings 64 9. Admin Settings - Pro Email Settings 65 10. Admin Settings - Invoice Post Edit 66 11. Admin Settings - File Post Edit 67 12. Admin Settings - Company Page Edit 68 13. Admin Settings - Client Page Edit 69 14. Admin Settings - Pro Invoice Bulk Create 68 70 69 71 == Shortcodes == … … 144 146 145 147 146 = Documentation=148 == Documentation == 147 149 148 150 * [Quick Start Guide](https://adrianrodriguezstudios.com/documentation-constellation-client-portal/#quick-start) - Follow the quick start guide to quickly set up the initial foundation for your client portal. 149 151 * [Plugin Documentation](https://adrianrodriguezstudios.com/documentation-constellation-client-portal/) - View the plugin documentation for other helpful information. 150 152 151 = Support=153 == Support == 152 154 153 155 Email technical support is provided for **active** Pro licenses only. … … 185 187 186 188 = Will my theme's page builder work with client pages? = 187 This is dependent on the theme, and Constellation Client portal has no control over this functionality. However, some themes may work out of the box with client pages. If your theme's page builder does not work with client pages, check with the theme developer to see if they have a method for extending the page builder to custom post types (the client page post type is "accp_client_pages").189 This is dependent on the theme, and Constellation Client Portal has no control over this functionality. However, some themes may work out of the box with client pages. If your theme's page builder does not work with client pages, check with the theme developer to see if they have a method for extending the page builder to custom post types (the client page post type is "accp_client_pages"). 188 190 189 191 == Installation == … … 205 207 206 208 == Changelog == 209 210 = 1.6.0 (Pro) - 2023-9-1 = 211 * Feature: Added new settings and functionality to allow the public home page to be redirected to the client home page. 212 * Improvement: Updated the pay button spinner css to prevent themes and plugins from overriding the border colors. 213 * Update: Overhauled the pro settings framework for better scalability and maintainability. 214 215 = 1.6.0 (Core) - 2023-9-1 = 216 * Improvement: Updated the shortcode download link construction to work better with WP instances that are installed in a sub directory. 217 * Improvement: Created new internal register setting option for use in cleaning saved options on plugin deletion. 218 * Update: Overhauled the core settings framework for better scalability and maintainability. 207 219 208 220 = 1.5.10 (Pro) - 2023-8-1 = -
constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-admin.php
r2933483 r2961762 48 48 $this->plugin_name = $plugin_name; 49 49 $this->version = $version; 50 $this->accp_utility_functions = new ACCP_Utility_Functions(); 50 $this->accp_utility_functions = new ACCP_Utility_Functions(); 51 51 52 52 /** … … 469 469 470 470 } 471 472 473 /**474 * Add the main ACCP admin menu item475 */476 function register_accp_custom_menu_page(){477 478 if( $this->plugin_name == 'ars-constellation-client-portal-pro' ){479 480 $menu_name = 'Client Portal Pro';481 482 }else{483 484 $menu_name = 'Client Portal';485 486 }487 488 add_menu_page( $menu_name, $menu_name, 'manage_options', 'admin.php?page=accp-settings.php', array($this, 'accp_settings_page'), 'dashicons-welcome-widgets-menus', 22 );489 490 }491 492 /**493 * Change the main submenu title to 'Settings'494 */495 public function add_menu_accp_main_sub_title(){496 497 add_submenu_page(498 'admin.php?page=accp-settings.php',499 __( 'Settings', 'accp' ),500 __( 'Settings', 'accp' ),501 'manage_options',502 'admin.php?page=accp-settings.php',503 array($this, 'accp_settings_page')504 );505 506 }507 508 471 509 472 … … 2722 2685 2723 2686 /** 2724 * Register ACCP Settings2725 */2726 function register_total_client_portal_settings() {2727 2728 /**2729 * File Types2730 *2731 * Note: Mime type options must use the 'accp_file_types_' prefix as these are2732 * located via that prefix in the 'accp_save_post' function (ex. accp_file_types_tiff).2733 */2734 2735 $defined_mime_types = $this->accp_defined_file_mime_types();2736 2737 foreach($defined_mime_types as $key => $value) {2738 register_setting( 'ars-constellation-client-portal-settings-group', $value['option_name'] );2739 }2740 2741 /**2742 * Register the license key setting2743 */2744 register_setting( 'arscp-license-key-settings-group', 'arscp_license_key' );2745 2746 }2747 2748 2749 /**2750 2687 * Define TCP MIME Types 2751 2688 * … … 2928 2865 2929 2866 // Company menu page. 2930 add_submenu_page('admin.php?page=accp-settings.php', 'Companies', 'Companies', 'manage_options', 'edit.php?post_type=accp_clientcompany' ); 2867 //add_submenu_page('admin.php?page=accp-settings.php', 'Companies', 'Companies', 'manage_options', 'edit.php?post_type=accp_clientcompany' ); 2868 add_submenu_page('accp-settings', 'Companies', 'Companies', 'manage_options', 'edit.php?post_type=accp_clientcompany' ); 2931 2869 2932 2870 } … … 3214 3152 return; 3215 3153 3216 $accepted_types = array('notice-error', 'notice-warning', 'notice-succes ', 'notice-info');3154 $accepted_types = array('notice-error', 'notice-warning', 'notice-success', 'notice-info'); 3217 3155 3218 3156 if( !in_array($type, $accepted_types) ){ -
constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-company.php
r2933483 r2961762 79 79 $show_in_rest = current_user_can( 'manage_options' ) ? true : false; 80 80 81 $show_in_menu = false; 82 83 $is_pro = $this->accp_utility_functions->is_pro_plugin($this->plugin_name); 84 85 if( true === $is_pro ){ 86 87 $company_customize_view = get_option('accp_company_add_to_main_menu'); 88 89 $show_in_menu = $company_customize_view && $company_customize_view === 'show_in_main_menu' ? true : false; 90 91 } 92 81 93 $args = array( 82 94 'labels' => $labels, … … 87 99 'public' => true, 88 100 'show_ui' => true, 89 'show_in_menu' => false,101 'show_in_menu' => $show_in_menu, 90 102 'show_in_nav_menus' => false, 91 103 'publicly_queryable' => false, -
constellation-client-portal/trunk/admin/css/ars-constellation-client-portal-admin.css
r2946134 r2961762 125 125 max-width: 100%; 126 126 background-color: #fff; 127 padding: 30px;127 padding: 20px 30px 30px 30px; 128 128 } 129 129 … … 148 148 background-color: #005be0; 149 149 color: #FFF; 150 padding: 30px;150 padding: 40px; 151 151 margin-top: 17px; 152 margin-bottom: 20px 152 margin-bottom: 20px; 153 border-radius: 10px; 153 154 } 154 155 … … 207 208 } 208 209 210 .accp-settings-page-container .accp-upgrade-button { 211 border-radius: 8px; 212 } 213 209 214 .accp-upgrade-button:hover{ 210 215 background-color: #ffa500e0; … … 216 221 217 222 .accp-setting-logo-container { 218 background-color: #fff; 219 padding: 30px; 223 background-color: #fff; 224 } 225 226 .accp-setting-logo-container img { 227 width: 80%; 228 max-width: 300px; 220 229 } 221 230 … … 288 297 } 289 298 299 .accp-row-delete{ 300 margin-left: 15px; 301 } 302 290 303 .accp-hide-assigment{ 291 304 display: none; … … 293 306 .accp-file-replace-hide{ 294 307 display: none; 308 } 309 310 .inline.accp-admin-notice.notice{ 311 margin-left: 0px; 295 312 } 296 313 … … 321 338 margin-bottom: 25px; 322 339 box-shadow: 2px 2px 7px rgba(0,0,0, 0.1); 340 color: #5C5C5C; 341 } 342 343 .accp-settings-section h3 { 344 color: #3A3A3A; 323 345 } 324 346 … … 726 748 .accp-upgrade-pro-feature-item-container{ 727 749 box-shadow: 2px 2px 7px rgba(0,0,0, 0.1); 728 border-radius: 3px;750 border-radius: 8px; 729 751 padding: 25px; 730 752 margin: 20px; … … 795 817 } 796 818 819 .company_status_row { 820 margin-bottom: 15px; 821 } 822 823 .company_status_row label, 824 .company_status_row input, 825 .company_status_row select { 826 margin-right: 5px; 827 } 828 829 .company_status_row .accp-row-add { 830 margin-left: 5px; 831 margin-right: 10px; 832 } 833 834 .company_status_row i { 835 font-size: 15px; 836 position: relative; 837 top: 2px; 838 color: #737373; 839 } 840 841 .accp-add-status-row.button { 842 cursor: pointer; 843 } 844 845 .accp-action-pending{ 846 pointer-events: none; 847 } 848 849 #accp-settings-sidebar-container { 850 padding-left: 20px; 851 padding-top: 20px; 852 } 853 854 #accp-settings-sidebar-container a{ 855 text-decoration: none; 856 } 857 858 .accp-settings-page-container.wrap { 859 background-color: #fff; 860 min-height: 800px; 861 } 862 863 .accp-admin-main-content-header { 864 margin-bottom: 15px; 865 } 866 867 #accp-admin-main-content h1{ 868 color: #005be0; 869 font-weight: normal; 870 font-size: 28px; 871 padding-left: 20px; 872 } 873 797 874 @media screen and (min-width: 980px) { 798 875 … … 802 879 } 803 880 804 } 881 #accp-settings-sidebar-container{ 882 width: 200px; 883 float: left; 884 } 885 886 #accp-admin-main-content { 887 margin-left: 200px; 888 } 889 890 } -
constellation-client-portal/trunk/ars-constellation-client-portal.php
r2946134 r2961762 5 5 * Plugin URI: https://adrianrodriguezstudios.com/constellation-client-portal/ 6 6 * Description: Create private pages for each of your clients, post private files, and protect your client files from unauthorized users and search engines. <strong>Important:</strong> All Site-level File Protection features will cease to function if the plugin is disabled or uninstalled. 7 * Version: 1. 5.107 * Version: 1.6.0 8 8 * Author: ARS 9 9 * Author URI: https://adrianrodriguezstudios.com … … 55 55 */ 56 56 define('ACCP_PLUGIN_NAME', 'ARS_CONSTELLATION_CLIENT_PORTAL'); 57 define('ACCP_PLUGIN_VERSION', '1. 5.10'); // Change the version in the header as well.57 define('ACCP_PLUGIN_VERSION', '1.6.0'); // Change the version in the header as well. 58 58 define( ACCP_PLUGIN_NAME, ACCP_PLUGIN_VERSION ); 59 59 define('ACCP_PLUGIN_FILE_NAME', __FILE__); -
constellation-client-portal/trunk/includes/class-ars-constellation-client-portal.php
r2933483 r2961762 125 125 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-ars-constellation-client-portal-core-file-checks.php'; 126 126 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-ars-constellation-client-portal-users.php'; 127 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'admin/class-ars-constellation-client-portal-settings.php'; 127 128 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-ars-constellation-client-portal-utility-functions.php'; 128 129 … … 200 201 $plugin_authorization = new ARS_Constellation_Client_Portal_Core_Authorization( $this->get_plugin_name(), $this->get_version() ); 201 202 $plugin_users = new ARS_Constellation_Client_Portal_Users( $this->get_plugin_name(), $this->get_version() ); 203 $core_settings = new ARS_Constellation_Client_Portal_Settings(); 202 204 203 205 /* Core (Basic tier) hooks */ … … 338 340 339 341 // Bulk delete files ajax function - when accp_clientfile or accp_clientinvoice empty trash button is clicked 340 $this->loader->add_action( 'wp_ajax_accp_bulk_delete_file_on_empty_trash', $plugin_admin, 'accp_bulk_delete_file_on_empty_trash'); 341 342 // Add main ACCP admin menu item 343 $this->loader->add_action( 'admin_menu', $plugin_admin, 'register_accp_custom_menu_page' ); 344 345 // Change the main submenu title 346 $this->loader->add_action( 'admin_menu', $plugin_admin, 'add_menu_accp_main_sub_title' ); 347 342 $this->loader->add_action( 'wp_ajax_accp_bulk_delete_file_on_empty_trash', $plugin_admin, 'accp_bulk_delete_file_on_empty_trash'); 343 344 // Change the main submenu title to "Settings." 345 $this->loader->add_action( 'admin_menu', $core_settings, 'add_menu_accp_main_sub_title' ); 346 348 347 // Add Companies admin menu item/page 349 348 $this->loader->add_action( 'admin_menu', $plugin_admin, 'add_menu_accp_add_sub_menu_items_to_main_menu_item' ); 349 350 // Add core settings pages 351 $this->loader->add_action( 'admin_menu', $core_settings, 'add_accp_settings_pages_to_wp_admin' ); 352 353 // Add the main admin settings menu item 354 $this->loader->add_action( 'admin_menu', $core_settings, 'register_main_settings_menu_item' ); 350 355 351 356 // Add Settings admin menu item/page 352 357 //$this->loader->add_action( 'admin_menu', $plugin_admin, 'add_menu_accp_settings_page' ); // DEPRECATED 353 $this->loader->add_action( 'admin_init', $ plugin_admin, 'register_total_client_portal_settings' );358 $this->loader->add_action( 'admin_init', $core_settings, 'register_client_portal_settings' ); 354 359 355 360 //Add company select field to Client Pages -
constellation-client-portal/trunk/public/class-ars-constellation-client-portal-public.php
r2933483 r2961762 394 394 <?php 395 395 $file_dl_nonce = wp_create_nonce('file_download'); 396 $url_params = '/?accp-dl-id=' . $file_post_id;396 $url_params = get_site_url() . '/?accp-dl-id=' . $file_post_id; 397 397 ?> 398 398 … … 957 957 <?php 958 958 $invoice_dl_nonce = wp_create_nonce('invoice_download'); 959 $url_params = '/?accp-dl-id=' . $file_post_id;959 $url_params = get_site_url() . '/?accp-dl-id=' . $file_post_id; 960 960 ?> 961 961
Note: See TracChangeset
for help on using the changeset viewer.