Plugin Directory

Changeset 2992399


Ignore:
Timestamp:
11/08/2023 05:40:05 PM (2 years ago)
Author:
arstudios
Message:

Release 1.7.2.

Location:
constellation-client-portal
Files:
132 added
2 deleted
3 edited

Legend:

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

    r2987566 r2992399  
    44Tags: client portal, customer portal, business portal, client management, private files, private pages, private posts, invoice clients, invoicing, business managemenet
    55Requires at least: 5.0.0
    6 Tested up to: 6.3
    7 Stable tag: 1.7.1
     6Tested up to: 6.4
     7Stable tag: 1.7.2
    88Requires PHP: 7.4
    99License: GPLv3 or later
     
    200200
    201201== Changelog ==
     202
     203= 1.7.2 (Pro) - 2023-11-8 =
     204* Compatibility: Tested with WP 6.4.
     205* Update: Updated the company status select functionality in the company status metabox.
     206
     207= 1.7.2 (Core) - 2023-11-8 =
     208* Compatibility: Tested with WP 6.4.
     209* Update: Removed the status column in the core company WP list table, as company statuses are a pro feature.
     210* Update: Updated the status display functionality in the WP Admin company list.
    202211
    203212= 1.7.1 (Pro) - 2023-11-1 =
  • constellation-client-portal/trunk/admin/class-ars-constellation-client-portal-company.php

    r2961762 r2992399  
    4747        $this->version = $version; 
    4848        $this->accp_utility_functions = new ACCP_Utility_Functions();
     49        $this->is_pro = $this->accp_utility_functions->is_pro_plugin($this->plugin_name);
    4950
    5051    }
     
    140141
    141142                $new_columns['company_id'] = __( 'Company ID', 'accp_company' );
    142                 $new_columns['company_status'] = __( 'Status', 'accp_company' );
     143
     144                if( true === $this->is_pro ) {
     145
     146                    $new_columns['company_status'] = __( 'Status', 'accp_company' );
     147
     148                }
     149               
    143150                $new_columns['company_primary_user'] = __( 'Primary User', 'accp_company' );
    144151                $new_columns['number_of_clients'] = __( 'Number of Clients', 'accp_company' );
     
    272279     * Display the Home Page column content - Client Company WP List Table - Company Status.
    273280     */
    274     public function clientcompany_column_display_status( $column_name, $post_id ) {
     281    public function clientcompany_column_display_status( $column_name, $post_id ) {
     282
     283        if( !is_user_logged_in() || !is_admin() || !current_user_can('manage_options') )
     284            return;
    275285       
    276286        if ( 'company_status' != $column_name )
     
    280290        $saved_status = get_post_meta($post_id, 'accp_company_status', true);
    281291
     292        if( !$company_statuses || empty($company_statuses) )
     293            echo esc_html($saved_status);
     294
    282295        if(!empty($saved_status)){
    283296
     
    285298
    286299                if($field['value'] == $saved_status){
     300
    287301                    echo esc_html($field['label']);             
     302                    return;
     303
    288304                }
    289305
  • constellation-client-portal/trunk/ars-constellation-client-portal.php

    r2987566 r2992399  
    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.1
     7 * Version:           1.7.2
    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.1'); // Change the version in the header as well.
     57    define('ACCP_PLUGIN_VERSION', '1.7.2'); // Change the version in the header as well.
    5858    define( ACCP_PLUGIN_NAME, ACCP_PLUGIN_VERSION );
    5959    define('ACCP_PLUGIN_FILE_NAME', __FILE__);
Note: See TracChangeset for help on using the changeset viewer.