Make WordPress Core


Ignore:
Timestamp:
05/05/2009 04:28:05 AM (15 years ago)
Author:
azaozz
Message:

Banishing ASCII quotes and apostrophes, props demetris, fixes #9655

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/theme-install.php

    r11173 r11190  
    302302        $actions = array();
    303303        $actions[] = '<a href="' . admin_url('theme-install.php?tab=theme-information&amp;theme=' . $theme->slug .
    304                                         '&amp;TB_iframe=true&amp;tbWidth=500&amp;tbHeight=350') . '" class="thickbox thickbox-preview onclick" title="' . attr(sprintf(__('Install "%s"'), $name)) . '">' . __('Install') . '</a>';
    305         $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview onclick previewlink" title="' . attr(sprintf(__('Preview "%s"'), $name)) . '">' . __('Preview') . '</a>';
     304                                        '&amp;TB_iframe=true&amp;tbWidth=500&amp;tbHeight=350') . '" class="thickbox thickbox-preview onclick" title="' . attr(sprintf(__('Install &#8220;%s&#8221;'), $name)) . '">' . __('Install') . '</a>';
     305        $actions[] = '<a href="' . $preview_link . '" class="thickbox thickbox-preview onclick previewlink" title="' . attr(sprintf(__('Preview &#8220;%s&#8221;'), $name)) . '">' . __('Preview') . '</a>';
    306306        $actions = apply_filters('theme_install_action_links', $actions, $theme);
    307307    }
     
    311311<a class='thickbox thickbox-preview screenshot'
    312312    href='<? echo clean_url($preview_link); ?>'
    313     title='<?php echo attr(sprintf(__('Preview "%s"'), $name)); ?>'>
     313    title='<?php echo attr(sprintf(__('Preview &#8220;%s&#8221;'), $name)); ?>'>
    314314<img src='<?php echo clean_url($theme->screenshot_url); ?>' width='150' />
    315315</a>
Note: See TracChangeset for help on using the changeset viewer.