Plugin Directory

Changeset 1589072


Ignore:
Timestamp:
02/04/2017 09:18:55 PM (9 years ago)
Author:
lpointet
Message:
  • Fix old class names
  • Fix old way to position pointers (offset)
Location:
wordpress-gps/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wordpress-gps/trunk/gb_gps.php

    r794422 r1589072  
    22/*
    33Plugin Name: WordPress GPS
    4 Plugin URI: http://www.globalis-ms.com
     4Plugin URI: https://github.com/lpointet/wordpress-gps
    55Description: This plugin Provide an admin screen to WordPress users in which they will choose one scenario to play. That scenario will help them through the WordPress administration thanks to WP-Pointers API
    6 Version: 1.0.13
    7 Author: Lionel POINTET, GLOBALIS media systems
    8 Author URI: http://www.globalis-ms.com
     6Version: 1.0.14
     7Author: Lionel POINTET
     8Author URI: https://github.com/lpointet/
    99License: GPL2
    1010*/
  • wordpress-gps/trunk/readme.txt

    r794422 r1589072  
    33Tags: admin, help, tutorial, scenario, pointers, backend, plugin, training
    44Requires at least: 3.3.0
    5 Tested up to: 3.6
    6 Stable tag: 1.0.13
     5Tested up to: 4.7.2
     6Stable tag: 1.0.14
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4646
    4747== Changelog ==
     48
     49= 1.0.14 =
     50* Fix old class names
     51* Fix old way to position pointers (offset)
    4852
    4953= 1.0.13 =
  • wordpress-gps/trunk/scenarios.php

    r794422 r1589072  
    2222            'edit.php' => array(
    2323                array(
    24                     'selector' => '.add-new-h2',
     24                    'selector' => '.page-title-action',
    2525                    'post_type' => 'post',
    2626                    'content' => '<h3>' . GB_GPS_ADD_FROM_LIST_POINTER_TITLE . '</h3><p>' . sprintf(GB_GPS_ADD_FROM_LIST_POINTER_CONTENT, __('post')) . '</p>',
    2727                    'position' => array(
    2828                        'edge' => 'top',
    29                         'offset' => '-40 0',
     29                        'at' => 'bottom',
     30                        'my' => 'left-20% top',
    3031                    ),
    3132                ),
     
    5960                        'edge' => 'bottom',
    6061                        'align' => 'right',
    61                         'offset' => '-100 23',
     62                        'at' => 'left',
     63                        'my' => 'left+35 top-140',
    6264                    ),
    6365                ),
     
    7072                    'position' => array(
    7173                        'edge' => 'bottom',
    72                         'offset' => '0 -5',
    7374                    ),
    7475                ),
     
    9697            'users.php' => array(
    9798                array(
    98                     'selector' => '.add-new-h2',
     99                    'selector' => '.page-title-action',
    99100                    'content' => '<h3>' . GB_GPS_ADD_FROM_LIST_POINTER_TITLE . '</h3><p>' . sprintf(GB_GPS_ADD_FROM_LIST_POINTER_CONTENT, GB_GPS_LOWER_CASE_USER) . '</p>',
    100101                    'position' => array(
    101102                        'edge' => 'top',
    102                         'offset' => '-40 0',
     103                        'at' => 'bottom',
     104                        'my' => 'left-20% top',
    103105                    ),
    104106                ),
     
    110112                    'position' => array(
    111113                        'edge' => 'left',
    112                         'offset' => '0 -30',
     114                        'at' => 'right top-100%',
    113115                    ),
    114116                ),
     
    118120                    'position' => array(
    119121                        'edge' => 'left',
    120                         'offset' => '0 -30',
    121                     ),
    122                 ),
    123                 array(
    124                     'selector' => '#pass1',
     122                        'at' => 'right top-100%',
     123                    ),
     124                ),
     125                array(
     126                    'selector' => '.user-pass1-wrap',
    125127                    'content' => '<p>' . GB_GPS_PASSWORD_FIELD_POINTER_CONTENT . '</p>',
    126128                    'position' => array(
    127129                        'edge' => 'left',
    128                         'offset' => '0 -30',
     130                        'at' => 'left+44% top-10%',
    129131                    ),
    130132                ),
     
    158160            'upload.php' => array(
    159161                array(
    160                     'selector' => '.add-new-h2',
     162                    'selector' => '.page-title-action',
    161163                    'content' => '<h3>' . GB_GPS_ADD_FROM_LIST_POINTER_TITLE . '</h3><p>' . sprintf(GB_GPS_ADD_FROM_LIST_POINTER_CONTENT, GB_GPS_LOWER_CASE_MEDIA) . '</p>',
    162164                    'position' => array(
    163165                        'edge' => 'top',
    164                         'offset' => '-40 0',
     166                        'at' => 'bottom',
     167                        'my' => 'left-20% top',
    165168                    ),
    166169                ),
     
    172175                    'position' => array(
    173176                        'edge' => 'top',
    174                         'offset' => '-25 0',
    175177                    ),
    176178                ),
     
    197199            'themes.php' => array(
    198200                array(
    199                     'selector' => '#menu-appearance a[href=nav-menus\\\.php]',
     201                    'selector' => '#menu-appearance a[href="nav-menus.php"]',
    200202                    'content' => '<h3>' . sprintf(GB_GPS_MENU_POINTER_TITLE, __('Menus')) . '</h3><p>' . sprintf(GB_GPS_MENU_POINTER_CONTENT, __('Menus'), __('menus')) . '</p>',
    201203                    'position' => array(
     
    206208            'nav-menus.php' => array(
    207209                array(
    208                     'selector' => '.menu-add-new',
     210                    'selector' => '.add-edit-menu-action',
    209211                    'content' => '<p>' . GB_GPS_UPDATE_MENUS_CHOOSE_MENU_POINTER_CONTENT . '</p>',
    210212                    'position' => array(
    211213                        'edge' => 'left',
    212                         'offset' => '0 -35',
     214                        'at' => 'right top',
     215                        'my' => 'left top-35%',
    213216                    ),
    214217                ),
     
    218221                    'position' => array(
    219222                        'edge' => 'left',
    220                         'offset' => '0 -35',
     223                        'at' => 'right',
     224                        'my' => 'left',
    221225                    ),
    222226                ),
     
    226230                    'position' => array(
    227231                        'edge' => 'right',
    228                         'offset' => '-15 -37',
     232                        'at' => 'left',
     233                        'my' => 'right',
    229234                    ),
    230235                ),
     
    257262                        'edge' => 'bottom',
    258263                        'align' => 'right',
    259                         'offset' => '100 10',
    260                     ),
    261                 ),
    262                 array(
    263                     'selector' => '.row-actions-visible:first',
     264                        'at' => 'center',
     265                        'my' => 'bottom',
     266                    ),
     267                ),
     268                array(
     269                    'selector' => '.row-actions.visible:first',
    264270                    'content' => '<h3>' . GB_GPS_ACTIVATE_PLUGIN_LIST_ACTIONS_POINTER_TITLE . '</h3><p>' . GB_GPS_ACTIVATE_PLUGIN_LIST_POINTER_ACTIONS_CONTENT . '</p>',
    265271                    'position' => array(
Note: See TracChangeset for help on using the changeset viewer.