Skip to content

Releases: skaut/wordpress-stubs

Version 1.22.0

17 Jan 11:46
94d0411
Compare
Choose a tag to compare

1.22.0 (2022-01-17)

Diff since 1.21.0

New stubs:

  • get_query_var()

Version 1.21.0

16 Jan 18:22
bb705d6
Compare
Choose a tag to compare

1.21.0 (2022-01-16)

Diff since 1.20.0

General:

  • Added support for PHP 8

Version 1.20.0

16 Jan 15:42
Compare
Choose a tag to compare

1.20.0 (2022-01-16)

Diff since 1.19.1

Changes:

  • wp_unslash() now uses a templated type

Version 1.19.1

09 Oct 16:11
a259339
Compare
Choose a tag to compare

1.19.1 (2020-10-09)

Diff since 1.19.0

Fixes:

  • _n() return value

Version 1.19.0

09 Oct 12:59
894c3da
Compare
Choose a tag to compare

1.19.0 (2020-10-09)

Diff since 1.18.0

New stubs:

  • _n()

1.18.1

26 Aug 07:49
d11629c
Compare
Choose a tag to compare

1.18.1 (2020-08-26)

Diff since 1.18.0

Fixes:

  • Fixed missing definition for SCRIPT_DEBUG

Version 1.18.0

26 Aug 07:32
02e6b95
Compare
Choose a tag to compare

1.18.0 (2020-08-26)

Diff since 1.17.0

New stubs:

  • SCRIPT_DEBUG

Version 1.17.0

10 Apr 09:37
d6651c4
Compare
Choose a tag to compare

1.17.0 (2020-04-10)

Diff since 1.16.0

New stubs:

  • WP_Customize_Manager->$selective_refresh
  • WP_Customize_Partial
  • WP_Customize_Selective_Refresh
  • WP_Customize_Selective_Refresh->add_partial()

Version 1.16.0

24 Mar 00:21
415619a
Compare
Choose a tag to compare

1.16.0 (2020-03-24)

Diff since 1.15.0

New stubs:

  • wp_remote_retrieve_body()

Fixes:

  • wp_remote_retrieve_response_code() parameter $response now has stricter types.

Version 1.15.0

22 Mar 19:09
9e4c009
Compare
Choose a tag to compare

1.15.0 (2020-03-22)

Diff since 1.14.0

New stubs:

  • WP_Customize_Manager->remove_control()
  • wp_basename()
  • wp_mime_type_icon()

Fixes:

  • WP_Customize_Control->value() parameter $setting_key is now optional.