Plugin Directory

Changeset 3125150


Ignore:
Timestamp:
07/25/2024 10:31:35 AM (21 months ago)
Author:
keith_wp
Message:

Release 0.4.2 now tested up to 6.6.1

Location:
test-content-generator/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • test-content-generator/trunk/readme.md

    r3067447 r3125150  
    11# Test Content Generator
    22
    3 Plugin Name:       Test Content Generator 
     3Plugin Name:       Test Content Generator
    44Plugin URI:        https://codeberg.org/kifd-WordPress/TestContentGenerator 
    55Contributors:      keith_wp 
    66Author Link:       https://drakard.com/ 
    77Requires at least: 4.0 or higher 
    8 Tested up to:      6.5 
     8Tested up to:      6.6.1 
    99Requires PHP:      8.0 
    1010Stable tag:        0.4.2 
    1111License:           BSD-3-Clause 
    1212License URI:       https://directory.fsf.org/wiki/License:BSD-3-Clause 
    13 Tags:              lorem ipsum, test content, wp cli, test posts, test images, test users, test comments
     13Tags:              test content, lorem ipsum, test posts, lipsum, wp cli
    1414
    1515
     
    4444Using the plugin defaults, you can populate a test site with just the following commands:
    4545
    46 1. `wp plugin install test-content-generator --activate`
     461. `wp plugin install test-content-generator --activate`\
    4747    Download and activate the plugin.
    48 2. `wp test users --amount=20`
     482. `wp test users --amount=20`\
    4949    Add 20 random Editor/Author/Contributor/Subscribers users who have registered within the last 60 days.
    50 3. `wp test taxonomies --amount=50`
     503. `wp test taxonomies --amount=50`\
    5151    Add 50 taxonomy terms split between Categories and Post Tags.
    52 4. `wp test images --amount=10`
     524. `wp test images --amount=10`\
    5353    Add 10 images of size 800x400 uploaded by any Editor/Author.
    54 5. `wp test posts --amount=40`
     545. `wp test posts --amount=40`\
    5555    Add 40 Posts written within the last 60 days by any Editor/Author/Contributor, with a Featured Image and both categorised and tagged.
    56 6. `wp test comments --amount=100`
     566. `wp test comments --amount=100`\
    5757    Add 100 comments to your Posts written within the last 60 days by any of the registered users.
    5858
     
    7979* Switched use of rand() to wp_rand() to stop the plugin check whining
    8080* Added translator notes for the various placeholders
    81 * Tested against 6.5 and 6.4.3
     81* Tested against 6.4.3, 6.5 and 6.6.1
    8282
    8383### 0.4.1
  • test-content-generator/trunk/test-content-generator.php

    r3067434 r3125150  
    9191    public function admin_page_content() {
    9292        echo '<div class="wrap"><h1>'.esc_html__('Test Content Generator', 'TestContentGenerator').'</h1>';
    93        
    9493        $_tab = filter_input(INPUT_GET, 'tab', FILTER_SANITIZE_ENCODED);
    9594        $active_tab = (array_key_exists($_tab, $this->tabs)) ? $_tab : $this->default_tab;
Note: See TracChangeset for help on using the changeset viewer.