Skip to content

Commit

Permalink
update to 2.9.3
Browse files Browse the repository at this point in the history
git-svn-id: http://plugins.svn.wordpress.org/jetpack-markdown/trunk@892209 b8457f37-d9ea-0310-8a92-e5e31aec5664
  • Loading branch information
ahspw committed Apr 13, 2014
1 parent a75ce7e commit 8ea778d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 11 deletions.
4 changes: 2 additions & 2 deletions markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Plugin URI: http://wordpress.org/plugins/jetpack-markdown/
* Description: Write in Markdown, publish in HTML.
* Author: Anas H. Sulaiman
* Version: 2.9
* Version: 2.9.3
* Author URI: http://ahs.pw/
* Text Domain: jetpack-markdown
* Domain Path: /languages/
Expand All @@ -23,7 +23,7 @@
* Module Tags: Writing
*/

include_once dirname( __FILE__ ) . '/require-lib.php'; // E-1
include_once dirname( __FILE__ ) . '/require-lib.php';
include dirname( __FILE__ ) . '/markdown/easy-markdown.php';

// If the module is active, let's make this active for posting, period.
Expand Down
14 changes: 7 additions & 7 deletions markdown/easy-markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ public function maybe_remove_kses() {
* @return null
*/
public function register_setting() {
add_settings_field( self::POST_OPTION, __( 'Markdown', 'jetpack-markdown' ), array( $this, 'post_field' ), 'writing' ); // E-1
add_settings_field( self::POST_OPTION, __( 'Markdown', 'jetpack-markdown' ), array( $this, 'post_field' ), 'writing' );
register_setting( 'writing', self::POST_OPTION, array( $this, 'sanitize_setting') );
add_settings_field( self::COMMENT_OPTION, __( 'Markdown', 'jetpack-markdown' ), array( $this, 'comment_field' ), 'discussion' ); // E-1
add_settings_field( self::COMMENT_OPTION, __( 'Markdown', 'jetpack-markdown' ), array( $this, 'comment_field' ), 'discussion' );
register_setting( 'discussion', self::COMMENT_OPTION, array( $this, 'sanitize_setting') );
}

Expand All @@ -245,8 +245,8 @@ public function post_field() {
self::POST_OPTION,
self::POST_OPTION,
checked( $this->is_posting_enabled(), true, false ),
esc_html__( 'Use Markdown for posts and pages.', 'jetpack-markdown' ), // E-1
sprintf( '<a href="%s">%s</a>', esc_url( $this->get_support_url() ), esc_html__( 'Learn more about Markdown.', 'jetpack-markdown' ) ) // E-1
esc_html__( 'Use Markdown for posts and pages.', 'jetpack-markdown' ),
sprintf( '<a href="%s">%s</a>', esc_url( $this->get_support_url() ), esc_html__( 'Learn more about Markdown.', 'jetpack-markdown' ) )
);
}

Expand All @@ -260,8 +260,8 @@ public function comment_field() {
self::COMMENT_OPTION,
self::COMMENT_OPTION,
checked( $this->is_commenting_enabled(), true, false ),
esc_html__( 'Use Markdown for comments.', 'jetpack-markdown' ), // E-1
sprintf( '<a href="%s">%s</a>', esc_url( $this->get_support_url() ), esc_html__( 'Learn more about Markdown.', 'jetpack-markdown' ) ) // E-1
esc_html__( 'Use Markdown for comments.', 'jetpack-markdown' ),
sprintf( '<a href="%s">%s</a>', esc_url( $this->get_support_url() ), esc_html__( 'Learn more about Markdown.', 'jetpack-markdown' ) )
);
}

Expand Down Expand Up @@ -525,7 +525,7 @@ public function transform( $text, $args = array() ) {
* @return array Modified array to include post_content_filtered
*/
public function _wp_post_revision_fields( $fields ) {
$fields['post_content_filtered'] = __( 'Markdown content', 'jetpack-markdown' ); // E-1
$fields['post_content_filtered'] = __( 'Markdown content', 'jetpack-markdown' );
return $fields;
}

Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
Contributors: ahspw
Tags: jetpack, markdown, posts, post, comments
Requires at least: 3.5
Tested up to: 3.8.1
Stable tag: 2.9
Tested up to: 3.8.2
Stable tag: 2.9.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -96,6 +96,10 @@ The good news is that the module can be translated easily.

== Changelog ==

= 2.9.3 =

* Update to 2.9.3

= 2.9 =

* Initial release

0 comments on commit 8ea778d

Please sign in to comment.