Skip to content
Snippets Groups Projects
Select Git revision
  • 0e1cb196ced822fa390fe15ca293feac0ceeeda7
  • master default protected
  • 1.6.4
  • 1.6.3
  • 1.6.2
  • 1.6.1
  • 1.6.0
  • 1.5.0
  • 1.4.0
  • 1.3.1
  • 1.3.0
  • 1.3.0-beta1
  • 1.2.1
  • 1.2.0
  • 1.2.0-beta5
  • 1.2.0-beta4
  • 1.2.0-beta3
  • 1.2.0-beta2
  • 1.2.0-beta1
  • 1.1.0
  • 1.0.0
21 results

html-text-petition.php

Blame
  • html-text-petition.php 796 B
    <?php
    /**
     * @var string $text_align
     * @var string $plugin_author
     * @var string $plugin_title
     * @var string $rating_url
     */
    ?><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 you can %4$srate us %5$s in plugins repository &rarr;%6$s', 'wp-wpdesk-rating-petition' ),
                '<span class="heart">&hearts;</span>',
                $plugin_author,
                '<span class="plugin-title">' . $plugin_title . '</span>',
                '<a href="' . $rating_url . '" target="_blank">',
                '<span class="star">&#9733;&#9733;&#9733;&#9733;&#9733;</span><span class="plugins-repository">',
                '</span></a>'
            )
        ); ?>
    </div>