Plugin Directory

Changeset 429221


Ignore:
Timestamp:
08/26/2011 08:23:25 PM (15 years ago)
Author:
azram19
Message:

Fixed riddiculus mistake, and tagged a new version.

Location:
threaded-comments-management
Files:
3 edited
20 copied

Legend:

Unmodified
Added
Removed
  • threaded-comments-management/tags/1.0.1/readme.txt

    r424887 r429221  
    44Requires at least: 3.0.0
    55Tested up to: 3.1.2
    6 Stable tag: 1.0
     6Stable tag: 1.0.1
    77
    88Manage threads of comments and move them around as you wish.
     
    3939== Changelog ==
    4040
     41= 1.0.1 =
     42* Changed a name of the plugin's folder to the correct one during creation of the links.
     43  (Wrong name made plugin unusable)
     44
    4145= 1.0 =
    4246* Initial release
  • threaded-comments-management/tags/1.0.1/wp-threaded-comments.php

    r424887 r429221  
    2626
    2727$wp_tc_ec_link = ABSPATH . "wp-admin/wp-tc-edit-comments.php";
    28 $wp_tc_ec_file = WP_PLUGIN_DIR . "/trunk/wp-tc-edit-comments.php";
     28$wp_tc_ec_file = WP_PLUGIN_DIR . "/threaded-comments-management/wp-tc-edit-comments.php";
    2929$wp_tc_clt_link = ABSPATH . "wp-admin/includes/class-wp-tc-comments-list-table.php";
    30 $wp_tc_clt_file = WP_PLUGIN_DIR . "/trunk/class-wp-tc-comments-list-table.php";
     30$wp_tc_clt_file = WP_PLUGIN_DIR . "/threaded-comments-management/class-wp-tc-comments-list-table.php";
    3131$wp_tc_clt = true;
    3232$wp_tc_ec = true;
  • threaded-comments-management/tags/1.0.1/wp-threaded-comments.php~

    r424887 r429221  
    11<?php
    22/*
    3 Plugin Name: Threaded Comments
     3Plugin Name: Threaded Comments Management
    44Version: 1.0
    55Author: azram19
    66Plugin URI: http://gsoc2011.wordpress.com/threaded-comments
    77Description: Plugin improves threaded comments management.
    8 Author URI: 
     8Text Domain: wptc
    99License: GPL2
    1010
     
    2525*/
    2626
    27 require_once("wp-tc-functions.php");
    28 require_once("class-wp-tc-xmlrpc-server.php");
     27$wp_tc_ec_link = ABSPATH . "wp-admin/wp-tc-edit-comments.php";
     28$wp_tc_ec_file = WP_PLUGIN_DIR . "/trunk/wp-tc-edit-comments.php";
     29$wp_tc_clt_link = ABSPATH . "wp-admin/includes/class-wp-tc-comments-list-table.php";
     30$wp_tc_clt_file = WP_PLUGIN_DIR . "/trunk/class-wp-tc-comments-list-table.php";
     31$wp_tc_clt = true;
     32$wp_tc_ec = true;
     33require_once( "wp-tc-functions.php" );
     34require_once( "class-wp-tc-xmlrpc-server.php" );
    2935
    30 remove_all_filters('wp_update_comment');
    31 add_filter('wp_update_comment', 'tc_update_comment', 1, 1);
    32 add_filter('admin_init', 'tc_init', 1, 1);
    33 add_filter('admin_print_styles', 'tc_styles');
     36tc_check_symlinks();
    3437
    35 add_filter('wp_xmlrpc_server_class', array('wp_tc_xmlrpc_server', 'get_name'));
     38/*
     39 * Overwrite update_comment with a function that supports modification of
     40 * `comment_post_ID' and `comment_parent`.
     41 */
     42remove_all_filters( 'wp_update_comment' );
     43add_filter( 'wp_update_comment', 'tc_update_comment', 1, 1 );
     44
     45add_filter( 'init', 'tc_init', 1, 1 );
     46
     47//Load javascript files and css
     48add_filter( 'admin_init', 'tc_js', 1, 1 );
     49add_filter( 'admin_print_styles', 'tc_styles' );
     50
     51//Extend XML-RPC
     52add_filter( 'wp_xmlrpc_server_class', array( 'wp_tc_xmlrpc_server', 'get_name' ) );
    3653
    3754//Ajax actions
    38 add_action('wp_ajax_search-post-by-title', 'tc_ajax_post_search');
    39 add_action('wp_ajax_move-by-title', 'tc_ajax_move_by_title');
    40 add_action('wp_ajax_reparent-comment', 'tc_ajax_reparent_comment');
    41 add_action('wp_ajax_move-comment', 'tc_ajax_move_comment');
    42 add_action('wp_ajax_get-comment-subthread', 'tc_ajax_get_comment_subthread');
     55add_action( 'wp_ajax_search-post-by-title', 'tc_ajax_post_search' );
     56add_action( 'wp_ajax_move-by-title', 'tc_ajax_move_by_title' );
     57add_action( 'wp_ajax_move-comment', 'tc_ajax_move_comment' );
     58add_action( 'wp_ajax_get-comment-subthread', 'tc_ajax_get_comment_subthread' );
     59add_action( 'wp_ajax_save_settings-wptc', 'tc_ajax_save_settings' );
    4360
    44 add_filter( 'manage_wp-tc-edit-comments_sortable_columns', 'tc_deregister_sortable');
     61//Disable sortable column in comments page
     62add_filter( 'manage_wp-tc-edit-comments_sortable_columns', 'tc_deregister_sortable' );
    4563
    46 add_action('admin_head-edit-comments.php', 'tc_redirect_to_threaded_view');
    47 add_action('trunk/wp-threaded-comments.php', 'tc_install');
     64//Redirect eidt-comments.php to a custom page
     65add_action( 'admin_head-edit-comments.php', 'tc_redirect_to_threaded_view' );
    4866
    49 /*register_deactivation_hook(__FILE__, 'tc_uninstall');
     67//Activate/Deactivate
     68register_deactivation_hook( __FILE__, 'tc_uninstall' );
    5069register_activation_hook( __FILE__, 'tc_install' );
    51 */
     70
     71//On-screen options
     72add_filter( 'screen_settings', 'tc_screen_settings', 10, 2 );
     73add_filter( 'contextual_help', 'tc_contextual_help', 10, 3 );
     74add_action( 'admin_notices', 'tc_admin_notices' );
    5275
    5376?>
  • threaded-comments-management/trunk/readme.txt

    r424887 r429221  
    44Requires at least: 3.0.0
    55Tested up to: 3.1.2
    6 Stable tag: 1.0
     6Stable tag: 1.0.1
    77
    88Manage threads of comments and move them around as you wish.
     
    3939== Changelog ==
    4040
     41= 1.0.1 =
     42* Changed a name of the plugin's folder to the correct one during creation of the links.
     43  (Wrong name made plugin unusable)
     44
    4145= 1.0 =
    4246* Initial release
  • threaded-comments-management/trunk/wp-threaded-comments.php

    r424887 r429221  
    2626
    2727$wp_tc_ec_link = ABSPATH . "wp-admin/wp-tc-edit-comments.php";
    28 $wp_tc_ec_file = WP_PLUGIN_DIR . "/trunk/wp-tc-edit-comments.php";
     28$wp_tc_ec_file = WP_PLUGIN_DIR . "/threaded-comments-management/wp-tc-edit-comments.php";
    2929$wp_tc_clt_link = ABSPATH . "wp-admin/includes/class-wp-tc-comments-list-table.php";
    30 $wp_tc_clt_file = WP_PLUGIN_DIR . "/trunk/class-wp-tc-comments-list-table.php";
     30$wp_tc_clt_file = WP_PLUGIN_DIR . "/threaded-comments-management/class-wp-tc-comments-list-table.php";
    3131$wp_tc_clt = true;
    3232$wp_tc_ec = true;
  • threaded-comments-management/trunk/wp-threaded-comments.php~

    r424887 r429221  
    11<?php
    22/*
    3 Plugin Name: Threaded Comments
     3Plugin Name: Threaded Comments Management
    44Version: 1.0
    55Author: azram19
    66Plugin URI: http://gsoc2011.wordpress.com/threaded-comments
    77Description: Plugin improves threaded comments management.
    8 Author URI: 
     8Text Domain: wptc
    99License: GPL2
    1010
     
    2525*/
    2626
    27 require_once("wp-tc-functions.php");
    28 require_once("class-wp-tc-xmlrpc-server.php");
     27$wp_tc_ec_link = ABSPATH . "wp-admin/wp-tc-edit-comments.php";
     28$wp_tc_ec_file = WP_PLUGIN_DIR . "/trunk/wp-tc-edit-comments.php";
     29$wp_tc_clt_link = ABSPATH . "wp-admin/includes/class-wp-tc-comments-list-table.php";
     30$wp_tc_clt_file = WP_PLUGIN_DIR . "/trunk/class-wp-tc-comments-list-table.php";
     31$wp_tc_clt = true;
     32$wp_tc_ec = true;
     33require_once( "wp-tc-functions.php" );
     34require_once( "class-wp-tc-xmlrpc-server.php" );
    2935
    30 remove_all_filters('wp_update_comment');
    31 add_filter('wp_update_comment', 'tc_update_comment', 1, 1);
    32 add_filter('admin_init', 'tc_init', 1, 1);
    33 add_filter('admin_print_styles', 'tc_styles');
     36tc_check_symlinks();
    3437
    35 add_filter('wp_xmlrpc_server_class', array('wp_tc_xmlrpc_server', 'get_name'));
     38/*
     39 * Overwrite update_comment with a function that supports modification of
     40 * `comment_post_ID' and `comment_parent`.
     41 */
     42remove_all_filters( 'wp_update_comment' );
     43add_filter( 'wp_update_comment', 'tc_update_comment', 1, 1 );
     44
     45add_filter( 'init', 'tc_init', 1, 1 );
     46
     47//Load javascript files and css
     48add_filter( 'admin_init', 'tc_js', 1, 1 );
     49add_filter( 'admin_print_styles', 'tc_styles' );
     50
     51//Extend XML-RPC
     52add_filter( 'wp_xmlrpc_server_class', array( 'wp_tc_xmlrpc_server', 'get_name' ) );
    3653
    3754//Ajax actions
    38 add_action('wp_ajax_search-post-by-title', 'tc_ajax_post_search');
    39 add_action('wp_ajax_move-by-title', 'tc_ajax_move_by_title');
    40 add_action('wp_ajax_reparent-comment', 'tc_ajax_reparent_comment');
    41 add_action('wp_ajax_move-comment', 'tc_ajax_move_comment');
    42 add_action('wp_ajax_get-comment-subthread', 'tc_ajax_get_comment_subthread');
     55add_action( 'wp_ajax_search-post-by-title', 'tc_ajax_post_search' );
     56add_action( 'wp_ajax_move-by-title', 'tc_ajax_move_by_title' );
     57add_action( 'wp_ajax_move-comment', 'tc_ajax_move_comment' );
     58add_action( 'wp_ajax_get-comment-subthread', 'tc_ajax_get_comment_subthread' );
     59add_action( 'wp_ajax_save_settings-wptc', 'tc_ajax_save_settings' );
    4360
    44 add_filter( 'manage_wp-tc-edit-comments_sortable_columns', 'tc_deregister_sortable');
     61//Disable sortable column in comments page
     62add_filter( 'manage_wp-tc-edit-comments_sortable_columns', 'tc_deregister_sortable' );
    4563
    46 add_action('admin_head-edit-comments.php', 'tc_redirect_to_threaded_view');
    47 add_action('trunk/wp-threaded-comments.php', 'tc_install');
     64//Redirect eidt-comments.php to a custom page
     65add_action( 'admin_head-edit-comments.php', 'tc_redirect_to_threaded_view' );
    4866
    49 /*register_deactivation_hook(__FILE__, 'tc_uninstall');
     67//Activate/Deactivate
     68register_deactivation_hook( __FILE__, 'tc_uninstall' );
    5069register_activation_hook( __FILE__, 'tc_install' );
    51 */
     70
     71//On-screen options
     72add_filter( 'screen_settings', 'tc_screen_settings', 10, 2 );
     73add_filter( 'contextual_help', 'tc_contextual_help', 10, 3 );
     74add_action( 'admin_notices', 'tc_admin_notices' );
    5275
    5376?>
Note: See TracChangeset for help on using the changeset viewer.