@@ 1125-1128 (lines=4) @@ | ||
1122 | $src = $wp_scripts->base_url . $src; |
|
1123 | ||
1124 | // Version and additional arguments |
|
1125 | if ( null === $wp_scripts->registered[ $handle ]->ver ) |
|
1126 | $ver = ''; |
|
1127 | else |
|
1128 | $ver = $wp_scripts->registered[ $handle ]->ver ? $wp_scripts->registered[ $handle ]->ver : $wp_scripts->default_version; |
|
1129 | ||
1130 | if ( isset( $wp_scripts->args[ $handle ] ) ) |
|
1131 | $ver = $ver ? $ver . '&' . $wp_scripts->args[$handle] : $wp_scripts->args[$handle]; |
|
@@ 1203-1206 (lines=4) @@ | ||
1200 | $src = $wp_styles->base_url . $src; |
|
1201 | ||
1202 | // Version and additional arguments |
|
1203 | if ( null === $wp_styles->registered[ $handle ]->ver ) |
|
1204 | $ver = ''; |
|
1205 | else |
|
1206 | $ver = $wp_styles->registered[ $handle ]->ver ? $wp_styles->registered[ $handle ]->ver : $wp_styles->default_version; |
|
1207 | ||
1208 | if ( isset($wp_styles->args[ $handle ] ) ) |
|
1209 | $ver = $ver ? $ver . '&' . $wp_styles->args[$handle] : $wp_styles->args[$handle]; |