Skip to content

Commit

Permalink
modified: functions.php
Browse files Browse the repository at this point in the history
	modified:   lib/hooks.php
	modified:   plugins/tgm-config.php
	modified:   style.css
  • Loading branch information
tenman committed Nov 3, 2022
1 parent d5d8cdb commit 9647183
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
7 changes: 5 additions & 2 deletions functions.php
Expand Up @@ -2082,13 +2082,16 @@ function raindrops_add_tooltip_script() {
* @global type $commenter
* @param array $form
* @return type
* @since 1.600 removed
*
*/
/*
function raindrops_comment_form( $form ) {

var_dump( $form );
global $commenter;
$form['url'] = '<p class="comment-form-url"><label for="url">' . esc_html__( 'Website', 'raindrops' ) . '</label><span class="option">' . esc_html__( '(&nbsp;optional&nbsp;)', 'raindrops' ) . '</span><input id="url" name="url" type="text" value="' . esc_attr( $commenter['comment_author_url'] ) . '" size="30" /></p>';
return apply_filters( "raindrops_comment_form", $form );
}
}*/

}
/**
Expand Down
7 changes: 4 additions & 3 deletions lib/hooks.php
Expand Up @@ -51,9 +51,10 @@ function raindrops_theme_setup() {
*/
add_filter( 'wp_page_menu_args', 'raindrops_page_menu_args' );
/**
*
* @since 1.600 removed
* Because the argument becomes null and an error occurs
*/
add_filter( 'comment_form_default_fields', 'raindrops_comment_form' );
//add_filter( 'comment_form_default_fields', 'raindrops_comment_form' );
/**
*
*/
Expand Down Expand Up @@ -318,7 +319,7 @@ function raindrops_theme_setup() {
* @since 1.405
*/
add_action( 'admin_enqueue_scripts', 'raindrops_widget_page_style' );

/**
* @since 1.410
*/
Expand Down
9 changes: 2 additions & 7 deletions plugins/tgm-config.php
Expand Up @@ -31,12 +31,7 @@ function raindrops_theme_register_required_plugins() {
'slug' => 'wp-pagenavi',
'required' => false,
),
array(
'name' => 'Comet Cache',
'slug' => 'comet-cache',
'required' => false,
),
array(
array(
'name' => 'Meta Slider',
'slug' => 'ml-slider',
'required' => false,
Expand All @@ -60,7 +55,7 @@ function raindrops_theme_register_required_plugins() {
$message_strings .= '<p>'. esc_html__( "Prior to install the theme, if you have to activate these plug-ins, it does not do anything. If you use the function of customized plug-in theme, Once you have the plug-in de-activate, add this page or, in the plug-in list, and you'll re-activated, the item of the customizer add-on It will be.", 'raindrops' ). '</p>';
$message_strings .= '<p>'. esc_html__('Of course, even if you do not use these plugins, it will work without the function of the Raindrops is lost, please decide freely whether or not to use or use in your favorite','raindrops').'</p></div>';
$message_strings .= '<p><a href="'. esc_url( admin_url('customize.php' ) ).'">'.esc_html__('Link to Customizer', 'raindrops' ).'</a></p>';

$config = array(
'default_path' => '', // Default absolute path to pre-packaged plugins.
'menu' => 'tgmpa-install-plugins', // Menu slug.
Expand Down
2 changes: 2 additions & 0 deletions style.css
Expand Up @@ -2795,6 +2795,8 @@ hr:after {
.wp-block-separator{
clear:both;
float:none;
/* OW */
border-top:none;
}

p + hr{
Expand Down

0 comments on commit 9647183

Please sign in to comment.