Skip to:
Content

bbPress.org

Changeset 3343


Ignore:
Timestamp:
06/23/2011 07:34:32 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Clean up admin components and loader code.

Location:
branches/plugin/bbp-admin
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-admin/bbp-admin.php

    r3338 r3343  
    413413     * @uses bbp_get_reply_post_type() To get the reply post type
    414414     * @uses sanitize_html_class() To sanitize the classes
    415      * @uses bbp_is_forum() To check if it is a forum page
    416      * @uses bbp_is_topic() To check if it is a topic page
    417      * @uses bbp_is_reply() To check if it is a reply page
    418415     * @uses do_action() Calls 'bbp_admin_head'
    419416     */
  • branches/plugin/bbp-admin/bbp-forums.php

    r3310 r3343  
    313313     * @uses bbp_get_reply_post_type() To get the reply post type
    314314     * @uses sanitize_html_class() To sanitize the classes
    315      * @uses bbp_is_forum() To check if it is a forum page
    316      * @uses bbp_is_topic() To check if it is a topic page
    317      * @uses bbp_is_reply() To check if it is a reply page
    318315     * @uses do_action() Calls 'bbp_admin_head'
    319316     */
     
    564561 * @uses BBP_Forums_Admin
    565562 */
    566 function bbp_forums_admin() {
     563function bbp_admin_forums() {
    567564    global $bbp;
    568565
  • branches/plugin/bbp-admin/bbp-replies.php

    r3318 r3343  
    349349     * @uses bbp_get_reply_post_type() To get the reply post type
    350350     * @uses sanitize_html_class() To sanitize the classes
    351      * @uses bbp_is_forum() To check if it is a forum page
    352      * @uses bbp_is_topic() To check if it is a topic page
    353      * @uses bbp_is_reply() To check if it is a reply page
    354351     * @uses do_action() Calls 'bbp_admin_head'
    355352     */
     
    884881 * @uses BBP_Replies_Admin
    885882 */
    886 function bbp_replies_admin() {
     883function bbp_admin_replies() {
    887884    global $bbp;
    888885
  • branches/plugin/bbp-admin/bbp-topics.php

    r3318 r3343  
    370370     * @uses bbp_get_reply_post_type() To get the reply post type
    371371     * @uses sanitize_html_class() To sanitize the classes
    372      * @uses bbp_is_forum() To check if it is a forum page
    373      * @uses bbp_is_topic() To check if it is a topic page
    374      * @uses bbp_is_reply() To check if it is a reply page
    375372     * @uses do_action() Calls 'bbp_admin_head'
    376373     */
    377374    function admin_head() {
    378375
    379         if ( bbp_is_topic() ) : ?>
     376        if ( get_post_type() == $this->post_type ) : ?>
    380377
    381378            <style type="text/css" media="screen">
     
    960957 * @uses BBP_Forums_Admin
    961958 */
    962 function bbp_topics_admin() {
     959function bbp_admin_topics() {
    963960    global $bbp;
    964961
Note: See TracChangeset for help on using the changeset viewer.