Plugin Directory

Changeset 3278634


Ignore:
Timestamp:
04/22/2025 04:15:55 AM (11 months ago)
Author:
devofwp
Message:

Adding the first version of my plugin

Location:
user-grid
Files:
77 added
5 edited

Legend:

Unmodified
Added
Removed
  • user-grid/assets/blueprints/blueprint.json

    r3251973 r3278634  
    11{
    2     "landingPage": "/wp-admin/",
    3     "preferredVersions": {
    4       "php": "8.0",
    5       "wp": "latest"
     2  "landingPage": "/wp-admin/",
     3  "preferredVersions": {
     4    "php": "8.0",
     5    "wp": "latest"
     6  },
     7  "phpExtensionBundles": [
     8    "kitchen-sink"
     9  ],
     10  "features": {
     11    "networking": true
     12  },
     13  "steps": [
     14    {
     15      "step": "login",
     16      "username": "admin",
     17      "password": "password"
    618    },
    7     "phpExtensionBundles": [
    8       "kitchen-sink"
    9     ],
    10     "features": {
    11       "networking": true
    12     },
    13     "steps": [
    14       {
    15         "step": "login",
    16         "username": "admin",
    17         "password": "password"
     19    {
     20      "step": "installPlugin",
     21      "pluginZipFile": {
     22        "resource": "url",
     23        "url": "https://downloads.wordpress.org/plugin/user-grid.zip"
    1824      },
    19       {
    20         "step": "installPlugin",
    21         "pluginZipFile": {
    22           "resource": "url",
    23           "url": "https://downloads.wordpress.org/plugin/user-grid.zip"
    24         },
    25         "options": {
    26           "activate": true
    27         }
     25      "options": {
     26        "activate": true
    2827      }
    29     ]
    30   }
    31  
    32  
     28    }
     29  ]
     30}
     31
  • user-grid/trunk/app/Controllers/ScriptController.php

    r3197380 r3278634  
    1919 */
    2020class ScriptController {
     21
    2122    /**
    2223     * Version
     
    4243        global $pagenow;
    4344        $this->version = defined( 'WP_DEBUG' ) && WP_DEBUG ? time() : USER_GRID_VERSION;
    44         add_action( 'wp_enqueue_scripts', [ $this, 'enqueue' ] );
    4545        if ( in_array( $pagenow, $this->notices_enabled_pages ) ) {
    46 
    47             // Admin scripts
     46            // Admin scripts.
    4847            add_action( 'admin_enqueue_scripts', [ $this, 'admin_enqueue_scripts' ] );
    49 
    5048        }
    5149        add_action( 'init', [ $this, 'init' ] );
     50        add_action( 'wp_enqueue_scripts', [ $this, 'enqueue' ] );
    5251    }
    5352
     
    107106
    108107    public static function get_default_avatar_url( $user_email = '', $size = 96 ) {
    109 
    110108        // Check the email provided
    111109        if ( empty( $user_email ) || ! filter_var( $user_email, FILTER_VALIDATE_EMAIL ) ) {
     
    143141        wp_localize_script( 'user-grid-avatar', 'userGrid', $l10n );
    144142    }
     143
    145144}
  • user-grid/trunk/languages/user-grid.pot

    r3203401 r3278634  
    1 # Copyright (C) 2024 User Grid
     1# Copyright (C) 2025 User Grid
    22# This file is distributed under the same license as the User Grid package.
    33msgid ""
     
    77"Content-Type: text/plain; charset=UTF-8\n"
    88"Content-Transfer-Encoding: 8bit\n"
    9 "POT-Creation-Date: 2024-12-06 06:49+0000\n"
     9"POT-Creation-Date: 2025-04-22 04:07+0000\n"
    1010"X-Poedit-Basepath: ..\n"
    1111"X-Poedit-KeywordsList: __;_e;_ex:1,2c;_n:1,2;_n_noop:1,2;_nx:1,2,4c;_nx_noop:1,2,3c;_x:1,2c;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
  • user-grid/trunk/readme.txt

    r3203401 r3278634  
    1 === User Grid ===
     1=== User Grid – Display WordPress Users in a Beautiful Grid Layout ===
    22Contributors: devofwp, habibjh
    33Donate link:
    44Tags: user grid, user list, query builder
    55Requires at least: 5.9
    6 Tested up to: 6.6
    7 Stable tag: 1.0.1
     6Tested up to: 6.8
     7Stable tag: 1.0.2
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    7676== Changelog ==
    7777
     78= 1.0.2 =
     79* Updated: WordPress update compatibility
     80* Updated: readme file modify
     81
    7882= 1.0.1 =
    7983* Updated: Plugin name updated
     
    8589
    8690== Upgrade Notice ==
    87 
    8891
    8992== Arbitrary section ==
  • user-grid/trunk/user-grid.php

    r3203401 r3278634  
    11<?php
    22/**
    3  * Plugin Name: User Grid - Show WP Users in a Grid
     3 * Plugin Name: User Grid – Display WordPress Users in a Beautiful Grid Layout
    44 * Plugin URI: https://github.com/devofwp/user-grid
    55 * Description: Fast & Easy way to display WordPress users in a page
    66 * Author: devofwp
    7  * Version: 1.0.1
     7 * Version: 1.0.2
    88 * Text Domain: user-grid
    99 * Domain Path: /languages
     
    2020}
    2121
    22 define( 'USER_GRID_VERSION', '1.0.1' );
     22define( 'USER_GRID_VERSION', '1.0.2' );
    2323define( 'USER_GRID_PLUGIN_FILE', __FILE__ );
    2424define( 'USER_GRID_PLUGIN_ACTIVE_FILE_NAME', plugin_basename( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.