Skip to content
Snippets Groups Projects
Commit 771306f1 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

feature(petition): added text petition

parent 96efa149
Branches
Tags
1 merge request!1feature(petition): added text petition
This commit is part of merge request !1. Comments created here will be created in the context of that merge request.
......@@ -48,7 +48,7 @@ class TextPetitionDisplayer implements Hookable {
*/
public function enqueue_css_if_should() {
if ( $this->display_decision->should_display() ) {
wp_enqueue_style( 'wpdesk-rating-petition', plugin_dir_url( __DIR__ . '/../assets/css' ) . 'style.css', array(), self::SCRIPTS_VERSION );
wp_enqueue_style( 'wpdesk-rating-petition', plugin_dir_url( __DIR__ . '/../assets/css/style.css' ) . 'style.css', array(), self::SCRIPTS_VERSION );
}
}
......
......@@ -8,7 +8,7 @@
?><div class="wpdesk-rating-petition" style="text-align: <?php echo esc_attr( $text_align ); ?>;">
<?php echo wp_kses_post(
sprintf(
__( 'Created with %1$s by %2$s - If you like %3$s %4$srate us %5$s in plugins repository%6$s', 'wp-wpdesk-rating-petition' ),
__( 'Created with %1$s by %2$s - If you like %3$s you can %4$srate us %5$s in plugins repository%6$s', 'wp-wpdesk-rating-petition' ),
'<span class="heart"></span>',
$plugin_author,
'<span class="plugin-title">' . $plugin_title . '</span>',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment