Changeset 54947
- Timestamp:
- 12/07/2022 09:17:52 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-site.php
r53944 r54947 1235 1235 * @since MU (3.0.0) 1236 1236 * 1237 * @param int $site_id Site ID. 1238 * @param string $value The value of the site status. 1237 * @param int $site_id Site ID. 1238 * @param string $is_public Whether the site is public. A numeric string, 1239 * for compatibility reasons. Accepts '1' or '0'. 1239 1240 */ 1240 1241 do_action( 'update_blog_public', $site_id, $new_site->public ); … … 1261 1262 * @since 5.1.0 1262 1263 * 1263 * @param int $site_id Site ID. 1264 * @param string $public The value of the site status. 1265 */ 1266 function wp_update_blog_public_option_on_site_update( $site_id, $public ) { 1264 * @param int $site_id Site ID. 1265 * @param string $is_public Whether the site is public. A numeric string, 1266 * for compatibility reasons. Accepts '1' or '0'. 1267 */ 1268 function wp_update_blog_public_option_on_site_update( $site_id, $is_public ) { 1267 1269 1268 1270 // Bail if the site's database tables do not exist (yet). … … 1271 1273 } 1272 1274 1273 update_blog_option( $site_id, 'blog_public', $ public );1275 update_blog_option( $site_id, 'blog_public', $is_public ); 1274 1276 } 1275 1277
Note: See TracChangeset
for help on using the changeset viewer.