Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

61103 add default autoload core #6465

Open
wants to merge 24 commits into
base: trunk
Choose a base branch
from

Commits on Apr 19, 2024

  1. Change 'autoload' option values in various files

    Updated values of 'autoload' option from 'yes' or 'no' to 'on' or 'off' respectively, across several PHP files. This change was implemented in the functions handling options and lock settings, enhancing clarity and consistency of the code.
    paul bearne committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    67b1c27 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Update script compression settings in ajax-actions

    The commit modifies the 'can_compress_scripts' options in the ajax-actions.php file. The update_site_option and update_option functions now have a third argument which controls whether the setting is on or off. This enhances flexibility and control over the script compression feature.
    paul bearne committed Apr 23, 2024
    Configuration menu
    Copy the full SHA
    b38c788 View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2024

  1. Update autoload parameters in option functions

    The commit adjusts the parameters for 'update_option' functions in 'featured-content.php' and 'ajax-actions.php'. It changes the 'autoload' parameter where necessary, updating the values for "featured-content" and "can_compress_scripts" options. It's done to ensure the correct use of the autoloading feature in WordPress functionality.
    paul bearne committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    659d049 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Adjust third argument in update_option() across various scripts

    This commit adds a third argument to the update_option() function calls across a large number of scripts. This argument toggles whether the option should be loaded from cache (on) or not (off). The changes made help to better manage data caching in WordPress and potentially improve performance by avoiding unnecessary database queries.
    paul bearne committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    aa2a37a View commit details
    Browse the repository at this point in the history
  2. Adjust third argument in update_option() across various scripts

    This commit adds a third argument to the update_option() function calls across a large number of scripts. This argument toggles whether the option should be loaded from cache (on) or not (off). The changes made help to better manage data caching in WordPress and potentially improve performance by avoiding unnecessary database queries.
    paul bearne committed Apr 29, 2024
    Configuration menu
    Copy the full SHA
    9d68d77 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2024

  1. revert of block autoload settings to upgrade.php

    paul bearne committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    12aede1 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2024

  1. Update src/wp-admin/includes/upgrade.php

    Co-authored-by: Mukesh Panchal <mukeshpanchal27@users.noreply.github.com>
    pbearne and mukeshpanchal27 committed May 22, 2024
    Configuration menu
    Copy the full SHA
    50a4dc1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    90bfe94 View commit details
    Browse the repository at this point in the history
  3. Replace 'off'/'on' strings with boolean values in update_option calls

    Updated several calls to the update_option function throughout the codebase to use boolean values for autoload parameter instead of 'off'/'on' strings. This change improves the consistency and readability of the related database entries.
    paul bearne committed May 22, 2024
    Configuration menu
    Copy the full SHA
    a70b4e5 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2024

  1. Replace 'off'/'on' strings with boolean values in update_option calls

    Updated several calls to the update_option function throughout the codebase to use boolean values for autoload parameter instead of 'off'/'on' strings. This change improves the consistency and readability of the related database entries.
    paul bearne committed May 24, 2024
    Configuration menu
    Copy the full SHA
    8cad35a View commit details
    Browse the repository at this point in the history
  2. Update WordPress version and database upgrade procedure

    Updated the WordPress database version in `version.php` and performed changes in `upgrade.php` to reflect this. Introduced a new function `upgrade_670()` to execute changes made in WordPress version 6.7.0. Additionally, adjusted the indentation in numerous lines for code readability and consistency.
    paul bearne committed May 24, 2024
    Configuration menu
    Copy the full SHA
    43b51f5 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2024

  1. Add transient validation methods and corresponding tests

    A new function named 'valid_transient' has been introduced to verify if a transient and its value are valid, also by checking if they have not expired. Sites with transient data can use the 'valid_site_transient' function to perform similar checks. Along with these functions, PHPUnit test cases have been added to ensure these functions perform as expected.
    paul bearne committed May 27, 2024
    Configuration menu
    Copy the full SHA
    014cf5d View commit details
    Browse the repository at this point in the history
  2. Revert "Add transient validation methods and corresponding tests"

    This reverts commit 014cf5d.
    paul bearne committed May 27, 2024
    Configuration menu
    Copy the full SHA
    7661c23 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Configuration menu
    Copy the full SHA
    92bd6c5 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2024

  1. Configuration menu
    Copy the full SHA
    20d8a5f View commit details
    Browse the repository at this point in the history
  2. Add caching for network options in wp-admin

    A new function, wp_prime_wp_admin_option_caches, has been created to prime specific network options for the current network into the cache using a single database query. Additionally, the action 'admin_init' has been added to autoload these admin options. This should lead to improved performance by reducing the number of database queries.
    paul bearne committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    75d83b6 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/61103-add-default-autoload-core'…

    … into 61103-add-default-autoload-core
    paul bearne committed Jun 21, 2024
    Configuration menu
    Copy the full SHA
    a9fd9f6 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    3c8d826 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Update class-wp-widget.php

    pbearne committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    fd93250 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Update src/wp-admin/includes/upgrade.php

    Co-authored-by: Mukesh Panchal <mukeshpanchal27@users.noreply.github.com>
    pbearne and mukeshpanchal27 committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    5e59fc3 View commit details
    Browse the repository at this point in the history
  2. Update src/wp-admin/includes/upgrade.php

    Co-authored-by: Mukesh Panchal <mukeshpanchal27@users.noreply.github.com>
    pbearne and mukeshpanchal27 committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    4c2dcd9 View commit details
    Browse the repository at this point in the history
  3. Update src/wp-admin/includes/upgrade.php

    Co-authored-by: Mukesh Panchal <mukeshpanchal27@users.noreply.github.com>
    pbearne and mukeshpanchal27 committed Jul 26, 2024
    Configuration menu
    Copy the full SHA
    0c6d55e View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Update src/wp-includes/option.php

    Co-authored-by: Mukesh Panchal <mukeshpanchal27@users.noreply.github.com>
    pbearne and mukeshpanchal27 committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    2256199 View commit details
    Browse the repository at this point in the history
  2. Update src/wp-includes/option.php

    Co-authored-by: Mukesh Panchal <mukeshpanchal27@users.noreply.github.com>
    pbearne and mukeshpanchal27 committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    4a92d97 View commit details
    Browse the repository at this point in the history