WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #37699, comment 92


Ignore:
Timestamp:
10/08/2016 06:53:52 PM (3 years ago)
Author:
ramiy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37699, comment 92

    v1 v2  
    33* `$wp_post_types` global can be replaced with `get_post_types()`.
    44* `$wp_taxonomies` global can be replaced with `get_taxonomies()`.
    5 * `$wp_post_statuses` global can be replaced with `get_post_statuses()`.
     5* `$wp_post_statuses` global can be replaced with `get_post_stati()`.
    66* `$wp_roles` global can be replaced with `wp_roles()`.
    77* `$pagenow` global can be replaced with `get_current_screen()`.