Plugin Directory

Changeset 1668084


Ignore:
Timestamp:
05/31/2017 09:08:11 PM (9 years ago)
Author:
parallelit
Message:

[0.1.1] Release

Location:
re-add-text-justify-button/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • re-add-text-justify-button/trunk/index.php

    r1566110 r1668084  
    1 <?php
    2 // Silence is golden
     1<?php // Silence is golden
  • re-add-text-justify-button/trunk/re-add-text-justify-button.php

    r1566110 r1668084  
    55 * Description: The most simple plugin to re-add text justify button in the WYSIWYG on WordPress 4.7+
    66 * Author: Salvatore Cordiano
    7  * Version: 0.1.0
     7 * Version: 0.1.1
    88 * Author URI: https://www.salvatorecordiano.it/
    99 */
     
    1414}
    1515
    16 function parallel_mce_buttons( $buttons )
     16function parallel_mce_buttons($buttons)
    1717{
    18     $position = array_search('alignleft', $buttons);
     18    $position = array_search('alignright', $buttons);
    1919
    20     if(!is_int($position)) {
     20    if (! is_int($position)) {
    2121
    2222        return array_merge($buttons, ['alignjustify']);
     
    3030}
    3131
    32 add_action( 'admin_head', 'parallel_admin_head', 5 );
     32add_action('admin_head', 'parallel_admin_head', 5);
  • re-add-text-justify-button/trunk/readme.txt

    r1566111 r1668084  
    33Tags: justify, mce, tiny mce, wysiwyg
    44Requires at least: 4.7
    5 Tested up to: 4.7
    6 Stable tag: 0.1.0
     5Tested up to: 4.8
     6Stable tag: 0.1.1
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    2424== Changelog ==
    2525
     26= 0.1.1 =
     27* Test on WordPress 4.8.
     28
    2629= 0.1.0 =
    2730* First release.
Note: See TracChangeset for help on using the changeset viewer.