Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updating some comments
  • Loading branch information
manuelRod committed Mar 15, 2022
commit 7c6a9f7f2d1facb77cd3b888dd3efd26b99b070b
8 changes: 4 additions & 4 deletions modules/site-health/audit-autoloaded-options/load.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function perflab_aao_autoloaded_options_test() {
);

/**
* Hostings can modify its limits depending on their own requirements.
* Filters max bytes threshold to trigger warning in Site Health.
*
* @since 1.0.0
*
Expand All @@ -77,11 +77,11 @@ function perflab_aao_autoloaded_options_test() {
);

/**
* Hostings can modify description to be shown on site health screen.
* Filters description to be shown on Site Health warning when threshold is met.
*
* @since 1.0.0
*
* @param string $description Description message when autoloaded options bigger than treshold.
* @param string $description Description message when autoloaded options bigger than threshold.
*/
$result['description'] = apply_filters( 'perflab_aao_autoloaded_options_limit_description', $result['description'] );

Expand All @@ -93,7 +93,7 @@ function perflab_aao_autoloaded_options_test() {
);

/**
* Hostings can add actions to take to reduce size of autoloaded options linking to their own guides.
* Filters actionable information to tackle the problem. It can be a link to an external guide.
*
* @since 1.0.0
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ protected static function random_string_generator( $length ) {
*
* @return array
*/
function provider_added_test_info_site_health() {
public function provider_added_test_info_site_health() {
$added_tests = array();
$added_tests['direct']['autoloaded_options'] = array(
'label' => esc_html__( 'Autoloaded options', 'performance-lab' ),
Expand Down