diff --git a/src/wp-admin/includes/template.php b/src/wp-admin/includes/template.php
index d8ee91d7ec..e18e6bcbb3 100644
|
a
|
b
|
function add_settings_field( $id, $title, $callback, $page, $section = 'default'
|
| 1751 | 1751 | * to output all the sections and fields that were added to that $page with |
| 1752 | 1752 | * add_settings_section() and add_settings_field() |
| 1753 | 1753 | * |
| | 1754 | * @since 2.7.0 |
| | 1755 | * |
| 1754 | 1756 | * @global array $wp_settings_sections Storage array of all settings sections added to admin pages. |
| 1755 | 1757 | * @global array $wp_settings_fields Storage array of settings fields and info about their pages/sections. |
| 1756 | | * @since 2.7.0 |
| 1757 | 1758 | * |
| 1758 | 1759 | * @param string $page The slug name of the page whose settings sections you want to output. |
| 1759 | 1760 | */ |
| … |
… |
function do_settings_sections( $page ) {
|
| 1800 | 1801 | * a specific section. Should normally be called by do_settings_sections() |
| 1801 | 1802 | * rather than directly. |
| 1802 | 1803 | * |
| 1803 | | * @global array $wp_settings_fields Storage array of settings fields and their pages/sections. |
| 1804 | | * |
| 1805 | 1804 | * @since 2.7.0 |
| 1806 | 1805 | * |
| | 1806 | * @global array $wp_settings_fields Storage array of settings fields and their pages/sections. |
| | 1807 | * |
| 1807 | 1808 | * @param string $page Slug title of the admin page whose settings fields you want to show. |
| 1808 | 1809 | * @param string $section Slug title of the settings section whose fields you want to show. |
| 1809 | 1810 | */ |
diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php
index ea76404c2e..5b1a48c123 100644
|
a
|
b
|
if ( is_nav_menu( $nav_menu_selected_id ) ) {
|
| 672 | 672 | } |
| 673 | 673 | |
| 674 | 674 | /** |
| 675 | | * @global int $_wp_nav_menu_max_depth |
| 676 | | * |
| 677 | 675 | * @since 3.0.0 |
| 678 | 676 | * |
| | 677 | * @global int $_wp_nav_menu_max_depth |
| | 678 | * |
| 679 | 679 | * @param string $classes |
| 680 | 680 | * @return string |
| 681 | 681 | */ |
diff --git a/src/wp-includes/ms-settings.php b/src/wp-includes/ms-settings.php
index fbe0ea2618..f03c8c61f9 100644
|
a
|
b
|
if ( ! defined( 'ABSPATH' ) ) {
|
| 21 | 21 | * These may be populated through a custom `sunrise.php`. If not, then this |
| 22 | 22 | * file will attempt to populate them based on the current request. |
| 23 | 23 | * |
| | 24 | * @since 3.0.0 |
| | 25 | * |
| 24 | 26 | * @global WP_Network $current_site The current network. |
| 25 | 27 | * @global object $current_blog The current site. |
| 26 | 28 | * @global string $domain Deprecated. The domain of the site found on load. |
| … |
… |
if ( ! defined( 'ABSPATH' ) ) {
|
| 32 | 34 | * @global bool $public Deprecated. Whether the site found on load is public. |
| 33 | 35 | * Use `get_site()->public` instead. |
| 34 | 36 | * |
| 35 | | * @since 3.0.0 |
| 36 | 37 | */ |
| 37 | 38 | global $current_site, $current_blog, $domain, $path, $site_id, $public; |
| 38 | 39 | |
diff --git a/src/wp-includes/option.php b/src/wp-includes/option.php
index bb790673f7..9239f68b5f 100644
|
a
|
b
|
function set_transient( $transient, $value, $expiration = 0 ) {
|
| 1629 | 1629 | * The multi-table delete syntax is used to delete the transient record |
| 1630 | 1630 | * from table a, and the corresponding transient_timeout record from table b. |
| 1631 | 1631 | * |
| 1632 | | * @global wpdb $wpdb WordPress database abstraction object. |
| 1633 | | * |
| 1634 | 1632 | * @since 4.9.0 |
| 1635 | 1633 | * |
| | 1634 | * @global wpdb $wpdb WordPress database abstraction object. |
| | 1635 | * |
| 1636 | 1636 | * @param bool $force_db Optional. Force cleanup to run against the database even when an external object cache is used. |
| 1637 | 1637 | */ |
| 1638 | 1638 | function delete_expired_transients( $force_db = false ) { |