Changeset 3265034
- Timestamp:
- 04/01/2025 10:45:08 AM (11 months ago)
- Location:
- yoast-comment-hacks
- Files:
-
- 12 added
- 16 edited
- 1 copied
-
tags/2.1.2 (copied) (copied from yoast-comment-hacks/trunk)
-
tags/2.1.2/admin/admin.php (modified) (5 diffs)
-
tags/2.1.2/admin/assets/css/comment-hacks.css (modified) (1 diff)
-
tags/2.1.2/admin/views/config-page.php (modified) (4 diffs)
-
tags/2.1.2/comment-hacks.php (modified) (1 diff)
-
tags/2.1.2/inc/autoload.php (modified) (1 diff)
-
tags/2.1.2/inc/hacks.php (modified) (3 diffs)
-
tags/2.1.2/inc/progress-planner (added)
-
tags/2.1.2/inc/progress-planner-tasks.php (added)
-
tags/2.1.2/inc/progress-planner/comment-moderation.php (added)
-
tags/2.1.2/inc/progress-planner/comment-policy.php (added)
-
tags/2.1.2/inc/progress-planner/comment-redirect.php (added)
-
tags/2.1.2/phpcs.xml.dist (added)
-
tags/2.1.2/phpstan.neon.dist (modified) (1 diff)
-
tags/2.1.2/readme.txt (modified) (2 diffs)
-
trunk/admin/admin.php (modified) (5 diffs)
-
trunk/admin/assets/css/comment-hacks.css (modified) (1 diff)
-
trunk/admin/views/config-page.php (modified) (4 diffs)
-
trunk/comment-hacks.php (modified) (1 diff)
-
trunk/inc/autoload.php (modified) (1 diff)
-
trunk/inc/hacks.php (modified) (3 diffs)
-
trunk/inc/progress-planner (added)
-
trunk/inc/progress-planner-tasks.php (added)
-
trunk/inc/progress-planner/comment-moderation.php (added)
-
trunk/inc/progress-planner/comment-policy.php (added)
-
trunk/inc/progress-planner/comment-redirect.php (added)
-
trunk/phpcs.xml.dist (added)
-
trunk/phpstan.neon.dist (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
yoast-comment-hacks/tags/2.1.2/admin/admin.php
r3218529 r3265034 22 22 * The plugin page hook. 23 23 */ 24 private string $hook = 'comment- hacks';24 private string $hook = 'comment-experience'; 25 25 26 26 /** … … 60 60 \add_filter( 'comment_text', [ $this, 'show_forward_status' ], 10, 2 ); 61 61 62 \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_discussion_settings_script' ] ); 63 62 64 new Comment_Parent(); 65 } 66 67 /** 68 * Enqueue a small script on the discussion settings page to link to the comment experience settings page. 69 * 70 * @param string $hook The current admin page. 71 * 72 * @return void 73 */ 74 public function enqueue_discussion_settings_script( $hook ) { 75 if ( $hook !== 'options-discussion.php' ) { 76 return; 77 } 78 79 \wp_add_inline_script( 80 'jquery-core', 81 'jQuery(document).ready(function($){ 82 var link = "<div style=\"margin: 15px 0;\"><strong>Note:</strong> You will find more comment settings on the <a href=\"' . \admin_url( 'options-general.php?page=' . $this->hook ) . '\">Comment Experience plugin\'s settings page</a>.</div>"; 83 $(".wrap > h1").after(link); 84 });' 85 ); 63 86 } 64 87 … … 184 207 \add_meta_box( 185 208 'comment-hacks-reroute', 186 \__( 'Comment Hacks', 'comment-hacks' ),209 \__( 'Comment Experience', 'comment-hacks' ), 187 210 [ 188 211 $this, … … 264 287 $page = \filter_input( \INPUT_GET, 'page' ); 265 288 266 if ( $page === 'comment- hacks' ) {289 if ( $page === 'comment-experience' ) { 267 290 \wp_enqueue_style( 268 291 'emiliaprojects-comment-hacks-admin-css', … … 388 411 public function add_config_page() { 389 412 \add_options_page( 390 \__( 'Comment Hacks', 'comment-hacks' ),391 \__( 'Comment Hacks', 'comment-hacks' ),413 \__( 'Comment Experience', 'comment-hacks' ), 414 \__( 'Comment Experience', 'comment-hacks' ), 392 415 'manage_options', 393 416 $this->hook, -
yoast-comment-hacks/tags/2.1.2/admin/assets/css/comment-hacks.css
r3218529 r3265034 1 1 .emiliaprojectstab { 2 2 display: none; 3 margin-top :15px 3 margin-top: 15px; 4 max-width: 800px; 5 6 &.active { 7 display: block 8 } 9 10 strong { 11 font-size: 115% 12 } 13 14 .dashicons-email-alt { 15 color:#00f 16 } 17 18 table th { 19 width: 250px; 20 } 4 21 } 5 6 .emiliaprojectstab.active {7 display: block8 }9 10 .emiliaprojectstab strong {11 font-size: 115%12 }13 14 .emiliaprojectstab .dashicons-email-alt {15 color:#00f16 } -
yoast-comment-hacks/tags/2.1.2/admin/views/config-page.php
r3218529 r3265034 11 11 ?> 12 12 <div class="wrap"> 13 <h2><?php esc_html_e( 'Comment Hacks', 'comment-hacks' ); ?></h2>13 <h2><?php esc_html_e( 'Comment Experience', 'comment-hacks' ); ?></h2> 14 14 15 15 <h2 class="nav-tab-wrapper" id="emiliaprojects-tabs"> … … 264 264 <h3><?php esc_html_e( 'Redirect first time commenters', 'comment-hacks' ); ?></h3> 265 265 266 <p><?php esc_html_e( 'Select the page below that a first time commenter should be redirected to', 'comment-hacks' ); ?></p>266 <p><?php esc_html_e( 'Select the page below that a first time commenter on your site should be redirected to.', 'comment-hacks' ); ?></p> 267 267 <table class="form-table"> 268 268 <tr> … … 298 298 </tr> 299 299 </table> 300 301 <h3><?php esc_html_e( 'Redirect repeat commenters', 'comment-hacks' ); ?></h3> 302 303 <p><?php esc_html_e( 'A repeat commenter is a commenter that has commented on your entire site more than once. Select the page below that they should be redirected to.', 'comment-hacks' ); ?></p> 304 <p><?php esc_html_e( 'Note that if you have the "Redirect first time commenters" option set to "Don\'t redirect first time commenters", and you do have a page selected here, first-time commenters will be redirected to the same page as repeat commenters.', 'comment-hacks' ); ?></p> 305 <table class="form-table"> 306 <tr> 307 <th scope="row"> 308 <label for="redirect_repeat_page"> 309 <?php esc_html_e( 'Redirect repeat commenters to', 'comment-hacks' ); ?> 310 </label> 311 </th> 312 <td> 313 <?php 314 // A dropdown of all pages in the current WP install. 315 wp_dropdown_pages( 316 [ 317 'depth' => 0, 318 'id' => 'redirect_repeat_page', 319 // phpcs:ignore WordPress.Security.EscapeOutput -- This is a hard-coded string, just passed around as a variable. 320 'name' => Hacks::$option_name . '[redirect_repeat_page]', 321 'option_none_value' => '', 322 'selected' => ( isset( $this->options['redirect_repeat_page'] ) ? (int) $this->options['redirect_repeat_page'] : 0 ), 323 'show_option_none' => esc_html__( 'Don\'t redirect repeat commenters', 'comment-hacks' ), 324 ] 325 ); 326 ?> 327 328 <?php if ( isset( $this->options['redirect_repeat_page'] ) && $this->options['redirect_repeat_page'] !== 0 ) : ?> 329 <br> 330 <br> 331 <a target="_blank" href="<?php echo esc_url( get_permalink( (int) $this->options['redirect_repeat_page'] ) ); ?>"> 332 <?php esc_html_e( 'Current redirect page', 'comment-hacks' ); ?> 333 </a> 334 <?php endif; ?> 335 </td> 336 </tr> 337 </table> 300 338 </div> 301 339 <div id="clean-emails" class="emiliaprojectstab"> … … 439 477 /** 440 478 * Action hook to allow other plugins to add additional information to the 441 * Comment Hacksadmin page.479 * Comment Experience admin page. 442 480 * 443 481 * @since 1.6.0 -
yoast-comment-hacks/tags/2.1.2/comment-hacks.php
r3224103 r3265034 1 1 <?php 2 2 /** 3 * Comment Hacksplugin.3 * Comment Experience plugin. 4 4 * 5 5 * @wordpress-plugin 6 * Plugin Name: Comment Hacks7 * Version: 2.1. 18 * Plugin URI: https:// joost.blog/plugins/comment-hacks/9 * Description: Make comments management easier by applying the simple hacks Joost has gathered over the years.6 * Plugin Name: Comment Experience 7 * Version: 2.1.2 8 * Plugin URI: https://progressplanner.com/plugins/comment-experience/ 9 * Description: Improve the comment experience on your site. Adds lots of features to make commenting easier and more engaging. 10 10 * Requires PHP: 7.4 11 * Author: Joost de Valk12 * Author URI: https:// joost.blog/11 * Author: Team Progress Planner 12 * Author URI: https://progressplanner.com 13 13 * Text Domain: comment-hacks 14 14 * 15 * Copyright 2009-202 4 Joost de Valk (email: [email protected])15 * Copyright 2009-2025 Joost de Valk and Team Progress Planner 16 16 * 17 17 * This program is free software; you can redistribute it and/or modify -
yoast-comment-hacks/tags/2.1.2/inc/autoload.php
r3218529 r3265034 22 22 'EmiliaProjects\WP\Comment\Inc\Length' => 'inc/length.php', 23 23 'EmiliaProjects\WP\Comment\Inc\Notifications' => 'inc/notifications.php', 24 'EmiliaProjects\WP\Comment\Inc\Progress_Planner_Tasks' => 'inc/progress-planner-tasks.php', 25 'EmiliaProjects\WP\Comment\Inc\Progress_Planner\Comment_Policy' => 'inc/progress-planner/comment-policy.php', 26 'EmiliaProjects\WP\Comment\Inc\Progress_Planner\Comment_Redirect' => 'inc/progress-planner/comment-redirect.php', 27 'EmiliaProjects\WP\Comment\Inc\Progress_Planner\Comment_Moderation' => 'inc/progress-planner/comment-moderation.php', 24 28 ]; 25 29 -
yoast-comment-hacks/tags/2.1.2/inc/hacks.php
r3224103 r3265034 60 60 new Forms(); 61 61 new Length(); 62 new Progress_Planner_Tasks(); 62 63 } 63 64 … … 128 129 */ 129 130 public function modify_comment_edit_link_block( $block_content, $block ) { 130 if ( isset( $block['blockName'] ) && $block['blockName'] === 'core/comment-edit-link' ) {131 if ( ! empty( $block_content ) && isset( $block['blockName'] ) && $block['blockName'] === 'core/comment-edit-link' ) { 131 132 \preg_match( '/c=(\d+)/', $block_content, $matches ); 132 133 … … 234 235 * @param string $url URL to which the first-time commenter will be redirected. 235 236 * @param object $comment The comment object. 237 * @param string $type The type of redirect. 236 238 * 237 239 * @since 1.6.0 238 240 */ 239 $url = \apply_filters( 'EmiliaProjects\WP\Comment\redirect', $url, $comment );241 $url = \apply_filters( 'EmiliaProjects\WP\Comment\redirect', $url, $comment, 'first' ); 240 242 } 243 } 244 245 // Only change $url when the page option is actually set and not zero. 246 if ( isset( $this->options['redirect_repeat_page'] ) && $this->options['redirect_repeat_page'] !== 0 ) { 247 $url = \get_permalink( (int) $this->options['redirect_repeat_page'] ); 248 249 /** 250 * Allow other plugins to hook in when the user is being redirected, 251 * for analytics calls or even to change the target URL. 252 * 253 * @param string $url URL to which a repeat commenter will be redirected. 254 * @param object $comment The comment object. 255 * @param string $type The type of redirect. 256 * 257 * @since 2.2.0 258 */ 259 $url = \apply_filters( 'EmiliaProjects\WP\Comment\redirect', $url, $comment, 'repeat' ); 241 260 } 242 261 -
yoast-comment-hacks/tags/2.1.2/phpstan.neon.dist
r3218529 r3265034 10 10 ignoreErrors: 11 11 - '#Constant EMILIA_COMMENT_HACKS_PATH not found.#' 12 - '#Constant PROGRESS_PLANNER_FILE not found.#' 13 - '#Call to an undefined method EmiliaProjects\\WP\\Comment\\Inc\\Progress_Planner\\[a-zA-Z0-9_\\\:\(\)].#' 14 - '#Call to method [a-zA-Z0-9_\\\]+() on an unknown class Progress_Planner\\[a-zA-Z0-9_\\].#' 15 - '#Method EmiliaProjects\\WP\\Comment\\Inc\\Progress_Planner_Tasks\:\:add_task_providers\(\) has invalid return type Progress_Planner\\Suggested_Tasks\\Local_Tasks\\Providers\\Provider.#' 16 - '#Parameter \$providers of method EmiliaProjects\\WP\\Comment\\Inc\\Progress_Planner_Tasks\:\:add_task_providers\(\) has invalid type Progress_Planner\\Suggested_Tasks\\Local_Tasks\\Providers\\Provider.#' -
yoast-comment-hacks/tags/2.1.2/readme.txt
r3224103 r3265034 1 === Comment Hacks===1 === Comment Experience by Progress Planner === 2 2 Contributors: joostdevalk 3 3 Tags: comments, spam, emails 4 4 Text Domain: comment-hacks 5 5 Requires at least: 5.9 6 Tested up to: 6. 77 Stable tag: 2.1. 16 Tested up to: 6.8 7 Stable tag: 2.1.2 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 48 48 1. Upload the `comment-hacks` directory to the `/wp-content/plugins/` directory. 49 49 1. Activate the plugin through the 'Plugins' menu in WordPress. 50 1. Configure your settings on the Settings → Comment Hacksscreen.50 1. Configure your settings on the Settings → Comment Experience screen. 51 51 52 52 == Screenshots == -
yoast-comment-hacks/trunk/admin/admin.php
r3218529 r3265034 22 22 * The plugin page hook. 23 23 */ 24 private string $hook = 'comment- hacks';24 private string $hook = 'comment-experience'; 25 25 26 26 /** … … 60 60 \add_filter( 'comment_text', [ $this, 'show_forward_status' ], 10, 2 ); 61 61 62 \add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_discussion_settings_script' ] ); 63 62 64 new Comment_Parent(); 65 } 66 67 /** 68 * Enqueue a small script on the discussion settings page to link to the comment experience settings page. 69 * 70 * @param string $hook The current admin page. 71 * 72 * @return void 73 */ 74 public function enqueue_discussion_settings_script( $hook ) { 75 if ( $hook !== 'options-discussion.php' ) { 76 return; 77 } 78 79 \wp_add_inline_script( 80 'jquery-core', 81 'jQuery(document).ready(function($){ 82 var link = "<div style=\"margin: 15px 0;\"><strong>Note:</strong> You will find more comment settings on the <a href=\"' . \admin_url( 'options-general.php?page=' . $this->hook ) . '\">Comment Experience plugin\'s settings page</a>.</div>"; 83 $(".wrap > h1").after(link); 84 });' 85 ); 63 86 } 64 87 … … 184 207 \add_meta_box( 185 208 'comment-hacks-reroute', 186 \__( 'Comment Hacks', 'comment-hacks' ),209 \__( 'Comment Experience', 'comment-hacks' ), 187 210 [ 188 211 $this, … … 264 287 $page = \filter_input( \INPUT_GET, 'page' ); 265 288 266 if ( $page === 'comment- hacks' ) {289 if ( $page === 'comment-experience' ) { 267 290 \wp_enqueue_style( 268 291 'emiliaprojects-comment-hacks-admin-css', … … 388 411 public function add_config_page() { 389 412 \add_options_page( 390 \__( 'Comment Hacks', 'comment-hacks' ),391 \__( 'Comment Hacks', 'comment-hacks' ),413 \__( 'Comment Experience', 'comment-hacks' ), 414 \__( 'Comment Experience', 'comment-hacks' ), 392 415 'manage_options', 393 416 $this->hook, -
yoast-comment-hacks/trunk/admin/assets/css/comment-hacks.css
r3218529 r3265034 1 1 .emiliaprojectstab { 2 2 display: none; 3 margin-top :15px 3 margin-top: 15px; 4 max-width: 800px; 5 6 &.active { 7 display: block 8 } 9 10 strong { 11 font-size: 115% 12 } 13 14 .dashicons-email-alt { 15 color:#00f 16 } 17 18 table th { 19 width: 250px; 20 } 4 21 } 5 6 .emiliaprojectstab.active {7 display: block8 }9 10 .emiliaprojectstab strong {11 font-size: 115%12 }13 14 .emiliaprojectstab .dashicons-email-alt {15 color:#00f16 } -
yoast-comment-hacks/trunk/admin/views/config-page.php
r3218529 r3265034 11 11 ?> 12 12 <div class="wrap"> 13 <h2><?php esc_html_e( 'Comment Hacks', 'comment-hacks' ); ?></h2>13 <h2><?php esc_html_e( 'Comment Experience', 'comment-hacks' ); ?></h2> 14 14 15 15 <h2 class="nav-tab-wrapper" id="emiliaprojects-tabs"> … … 264 264 <h3><?php esc_html_e( 'Redirect first time commenters', 'comment-hacks' ); ?></h3> 265 265 266 <p><?php esc_html_e( 'Select the page below that a first time commenter should be redirected to', 'comment-hacks' ); ?></p>266 <p><?php esc_html_e( 'Select the page below that a first time commenter on your site should be redirected to.', 'comment-hacks' ); ?></p> 267 267 <table class="form-table"> 268 268 <tr> … … 298 298 </tr> 299 299 </table> 300 301 <h3><?php esc_html_e( 'Redirect repeat commenters', 'comment-hacks' ); ?></h3> 302 303 <p><?php esc_html_e( 'A repeat commenter is a commenter that has commented on your entire site more than once. Select the page below that they should be redirected to.', 'comment-hacks' ); ?></p> 304 <p><?php esc_html_e( 'Note that if you have the "Redirect first time commenters" option set to "Don\'t redirect first time commenters", and you do have a page selected here, first-time commenters will be redirected to the same page as repeat commenters.', 'comment-hacks' ); ?></p> 305 <table class="form-table"> 306 <tr> 307 <th scope="row"> 308 <label for="redirect_repeat_page"> 309 <?php esc_html_e( 'Redirect repeat commenters to', 'comment-hacks' ); ?> 310 </label> 311 </th> 312 <td> 313 <?php 314 // A dropdown of all pages in the current WP install. 315 wp_dropdown_pages( 316 [ 317 'depth' => 0, 318 'id' => 'redirect_repeat_page', 319 // phpcs:ignore WordPress.Security.EscapeOutput -- This is a hard-coded string, just passed around as a variable. 320 'name' => Hacks::$option_name . '[redirect_repeat_page]', 321 'option_none_value' => '', 322 'selected' => ( isset( $this->options['redirect_repeat_page'] ) ? (int) $this->options['redirect_repeat_page'] : 0 ), 323 'show_option_none' => esc_html__( 'Don\'t redirect repeat commenters', 'comment-hacks' ), 324 ] 325 ); 326 ?> 327 328 <?php if ( isset( $this->options['redirect_repeat_page'] ) && $this->options['redirect_repeat_page'] !== 0 ) : ?> 329 <br> 330 <br> 331 <a target="_blank" href="<?php echo esc_url( get_permalink( (int) $this->options['redirect_repeat_page'] ) ); ?>"> 332 <?php esc_html_e( 'Current redirect page', 'comment-hacks' ); ?> 333 </a> 334 <?php endif; ?> 335 </td> 336 </tr> 337 </table> 300 338 </div> 301 339 <div id="clean-emails" class="emiliaprojectstab"> … … 439 477 /** 440 478 * Action hook to allow other plugins to add additional information to the 441 * Comment Hacksadmin page.479 * Comment Experience admin page. 442 480 * 443 481 * @since 1.6.0 -
yoast-comment-hacks/trunk/comment-hacks.php
r3224103 r3265034 1 1 <?php 2 2 /** 3 * Comment Hacksplugin.3 * Comment Experience plugin. 4 4 * 5 5 * @wordpress-plugin 6 * Plugin Name: Comment Hacks7 * Version: 2.1. 18 * Plugin URI: https:// joost.blog/plugins/comment-hacks/9 * Description: Make comments management easier by applying the simple hacks Joost has gathered over the years.6 * Plugin Name: Comment Experience 7 * Version: 2.1.2 8 * Plugin URI: https://progressplanner.com/plugins/comment-experience/ 9 * Description: Improve the comment experience on your site. Adds lots of features to make commenting easier and more engaging. 10 10 * Requires PHP: 7.4 11 * Author: Joost de Valk12 * Author URI: https:// joost.blog/11 * Author: Team Progress Planner 12 * Author URI: https://progressplanner.com 13 13 * Text Domain: comment-hacks 14 14 * 15 * Copyright 2009-202 4 Joost de Valk (email: [email protected])15 * Copyright 2009-2025 Joost de Valk and Team Progress Planner 16 16 * 17 17 * This program is free software; you can redistribute it and/or modify -
yoast-comment-hacks/trunk/inc/autoload.php
r3218529 r3265034 22 22 'EmiliaProjects\WP\Comment\Inc\Length' => 'inc/length.php', 23 23 'EmiliaProjects\WP\Comment\Inc\Notifications' => 'inc/notifications.php', 24 'EmiliaProjects\WP\Comment\Inc\Progress_Planner_Tasks' => 'inc/progress-planner-tasks.php', 25 'EmiliaProjects\WP\Comment\Inc\Progress_Planner\Comment_Policy' => 'inc/progress-planner/comment-policy.php', 26 'EmiliaProjects\WP\Comment\Inc\Progress_Planner\Comment_Redirect' => 'inc/progress-planner/comment-redirect.php', 27 'EmiliaProjects\WP\Comment\Inc\Progress_Planner\Comment_Moderation' => 'inc/progress-planner/comment-moderation.php', 24 28 ]; 25 29 -
yoast-comment-hacks/trunk/inc/hacks.php
r3224103 r3265034 60 60 new Forms(); 61 61 new Length(); 62 new Progress_Planner_Tasks(); 62 63 } 63 64 … … 128 129 */ 129 130 public function modify_comment_edit_link_block( $block_content, $block ) { 130 if ( isset( $block['blockName'] ) && $block['blockName'] === 'core/comment-edit-link' ) {131 if ( ! empty( $block_content ) && isset( $block['blockName'] ) && $block['blockName'] === 'core/comment-edit-link' ) { 131 132 \preg_match( '/c=(\d+)/', $block_content, $matches ); 132 133 … … 234 235 * @param string $url URL to which the first-time commenter will be redirected. 235 236 * @param object $comment The comment object. 237 * @param string $type The type of redirect. 236 238 * 237 239 * @since 1.6.0 238 240 */ 239 $url = \apply_filters( 'EmiliaProjects\WP\Comment\redirect', $url, $comment );241 $url = \apply_filters( 'EmiliaProjects\WP\Comment\redirect', $url, $comment, 'first' ); 240 242 } 243 } 244 245 // Only change $url when the page option is actually set and not zero. 246 if ( isset( $this->options['redirect_repeat_page'] ) && $this->options['redirect_repeat_page'] !== 0 ) { 247 $url = \get_permalink( (int) $this->options['redirect_repeat_page'] ); 248 249 /** 250 * Allow other plugins to hook in when the user is being redirected, 251 * for analytics calls or even to change the target URL. 252 * 253 * @param string $url URL to which a repeat commenter will be redirected. 254 * @param object $comment The comment object. 255 * @param string $type The type of redirect. 256 * 257 * @since 2.2.0 258 */ 259 $url = \apply_filters( 'EmiliaProjects\WP\Comment\redirect', $url, $comment, 'repeat' ); 241 260 } 242 261 -
yoast-comment-hacks/trunk/phpstan.neon.dist
r3218529 r3265034 10 10 ignoreErrors: 11 11 - '#Constant EMILIA_COMMENT_HACKS_PATH not found.#' 12 - '#Constant PROGRESS_PLANNER_FILE not found.#' 13 - '#Call to an undefined method EmiliaProjects\\WP\\Comment\\Inc\\Progress_Planner\\[a-zA-Z0-9_\\\:\(\)].#' 14 - '#Call to method [a-zA-Z0-9_\\\]+() on an unknown class Progress_Planner\\[a-zA-Z0-9_\\].#' 15 - '#Method EmiliaProjects\\WP\\Comment\\Inc\\Progress_Planner_Tasks\:\:add_task_providers\(\) has invalid return type Progress_Planner\\Suggested_Tasks\\Local_Tasks\\Providers\\Provider.#' 16 - '#Parameter \$providers of method EmiliaProjects\\WP\\Comment\\Inc\\Progress_Planner_Tasks\:\:add_task_providers\(\) has invalid type Progress_Planner\\Suggested_Tasks\\Local_Tasks\\Providers\\Provider.#' -
yoast-comment-hacks/trunk/readme.txt
r3224103 r3265034 1 === Comment Hacks===1 === Comment Experience by Progress Planner === 2 2 Contributors: joostdevalk 3 3 Tags: comments, spam, emails 4 4 Text Domain: comment-hacks 5 5 Requires at least: 5.9 6 Tested up to: 6. 77 Stable tag: 2.1. 16 Tested up to: 6.8 7 Stable tag: 2.1.2 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 48 48 1. Upload the `comment-hacks` directory to the `/wp-content/plugins/` directory. 49 49 1. Activate the plugin through the 'Plugins' menu in WordPress. 50 1. Configure your settings on the Settings → Comment Hacksscreen.50 1. Configure your settings on the Settings → Comment Experience screen. 51 51 52 52 == Screenshots ==
Note: See TracChangeset
for help on using the changeset viewer.