Skip to content

Commit

Permalink
update the error message so it's standardized across all implementations
Browse files Browse the repository at this point in the history
it's not actually standard in the source because WP is dumb and no one looks at this page.
  • Loading branch information
jazzsequence committed Jul 19, 2024
1 parent 9d53859 commit 2293f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/network/includes-network.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function get_clean_basedomain() {
*/
function pantheon_get_subdirectory_networks_message() {
if ( apply_filters( 'pantheon.enable_subdirectory_networks_message', true ) ) {
return '<p><strong>' . __( 'Warning:' ) . ' ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '</strong></p>';
return '<div class="error inline"><p><strong>' . __( 'Warning:' ) . '</strong> ' . __( 'Subdirectory networks may not be fully compatible with custom wp-content directories.' ) . '</p></div>';
}

return '';
Expand Down

0 comments on commit 2293f26

Please sign in to comment.