Skip to content

Commit

Permalink
Docs: Add a description for the $table_prefix global.
Browse files Browse the repository at this point in the history
Follow-up to [57748].

See #60699.

git-svn-id: https://develop.svn.wordpress.org/trunk@57787 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Mar 7, 2024
1 parent a7a891a commit ce88530
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/wp-admin/includes/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function wp_install( $blog_title, $user_name, $user_email, $is_public, $deprecat
*
* @global wpdb $wpdb WordPress database abstraction object.
* @global WP_Rewrite $wp_rewrite WordPress rewrite component.
* @global string $table_prefix
* @global string $table_prefix The database table prefix.
*
* @param int $user_id User ID.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/wp-includes/ms-blogs.php
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ function update_blog_option( $id, $option, $value, $deprecated = null ) {
* @global int $blog_id
* @global array $_wp_switched_stack
* @global bool $switched
* @global string $table_prefix
* @global string $table_prefix The database table prefix.
* @global WP_Object_Cache $wp_object_cache
*
* @param int $new_blog_id The ID of the blog to switch to. Default: current blog.
Expand Down Expand Up @@ -599,7 +599,7 @@ function switch_to_blog( $new_blog_id, $deprecated = null ) {
* @global array $_wp_switched_stack
* @global int $blog_id
* @global bool $switched
* @global string $table_prefix
* @global string $table_prefix The database table prefix.
* @global WP_Object_Cache $wp_object_cache
*
* @return bool True on success, false if we're already on the current blog.
Expand Down

0 comments on commit ce88530

Please sign in to comment.