Plugin Directory

Changeset 391775


Ignore:
Timestamp:
06/01/2011 05:01:27 PM (15 years ago)
Author:
scibuff
Message:
  • spelling fix (homapage -> homepage)
Location:
wordpress-connect/branches/2.0.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wordpress-connect/branches/2.0.1/readme.txt

    r391013 r391775  
    203203  asynchronously so that other elements/modules on pages are not blocked
    204204  while the social plugins are loading
     205* Spelling fixes (Homapage -> Homepage, etc.)
    205206= 2.0 =
    206207* API for plugin and theme developers
  • wordpress-connect/branches/2.0.1/src/admin/WordpressConnectAdminPanelLikeButton.php

    r390321 r391775  
    3737        if ( !current_user_can( 'manage_options' ) )  {
    3838            wp_die( __('You do not have sufficient permissions to access this page.') );
    39         }       
    40        
     39        }
     40
    4141        register_setting( WPC_OPTIONS_LIKE_BUTTON, WPC_OPTIONS_LIKE_BUTTON, array( &$this, 'admin_like_button_settings_validate' ) );
    4242
     
    6464        // like button display settings
    6565        add_settings_field( WPC_OPTIONS_DISPLAY_EVERYWHERE, __( 'Everywhere', WPC_TEXT_DOMAIN ), array( &$this, 'admin_setting_like_button_enable_everywhere' ), WPC_SETTINGS_LIKE_BUTTON_PAGE, WPC_SETTINGS_SECTION_LIKE_BUTTON_DISPLAY );
    66         add_settings_field( WPC_OPTIONS_DISPLAY_HOMEPAGE, __( 'Homapage', WPC_TEXT_DOMAIN ), array( &$this, 'admin_setting_like_button_enable_homepage' ), WPC_SETTINGS_LIKE_BUTTON_PAGE, WPC_SETTINGS_SECTION_LIKE_BUTTON_DISPLAY );
     66        add_settings_field( WPC_OPTIONS_DISPLAY_HOMEPAGE, __( 'Homepage', WPC_TEXT_DOMAIN ), array( &$this, 'admin_setting_like_button_enable_homepage' ), WPC_SETTINGS_LIKE_BUTTON_PAGE, WPC_SETTINGS_SECTION_LIKE_BUTTON_DISPLAY );
    6767        add_settings_field( WPC_OPTIONS_DISPLAY_CATEGORIES, __( 'Categories', WPC_TEXT_DOMAIN ), array( &$this, 'admin_setting_like_button_enable_categories' ), WPC_SETTINGS_LIKE_BUTTON_PAGE, WPC_SETTINGS_SECTION_LIKE_BUTTON_DISPLAY );
    6868        add_settings_field( WPC_OPTIONS_DISPLAY_TAGS, __( 'Tags', WPC_TEXT_DOMAIN ), array( &$this, 'admin_setting_like_button_enable_tags' ), WPC_SETTINGS_LIKE_BUTTON_PAGE, WPC_SETTINGS_SECTION_LIKE_BUTTON_DISPLAY );
     
    207207     */
    208208    function admin_setting_like_button_layout(){
    209        
     209
    210210        $options = get_option( WPC_OPTIONS_LIKE_BUTTON );
    211211        $default_value = $options[ WPC_OPTIONS_LIKE_BUTTON_LAYOUT ];
Note: See TracChangeset for help on using the changeset viewer.