Plugin Directory

Changeset 3004306


Ignore:
Timestamp:
12/01/2023 03:33:58 PM (2 years ago)
Author:
arstudios
Message:

Release 1.7.4.

Location:
constellation-client-portal
Files:
131 added
1 deleted
9 edited

Legend:

Unmodified
Added
Removed
  • constellation-client-portal/trunk/README.txt

    r2995913 r3004306  
    55Requires at least: 5.0.0
    66Tested up to: 6.4
    7 Stable tag: 1.7.3
     7Stable tag: 1.7.4
    88Requires PHP: 7.4
    99License: GPLv3 or later
     
    201201== Changelog ==
    202202
     203= 1.7.4 (Pro) - 2023-12-1 =
     204* Update: Updated shortcode list settings field labels to match labels referenced in documentation.
     205* Update: Updated the exclude user and exclude role select fields to not check for saved values on the add taxonomy pages.
     206
     207= 1.7.4 (Core) - 2023-12-1 =
     208* Fix: Fixed incorrect settings page link in the WP plugin list item.
     209* Update: Updated the front-end file download functionality to provide better user feedback.
     210* Update: Updated the user profile settings addition function to verify that the user object exists to clear warnings on the WP new user creation form.
     211* Update: Updated the client page, client file, and client invoice taxonomy role capability requirements.
     212* Update: Disabled legacy settings JS tab handler functions.
     213* Fix: Updated the WP Admin plugin settings logo URL to fix display issue.
     214
    203215= 1.7.3 (Pro) - 2023-11-14 =
    204 * Update: All core uptates.
     216* Update: All core updates.
    205217
    206218= 1.7.3 (Core) - 2023-11-14 =
  • constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-admin.php

    r2995913 r3004306  
    451451           
    452452        // Add a Settings menu item
    453         $new_actions['accp_settings'] = sprintf( __( '<a href="%s">Settings</a>', 'accp' ), esc_url( admin_url( 'admin.php?page=admin.php%3Fpage%3Daccp-settings.php' ) ) );
     453        $new_actions['accp_settings'] = sprintf( __( '<a href="%s">Settings</a>', 'accp' ), esc_url( admin_url( 'admin.php?page=accp-settings' ) ) );
    454454
    455455        // Add a Settings menu item
     
    23342334    function extra_user_profile_fields($user){
    23352335
    2336         if(!$user)
     2336        if( !$user || !is_object($user) )
    23372337            return;
    23382338
  • constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-client-pages.php

    r2995913 r3004306  
    187187            'hierarchical' => true,
    188188            'rewrite' => $rewrite_slug !== false ? array('slug' => $rewrite_slug) : false,
    189             'query_var' => true
     189            'query_var' => true,
     190            'capabilities' => array(
     191                'manage_terms' => 'manage_options',
     192                'edit_terms' => 'manage_options',
     193                'delete_terms' => 'manage_options',
     194                'assign_terms' => 'manage_options',             
     195            ),
    190196        );
    191197
     
    248254            'hierarchical' => false,
    249255            'rewrite' => $rewrite_slug !== false ? array('slug' => $rewrite_slug) : false,
    250             'query_var' => true
     256            'query_var' => true,
     257            'capabilities' => array(
     258                'manage_terms' => 'manage_options',
     259                'edit_terms' => 'manage_options',
     260                'delete_terms' => 'manage_options',
     261                'assign_terms' => 'manage_options',             
     262            ),
    251263        );
    252264
  • constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-file.php

    r2995913 r3004306  
    170170            'hierarchical' => true,
    171171            'rewrite' => $rewrite_slug !== false ? array('slug' => $rewrite_slug) : false,
    172             'query_var' => true
     172            'query_var' => true,
     173            'capabilities' => array(
     174                'manage_terms' => 'manage_options',
     175                'edit_terms' => 'manage_options',
     176                'delete_terms' => 'manage_options',
     177                'assign_terms' => 'manage_options',             
     178            ),
    173179        );
    174180
     
    223229            'hierarchical' => false,
    224230            'rewrite' => $rewrite_slug !== false ? array('slug' => $rewrite_slug) : false,
    225             'query_var' => true
     231            'query_var' => true,
     232            'capabilities' => array(
     233                'manage_terms' => 'manage_options',
     234                'edit_terms' => 'manage_options',
     235                'delete_terms' => 'manage_options',
     236                'assign_terms' => 'manage_options',             
     237            ),
    226238        );
    227239
  • constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-invoice.php

    r2995913 r3004306  
    171171            'hierarchical' => true,
    172172            'rewrite' => $rewrite_slug !== false ? array('slug' => $rewrite_slug) : false,
    173             'query_var' => true
     173            'query_var' => true,'capabilities' => array(
     174                'manage_terms' => 'manage_options',
     175                'edit_terms' => 'manage_options',
     176                'delete_terms' => 'manage_options',
     177                'assign_terms' => 'manage_options',             
     178            ),
    174179        );
    175180
     
    225230            'hierarchical' => false,
    226231            'rewrite' => $rewrite_slug !== false ? array('slug' => $rewrite_slug) : false,
    227             'query_var' => true
     232            'query_var' => true,
     233            'capabilities' => array(
     234                'manage_terms' => 'manage_options',
     235                'edit_terms' => 'manage_options',
     236                'delete_terms' => 'manage_options',
     237                'assign_terms' => 'manage_options',             
     238            ),
    228239        );
    229240
  • constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-settings.php

    r2987566 r3004306  
    195195    function generate_settings_sidebar_html(){
    196196
     197        $plugin_dir_url = ACCP_PLUGIN_DIR_URL;
     198        $logo_url = $plugin_dir_url . 'assets/img/accp-full-logo.png';
     199
    197200        $html = '<div id="accp-settings-sidebar-container">';
    198201
    199202        $html .=    '<span class="accp-setting-logo-container">';
    200203       
    201         $html .=        '<img src="http://192.168.99.101:8000/wp-content/plugins/ars-constellation-client-portal-dev/assets/img/accp-full-logo.png">';
     204        $html .=        '<img src="'.esc_url($logo_url).'">';
    202205       
    203206        $html .=    '</span>';
     
    205208        $html .= $this->generate_settings_nav_html();
    206209
    207         $html .= '</div>';
     210        $html .= '</div>';     
    208211
    209212        return $html;
  • constellation-client-portal/trunk/admin/js/ars-constellation-client-portal-admin.js

    r2933483 r3004306  
    11(function( $ ) {   
    22   
    3     $(document).ready(function(){
    4 
    5         accp_admin_tab_click_actions();
    6 
    7         accp_admin_load_last_active_tab_on_load();
     3    $(document).ready(function(){       
    84
    95        accp_admin_make_company_select_field_required();
  • constellation-client-portal/trunk/ars-constellation-client-portal.php

    r2995913 r3004306  
    55 * Plugin URI:        https://adrianrodriguezstudios.com/constellation-client-portal/
    66 * 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.7.3
     7 * Version:           1.7.4
    88 * Author:            ARS
    99 * Author URI:        https://adrianrodriguezstudios.com
     
    5555     */
    5656    define('ACCP_PLUGIN_NAME', 'ARS_CONSTELLATION_CLIENT_PORTAL');
    57     define('ACCP_PLUGIN_VERSION', '1.7.3'); // Change the version in the header as well.
     57    define('ACCP_PLUGIN_VERSION', '1.7.4'); // Change the version in the header as well.
    5858    define( ACCP_PLUGIN_NAME, ACCP_PLUGIN_VERSION );
    5959    define('ACCP_PLUGIN_FILE_NAME', __FILE__);
     60    define('ACCP_PLUGIN_DIR_URL', plugin_dir_url( __FILE__ ) );
    6061
    6162
  • constellation-client-portal/trunk/public/shortcodes/class-ars-constellation-client-portal-list-shortcodes.php

    r2987566 r3004306  
    20092009        $html .=    '<a href="'.esc_url($attached_file['url']).'" class="view-print accp-file-view-print" target="_blank">View and Print</a>';
    20102010
    2011         $html .=    '<span class="accp-view-download-separator"> | </span>';
     2011        $html .=    '<span class="accp-view-download-separator"> | </span>';       
    20122012                                   
    2013         $html .=    '<a href="'.esc_url($url_params).'" class="download accp-file-download" data-file-id="'.esc_attr($post_id).'" data-nonce="'.esc_attr($nonce).'" target="_blank" download>Download</a>';
     2013        $html .=    '<a href="'.esc_url($url_params).'" class="download accp-file-download" data-file-id="'.esc_attr($post_id).'" data-nonce="'.esc_attr($nonce).'" target="_blank">Download</a>';
    20142014                           
    20152015        $html .= '</div>';                   
Note: See TracChangeset for help on using the changeset viewer.