--- a/wp/wp-includes/class.wp-styles.php Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/class.wp-styles.php Tue Sep 27 16:37:53 2022 +0200
@@ -103,7 +103,7 @@
/**
* Holds a string which contains the type attribute for style tag.
*
- * If the current theme does not declare HTML5 support for 'style',
+ * If the active theme does not declare HTML5 support for 'style',
* then it initializes as `type='text/css'`.
*
* @since 5.3.0
@@ -130,7 +130,7 @@
*
* @since 2.6.0
*
- * @param WP_Styles $this WP_Styles instance (passed by reference).
+ * @param WP_Styles $wp_styles WP_Styles instance (passed by reference).
*/
do_action_ref_array( 'wp_default_styles', array( &$this ) );
}
@@ -324,13 +324,13 @@
*
* @since 3.3.0
*
- * @param string $handle The style's registered handle.
- * @param bool $echo Optional. Whether to echo the inline style
- * instead of just returning it. Default true.
- * @return string|bool False if no data exists, inline styles if `$echo` is true,
+ * @param string $handle The style's registered handle.
+ * @param bool $display Optional. Whether to print the inline style
+ * instead of just returning it. Default true.
+ * @return string|bool False if no data exists, inline styles if `$display` is true,
* true otherwise.
*/
- public function print_inline_style( $handle, $echo = true ) {
+ public function print_inline_style( $handle, $display = true ) {
$output = $this->get_data( $handle, 'after' );
if ( empty( $output ) ) {
@@ -339,7 +339,7 @@
$output = implode( "\n", $output );
- if ( ! $echo ) {
+ if ( ! $display ) {
return $output;
}