Changeset 1711963
- Timestamp:
- 08/11/2017 08:11:26 AM (9 years ago)
- Location:
- mnml-footnotes/trunk
- Files:
-
- 6 edited
-
lib/class-mnml-version-check.php (modified) (2 diffs)
-
mnml-footnotes.php (modified) (1 diff)
-
readme.txt (modified) (3 diffs)
-
src/class-main.php (modified) (1 diff)
-
src/class-settings.php (modified) (3 diffs)
-
src/class-shortcodes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mnml-footnotes/trunk/lib/class-mnml-version-check.php
r1675496 r1711963 107 107 108 108 <div class="error"> 109 <p><?php printf( '%s requires at least PHP version %s. Please consider upgrading.', esc_html( $this->name ), esc_html( $this->wp ) ) ?></p>109 <p><?php printf( '%s requires at least PHP version %s. Please consider upgrading.', esc_html( $this->name ), esc_html( $this->wp ) ); ?></p> 110 110 </div> 111 111 … … 123 123 124 124 <div class="error"> 125 <p><?php printf( '%s requires at least WordPress version %s. Please consider upgrading.', esc_html( $this->name ), esc_html( $this->wp ) ) ?></p>125 <p><?php printf( '%s requires at least WordPress version %s. Please consider upgrading.', esc_html( $this->name ), esc_html( $this->wp ) ); ?></p> 126 126 </div> 127 127 -
mnml-footnotes/trunk/mnml-footnotes.php
r1675496 r1711963 3 3 * Plugin Name: MNML Footnotes 4 4 * Description: Auto-listed footnotes for posts. 5 * Version: 0. 1.25 * Version: 0.2.0 6 6 * Author: Mauro Bringolf 7 7 * Author URI: https://maurobringolf.ch -
mnml-footnotes/trunk/readme.txt
r1675496 r1711963 4 4 Requires at least: 3.0 5 5 Tested up to: 4.8 6 Stable tag: 0. 1.26 Stable tag: 0.2.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 15 15 content, reusing all existing styles of your site. All references become anchor links guiding the user to the footnote section of the post. 16 16 17 We would love to hear and discuss your feedback in a [review](https://wordpress.org/support/plugin/mnml-footnotes/reviews/). If you want to report a bug or have a feature request, please do so via the [GitHub repository](https://github.com/maurobringolf/mnml-footnotes). 17 We would love to hear and discuss your feedback in a [review](https://wordpress.org/support/plugin/mnml-footnotes/reviews/). If you want to report a bug or have a 18 feature request, please do so via the [GitHub repository](https://github.com/maurobringolf/mnml-footnotes). 18 19 19 20 == Usage == … … 40 41 == Changelog == 41 42 43 = v0.2.0 = 44 45 * Added a filter called `mnml_footnote_text` that enables customizing the footnote output the via PHP. See [the developer section on GitHub](https://github.com/maurobringolf/mnml-footnotes/#developers) 46 for an example. 47 42 48 = v0.1.2 = 43 49 * A sketch of another shortcode was removed in favor of simplicity for now. Nothing changes though, the shortcode for -
mnml-footnotes/trunk/src/class-main.php
r1675496 r1711963 63 63 64 64 $this->prefix = 'mnml-footnotes'; 65 $this->version = '0. 1.2';65 $this->version = '0.2.0'; 66 66 $this->file = $file; 67 67 $this->settings = new Settings(); -
mnml-footnotes/trunk/src/class-settings.php
r1675304 r1711963 18 18 * @var Array 19 19 */ 20 p rivate$title_tag_options;20 public $title_tag_options; 21 21 22 22 /** … … 93 93 94 94 <select name=<?php echo esc_attr( "mbch_mnml_footnotes[$field]" ); ?> > 95 <?php array_map( 95 <?php 96 array_map( 96 97 function( $value, $selected ) { 97 98 ?> … … 101 102 $this->title_tag_options, 102 103 array_pad( array(), count( $this->title_tag_options ), $value ) 103 ); ?> 104 ); 105 ?> 104 106 </select> 105 107 -
mnml-footnotes/trunk/src/class-shortcodes.php
r1675304 r1711963 106 106 $text = $is_url ? $that->create_footnote_anchor_tag( $note ) : $note; 107 107 108 $html .= "<li>$text</li>"; 108 $filtered_text = apply_filters( 'mnml_footnote_text', $text ); 109 110 $html .= "<li>$filtered_text</li>"; 109 111 }, $footnotes); 110 112
Note: See TracChangeset
for help on using the changeset viewer.