Changeset 3233135
- Timestamp:
- 02/01/2025 03:05:59 PM (14 months ago)
- Location:
- hide-author-archive
- Files:
-
- 2 added
- 8 edited
- 1 copied
-
tags/1.2.0 (copied) (copied from hide-author-archive/trunk)
-
tags/1.2.0/composer.json (modified) (1 diff)
-
tags/1.2.0/hide-author-archive.php (modified) (2 diffs)
-
tags/1.2.0/includes/functions-admin.php (modified) (1 diff)
-
tags/1.2.0/includes/override-yoast.php (added)
-
tags/1.2.0/readme.txt (modified) (2 diffs)
-
trunk/composer.json (modified) (1 diff)
-
trunk/hide-author-archive.php (modified) (2 diffs)
-
trunk/includes/functions-admin.php (modified) (1 diff)
-
trunk/includes/override-yoast.php (added)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hide-author-archive/tags/1.2.0/composer.json
r2697733 r3233135 13 13 "scripts": { 14 14 "test": "phpunit", 15 "cs":[ 16 "phpcs --config-set installed_paths $(pwd)/vendor/wp-coding-standards/wpcs", 15 "lint":[ 17 16 "phpcs --standard=phpcs.ruleset.xml includes", 18 17 "phpcs --standard=phpcs.ruleset.xml hide-author-archive.php" 19 18 ], 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" 24 22 ] 25 23 }, 26 24 "require": { 27 "php": " ^7.0|^5.6"25 "php": ">=7.4" 28 26 }, 29 27 "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 } 34 37 } 35 38 } -
hide-author-archive/tags/1.2.0/hide-author-archive.php
r2700437 r3233135 4 4 * Plugin URI: https://github.com/kuno1/hide-author-archive 5 5 * Description: Hide author archive pages. 6 * Version: 1. 1.67 * Author: Kunoichi INC.8 * Author URI: https:// kunoichiwp.com6 * Version: 1.2.0 7 * Author: Tarosky 8 * Author URI: https://tarosky.co.jp 9 9 * License: GPLv3 or later 10 10 * License URI: https://www.gnu.org/licenses/old-licenses/gpl-3.0.html … … 37 37 require __DIR__ . '/includes/functions-rest.php'; 38 38 require __DIR__ . '/includes/functions-admin.php'; 39 require __DIR__ . '/includes/override-yoast.php'; 39 40 40 41 /** -
hide-author-archive/tags/1.2.0/includes/functions-admin.php
r2421308 r3233135 14 14 } 15 15 // 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 () { 17 17 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' ) ); 18 18 }, 'reading' ); 19 19 // 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 () { 21 21 printf( 22 22 '<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 1 1 === Hide Author Archive === 2 2 3 Contributors: kuno1, Takahashi_Fumiki 3 Contributors: kuno1, Takahashi_Fumiki, tarosky 4 4 Tags: permalink, author, archive, url 5 Requires at least: 5. 06 Requires PHP: 5.67 Tested up to: 5.98 Stable tag: 1. 1.65 Requires at least: 5.9 6 Requires PHP: 7.4 7 Tested up to: 6.7 8 Stable tag: 1.2.0 9 9 License: GPLv3 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 49 49 == Changelog == 50 50 51 = 1.2.0 = 52 53 * Add override function for Yoast. 54 51 55 = 1.1.5 = 52 56 -
hide-author-archive/trunk/composer.json
r2697733 r3233135 13 13 "scripts": { 14 14 "test": "phpunit", 15 "cs":[ 16 "phpcs --config-set installed_paths $(pwd)/vendor/wp-coding-standards/wpcs", 15 "lint":[ 17 16 "phpcs --standard=phpcs.ruleset.xml includes", 18 17 "phpcs --standard=phpcs.ruleset.xml hide-author-archive.php" 19 18 ], 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" 24 22 ] 25 23 }, 26 24 "require": { 27 "php": " ^7.0|^5.6"25 "php": ">=7.4" 28 26 }, 29 27 "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 } 34 37 } 35 38 } -
hide-author-archive/trunk/hide-author-archive.php
r2700437 r3233135 4 4 * Plugin URI: https://github.com/kuno1/hide-author-archive 5 5 * Description: Hide author archive pages. 6 * Version: 1. 1.67 * Author: Kunoichi INC.8 * Author URI: https:// kunoichiwp.com6 * Version: 1.2.0 7 * Author: Tarosky 8 * Author URI: https://tarosky.co.jp 9 9 * License: GPLv3 or later 10 10 * License URI: https://www.gnu.org/licenses/old-licenses/gpl-3.0.html … … 37 37 require __DIR__ . '/includes/functions-rest.php'; 38 38 require __DIR__ . '/includes/functions-admin.php'; 39 require __DIR__ . '/includes/override-yoast.php'; 39 40 40 41 /** -
hide-author-archive/trunk/includes/functions-admin.php
r2421308 r3233135 14 14 } 15 15 // 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 () { 17 17 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' ) ); 18 18 }, 'reading' ); 19 19 // 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 () { 21 21 printf( 22 22 '<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 1 1 === Hide Author Archive === 2 2 3 Contributors: kuno1, Takahashi_Fumiki 3 Contributors: kuno1, Takahashi_Fumiki, tarosky 4 4 Tags: permalink, author, archive, url 5 Requires at least: 5. 06 Requires PHP: 5.67 Tested up to: 5.98 Stable tag: 1. 1.65 Requires at least: 5.9 6 Requires PHP: 7.4 7 Tested up to: 6.7 8 Stable tag: 1.2.0 9 9 License: GPLv3 or later 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 49 49 == Changelog == 50 50 51 = 1.2.0 = 52 53 * Add override function for Yoast. 54 51 55 = 1.1.5 = 52 56
Note: See TracChangeset
for help on using the changeset viewer.