Plugin Directory

Changeset 3233135


Ignore:
Timestamp:
02/01/2025 03:05:59 PM (14 months ago)
Author:
Tarosky
Message:

Update to version 1.2.0 from GitHub

Location:
hide-author-archive
Files:
2 added
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • hide-author-archive/tags/1.2.0/composer.json

    r2697733 r3233135  
    1313    "scripts": {
    1414        "test": "phpunit",
    15         "cs":[
    16             "phpcs --config-set installed_paths $(pwd)/vendor/wp-coding-standards/wpcs",
     15        "lint":[
    1716            "phpcs --standard=phpcs.ruleset.xml includes",
    1817            "phpcs --standard=phpcs.ruleset.xml hide-author-archive.php"
    1918        ],
    20         "cs:csv":[
    21             "phpcs --config-set installed_paths $(pwd)/vendor/wp-coding-standards/wpcs",
    22             "phpcs --standard=phpcs.ruleset.xml --report=csv includes | column -s , -t",
    23             "phpcs --standard=phpcs.ruleset.xml --report=csv hide-author-archive.php | column -s , -t"
     19        "fix":[
     20            "phpcbf --standard=phpcs.ruleset.xml includes",
     21            "phpcbf --standard=phpcs.ruleset.xml hide-author-archive.php"
    2422        ]
    2523    },
    2624    "require": {
    27         "php": "^7.0|^5.6"
     25        "php": ">=7.4"
    2826    },
    2927    "require-dev": {
    30         "phpunit/phpunit": "^5.7|^6",
    31         "squizlabs/php_codesniffer": "~3.3.1",
    32         "wp-coding-standards/wpcs": "~2.0",
    33         "yoast/phpunit-polyfills": "^1.0"
     28        "phpunit/phpunit": ">=6",
     29        "squizlabs/php_codesniffer": "^3.0.0",
     30        "wp-coding-standards/wpcs": "^3.0.0",
     31        "yoast/phpunit-polyfills": "^2.0"
     32    },
     33    "config": {
     34        "allow-plugins": {
     35            "dealerdirect/phpcodesniffer-composer-installer": true
     36        }
    3437    }
    3538}
  • hide-author-archive/tags/1.2.0/hide-author-archive.php

    r2700437 r3233135  
    44 * Plugin URI:  https://github.com/kuno1/hide-author-archive
    55 * Description: Hide author archive pages.
    6  * Version:     1.1.6
    7  * Author:      Kunoichi INC.
    8  * Author URI:  https://kunoichiwp.com
     6 * Version:     1.2.0
     7 * Author:      Tarosky
     8 * Author URI:  https://tarosky.co.jp
    99 * License:     GPLv3 or later
    1010 * License URI: https://www.gnu.org/licenses/old-licenses/gpl-3.0.html
     
    3737require __DIR__ . '/includes/functions-rest.php';
    3838require __DIR__ . '/includes/functions-admin.php';
     39require __DIR__ . '/includes/override-yoast.php';
    3940
    4041/**
  • hide-author-archive/tags/1.2.0/includes/functions-admin.php

    r2421308 r3233135  
    1414    }
    1515    // Register settings section.
    16     add_settings_section( 'hide_author_archive', __( 'Hide Author Archive', 'hide-author-archive' ), function() {
     16    add_settings_section( 'hide_author_archive', __( 'Hide Author Archive', 'hide-author-archive' ), function () {
    1717        printf( '<p class="description">%s</p>', esc_html__( 'Author archive pages is hidden by default. You can set other page in which user\'s ID may revealed.', 'hide-author-archive' ) );
    1818    }, 'reading' );
    1919    // Register setting fields.
    20     add_settings_field( 'hide_author_archive_int_rest', __( 'REST API', 'hide-author-archive' ), function() {
     20    add_settings_field( 'hide_author_archive_int_rest', __( 'REST API', 'hide-author-archive' ), function () {
    2121        printf(
    2222            '<label><input type="checkbox" value="1" name="%1$s" id="%1$s" %2$s /> %3$s </label>',
  • hide-author-archive/tags/1.2.0/readme.txt

    r2700437 r3233135  
    11=== Hide Author Archive ===
    22
    3 Contributors: kuno1, Takahashi_Fumiki 
     3Contributors: kuno1, Takahashi_Fumiki, tarosky 
    44Tags: permalink, author, archive, url 
    5 Requires at least: 5.0 
    6 Requires PHP: 5.6 
    7 Tested up to: 5.9 
    8 Stable tag: 1.1.6 
     5Requires at least: 5.9 
     6Requires PHP: 7.4 
     7Tested up to: 6.7 
     8Stable tag: 1.2.0 
    99License: GPLv3 or later 
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    4949== Changelog ==
    5050
     51= 1.2.0 =
     52
     53* Add override function for Yoast.
     54
    5155= 1.1.5 =
    5256
  • hide-author-archive/trunk/composer.json

    r2697733 r3233135  
    1313    "scripts": {
    1414        "test": "phpunit",
    15         "cs":[
    16             "phpcs --config-set installed_paths $(pwd)/vendor/wp-coding-standards/wpcs",
     15        "lint":[
    1716            "phpcs --standard=phpcs.ruleset.xml includes",
    1817            "phpcs --standard=phpcs.ruleset.xml hide-author-archive.php"
    1918        ],
    20         "cs:csv":[
    21             "phpcs --config-set installed_paths $(pwd)/vendor/wp-coding-standards/wpcs",
    22             "phpcs --standard=phpcs.ruleset.xml --report=csv includes | column -s , -t",
    23             "phpcs --standard=phpcs.ruleset.xml --report=csv hide-author-archive.php | column -s , -t"
     19        "fix":[
     20            "phpcbf --standard=phpcs.ruleset.xml includes",
     21            "phpcbf --standard=phpcs.ruleset.xml hide-author-archive.php"
    2422        ]
    2523    },
    2624    "require": {
    27         "php": "^7.0|^5.6"
     25        "php": ">=7.4"
    2826    },
    2927    "require-dev": {
    30         "phpunit/phpunit": "^5.7|^6",
    31         "squizlabs/php_codesniffer": "~3.3.1",
    32         "wp-coding-standards/wpcs": "~2.0",
    33         "yoast/phpunit-polyfills": "^1.0"
     28        "phpunit/phpunit": ">=6",
     29        "squizlabs/php_codesniffer": "^3.0.0",
     30        "wp-coding-standards/wpcs": "^3.0.0",
     31        "yoast/phpunit-polyfills": "^2.0"
     32    },
     33    "config": {
     34        "allow-plugins": {
     35            "dealerdirect/phpcodesniffer-composer-installer": true
     36        }
    3437    }
    3538}
  • hide-author-archive/trunk/hide-author-archive.php

    r2700437 r3233135  
    44 * Plugin URI:  https://github.com/kuno1/hide-author-archive
    55 * Description: Hide author archive pages.
    6  * Version:     1.1.6
    7  * Author:      Kunoichi INC.
    8  * Author URI:  https://kunoichiwp.com
     6 * Version:     1.2.0
     7 * Author:      Tarosky
     8 * Author URI:  https://tarosky.co.jp
    99 * License:     GPLv3 or later
    1010 * License URI: https://www.gnu.org/licenses/old-licenses/gpl-3.0.html
     
    3737require __DIR__ . '/includes/functions-rest.php';
    3838require __DIR__ . '/includes/functions-admin.php';
     39require __DIR__ . '/includes/override-yoast.php';
    3940
    4041/**
  • hide-author-archive/trunk/includes/functions-admin.php

    r2421308 r3233135  
    1414    }
    1515    // Register settings section.
    16     add_settings_section( 'hide_author_archive', __( 'Hide Author Archive', 'hide-author-archive' ), function() {
     16    add_settings_section( 'hide_author_archive', __( 'Hide Author Archive', 'hide-author-archive' ), function () {
    1717        printf( '<p class="description">%s</p>', esc_html__( 'Author archive pages is hidden by default. You can set other page in which user\'s ID may revealed.', 'hide-author-archive' ) );
    1818    }, 'reading' );
    1919    // Register setting fields.
    20     add_settings_field( 'hide_author_archive_int_rest', __( 'REST API', 'hide-author-archive' ), function() {
     20    add_settings_field( 'hide_author_archive_int_rest', __( 'REST API', 'hide-author-archive' ), function () {
    2121        printf(
    2222            '<label><input type="checkbox" value="1" name="%1$s" id="%1$s" %2$s /> %3$s </label>',
  • hide-author-archive/trunk/readme.txt

    r2700437 r3233135  
    11=== Hide Author Archive ===
    22
    3 Contributors: kuno1, Takahashi_Fumiki 
     3Contributors: kuno1, Takahashi_Fumiki, tarosky 
    44Tags: permalink, author, archive, url 
    5 Requires at least: 5.0 
    6 Requires PHP: 5.6 
    7 Tested up to: 5.9 
    8 Stable tag: 1.1.6 
     5Requires at least: 5.9 
     6Requires PHP: 7.4 
     7Tested up to: 6.7 
     8Stable tag: 1.2.0 
    99License: GPLv3 or later 
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    4949== Changelog ==
    5050
     51= 1.2.0 =
     52
     53* Add override function for Yoast.
     54
    5155= 1.1.5 =
    5256
Note: See TracChangeset for help on using the changeset viewer.