WordPress.org

Making WordPress.org

Changeset 3209


Ignore:
Timestamp:
05/21/2016 02:05:32 AM (6 years ago)
Author:
dd32
Message:

Plugin Directory: Add the flushing functions correctly.

See #1719.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/inc/template-tags.php

    r3193 r3209  
    122122    delete_transient( 'wporg_plugins_categories' );
    123123}
    124 add_action( 'edit_category', 'wporg_plugins_category_transient_flusher' );
    125 add_action( 'save_post',     'wporg_plugins_category_transient_flusher' );
     124add_action( 'edit_category', __NAMESPACE__ . '\wporg_plugins_category_transient_flusher' );
     125add_action( 'save_post',     __NAMESPACE__ . '\wporg_plugins_category_transient_flusher' );
    126126
    127127
Note: See TracChangeset for help on using the changeset viewer.