Plugin Directory

Changeset 1563664


Ignore:
Timestamp:
12/28/2016 07:12:46 PM (9 years ago)
Author:
derpixler
Message:

update 3.1.1

Location:
search-and-replace/trunk/inc
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • search-and-replace/trunk/inc/Page/Manager.php

    r1390032 r1563664  
    140140        $suffix = $this->get_script_suffix();
    141141
    142         $url    = ( INSR_DIR . '/assets/css/inpsyde-search-replace' . $suffix . '.css' );
     142        $url    = ( SEARCH_REPLACE_BASEDIR . '/assets/css/inpsyde-search-replace' . $suffix . '.css' );
    143143        $handle = 'insr-styles';
    144144        wp_register_script( $handle, $url );
     
    160160        $suffix = $this->get_script_suffix();
    161161
    162         $url    = ( INSR_DIR . '/assets/js/inpsyde-search-replace' . $suffix . '.js' );
     162        $url    = ( SEARCH_REPLACE_BASEDIR . '/assets/js/inpsyde-search-replace' . $suffix . '.js' );
    163163        $handle = 'insr-js';
    164164        wp_register_script( $handle, $url );
  • search-and-replace/trunk/inc/Page/SearchReplace.php

    r1390214 r1563664  
    122122        //check for errors in form
    123123        if ( ! $this->is_request_valid() ) {
     124
     125            $this->display_errors();
     126
    124127            return FALSE;
    125128        }
     
    254257        }
    255258
     259
     260
    256261        return TRUE;
    257262    }
  • search-and-replace/trunk/inc/templates/credits.php

    r1390032 r1563664  
    44 */
    55// Prevent direct access.
    6 if ( ! defined( 'INSR_DIR' ) ) {
     6if ( ! defined( 'SEARCH_REPLACE_BASEDIR' ) ) {
    77    echo "Hi there!  I'm just a part of plugin, not much I can do when called directly.";
    88    exit;
  • search-and-replace/trunk/inc/templates/db_backup.php

    r1390032 r1563664  
    44 */
    55// Prevent direct access.
    6 if ( ! defined( 'INSR_DIR' ) ) {
     6if ( ! defined( 'SEARCH_REPLACE_BASEDIR' ) ) {
    77    echo "Hi there!  I'm just a part of plugin, not much I can do when called directly.";
    88    exit;
  • search-and-replace/trunk/inc/templates/replace_domain.php

    r1390032 r1563664  
    44 */
    55// Prevent direct access.
    6 if ( ! defined( 'INSR_DIR' ) ) {
     6if ( ! defined( 'SEARCH_REPLACE_BASEDIR' ) ) {
    77    echo "Hi there!  I'm just a part of plugin, not much I can do when called directly.";
    88    exit;
     
    1919            <tr>
    2020                <th><label for="search"><strong><?php esc_html_e( 'Search for: ', 'search-and-replace' ); ?></strong></label></th>
    21                 <td><input id="search" type="text" name="search" value="<?php echo get_site_url(); ?>" /></td>
     21                <td><input id="search" type="text" disabled="disabled" name="search" value="<?php echo get_site_url(); ?>" /></td>
    2222            </tr>
    2323            <tr>
  • search-and-replace/trunk/inc/templates/search_replace.php

    r1390032 r1563664  
    44 */
    55// Prevent direct access.
    6 if ( ! defined( 'INSR_DIR' ) ) {
     6if ( ! defined( 'SEARCH_REPLACE_BASEDIR' ) ) {
    77    echo "Hi there!  I'm just a part of plugin, not much I can do when called directly.";
    88    exit;
  • search-and-replace/trunk/inc/templates/sql_import.php

    r1390032 r1563664  
    44 */
    55// Prevent direct access.
    6 if ( ! defined( 'INSR_DIR' ) ) {
     6if ( ! defined( 'SEARCH_REPLACE_BASEDIR' ) ) {
    77    echo "Hi there!  I'm just a part of plugin, not much I can do when called directly.";
    88    exit;
Note: See TracChangeset for help on using the changeset viewer.