Changeset 8764 for sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-markdown/inc/class-editor.php
- Timestamp:
- 05/09/2019 08:05:20 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-markdown/inc/class-editor.php
r8197 r8764 14 14 add_filter( 'get_edit_post_link', array( $this, 'redirect_edit_link_to_github' ), 10, 3 ); 15 15 add_filter( 'o2_filter_post_actions', array( $this, 'redirect_o2_edit_link_to_github' ), 11, 2 ); 16 add_action( 'wp_head', array( $this, 'render_edit_button_style' ) );17 16 add_action( 'edit_form_top', array( $this, 'render_editor_warning' ) ); 17 18 if ( ! has_action( 'wp_head', array( __CLASS__, 'render_edit_button_style' ) ) ) { 19 add_action( 'wp_head', array( __CLASS__, 'render_edit_button_style' ) ); 20 } 18 21 } 19 22 20 public function render_edit_button_style() {23 public static function render_edit_button_style() { 21 24 ?> 22 25 <style>
Note: See TracChangeset
for help on using the changeset viewer.