Plugin Directory

Changeset 3079483


Ignore:
Timestamp:
04/30/2024 02:52:22 PM (22 months ago)
Author:
leadeeplugin
Message:

v1.0.2

Location:
leadee
Files:
188 added
4 edited

Legend:

Unmodified
Added
Removed
  • leadee/trunk/core/leadee-dashboard.php

    r3043744 r3079483  
    1313    // Add Leadee menu item.
    1414    add_menu_page(
    15         __( 'Leadee', 'leadee-dashboard' ),
    16         __( 'Leadee', 'leadee-dashboard' ),
     15        'Leadee',
     16        'Leadee <span id="leadee-unread-count" class="leadee-notifications-count update-plugins count-0"><span class="plugin-count">0</span></span>',
    1717        'activate_plugins',
    1818        'leadee-dashboard',
     
    2121            wp_remote_get(
    2222                LEADEE_PLUGIN_URL . '/core/assets/image/leadee.svg',
    23                 array(
    24                     'sslverify' => false,
    25                 )
     23                array('sslverify' => false,)
    2624            )['body']
    2725        ),
    2826        3
    2927    );
     28
    3029
    3130    /**
  • leadee/trunk/includes/class-leadee-loader.php

    r3043744 r3079483  
    4040     * @param object $component A reference to the instance of the object on which the action is defined.
    4141     * @param string $callback The name of the function definition on the $component.
    42      * @param int    $priority Optional. he priority at which the function should be fired. Default is 10.
    43      * @param int    $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1.
     42     * @param int $priority Optional. he priority at which the function should be fired. Default is 10.
     43     * @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1.
    4444     */
    4545    public function add_action( $hook, $component, $callback, $priority = 10, $accepted_args = 1 ) {
     
    5454     * @param object $component A reference to the instance of the object on which the filter is defined.
    5555     * @param string $callback The name of the function definition on the $component.
    56      * @param int    $priority Optional. he priority at which the function should be fired. Default is 10.
    57      * @param int    $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1
     56     * @param int $priority Optional. he priority at which the function should be fired. Default is 10.
     57     * @param int $accepted_args Optional. The number of arguments that should be passed to the $callback. Default is 1
    5858     */
    5959    public function add_filter( $hook, $component, $callback, $priority = 10, $accepted_args = 1 ) {
     
    6868     * @access      private
    6969     *
    70      * @param array  $hooks The collection of hooks that is being registered (that is, actions or filters).
     70     * @param array $hooks The collection of hooks that is being registered (that is, actions or filters).
    7171     * @param string $hook The name of the WordPress filter that is being registered.
    7272     * @param object $component A reference to the instance of the object on which the filter is defined.
    7373     * @param string $callback The name of the function definition on the $component.
    74      * @param int    $priority The priority at which the function should be fired.
    75      * @param int    $accepted_args The number of arguments that should be passed to the $callback.
     74     * @param int $priority The priority at which the function should be fired.
     75     * @param int $accepted_args The number of arguments that should be passed to the $callback.
    7676     *
    7777     * @return      array                           The collection of actions and filters registered with WordPress.
     
    9393     * Register the filters and actions with WordPress.
    9494     */
    95     /**
    96      * Register the filters and actions with WordPress.
    97      */
    98     /**
    99      * Register the filters and actions with WordPress.
    100      */
    10195    public function leadee_run() {
     96        function leadee_enqueue_admin_assets() {
     97            wp_enqueue_script( 'leadee-admin-script', LEADEE_PLUGIN_URL . '/core/assets/js/admin/leadee-admin.js', array( 'jquery' ), LEADEE_VERSION, true );
     98            wp_localize_script(
     99                'leadee-admin-script',
     100                'outData',
     101                array(
     102                    'siteUrl' => get_site_url(),
     103                )
     104            );
     105
     106            wp_enqueue_style( 'leadee-admin-style', LEADEE_PLUGIN_URL . '/core/assets/css/admin/leadee-admin.css', array(), LEADEE_VERSION );
     107        }
     108
     109        add_action( 'admin_enqueue_scripts', 'leadee_enqueue_admin_assets' );
     110
     111
     112
    102113        $leadee_pages = array( 'dashboard', 'goals', 'goals-settings', 'leads', 'leads-table-settings' );
    103114
  • leadee/trunk/leadee.php

    r3066856 r3079483  
    66 * Plugin URI: https://leadee.io?utm_source=refferal&utm_medium=wp_admin&utm_content=plugin_url
    77 * Author: Leadee.io
    8  * Version: 1.0.1
    9  * Stable tag: 1.0.1
     8 * Version: 1.0.2
     9 * Stable tag: 1.0.2
    1010 * Tested up to: 6.5
    1111 * Author URI: https://leadee.io?utm_source=refferal&utm_medium=wp_admin&utm_content=author_url
     
    2424}
    2525
    26 define( 'LEADEE_VERSION', '1.0.1' );
     26define( 'LEADEE_VERSION', '1.0.2' );
    2727
    2828define( 'LEADEE_PLUGIN', __FILE__ );
  • leadee/trunk/readme.txt

    r3066796 r3079483  
    11=== Leadee - Leads Analytics and Message Storage Plugin ===
    22Contributors: leadeeplugin
    3 Stable tag: 1.0.1
     3Stable tag: 1.0.2
    44Site: https://leadee.io
    55Donate link: https://donate.leadee.io
     
    6565= 1.0.1 - 2024-04-08 =
    6666* Fix: plugin description and tested on wp 6.5
     67
     68= 1.0.2 - 2024-04-30 =
     69* Fix: added menu counter
Note: See TracChangeset for help on using the changeset viewer.