Make WordPress Core

Ticket #38010: fixing-padding-and-ellipsis.patch

File fixing-padding-and-ellipsis.patch, 2.9 KB (added by jamesacero, 8 years ago)

Fixing search bar padding to match on all pages, removed ellipsis from placeholder text on all search bars

  • src/wp-admin/css/themes.css

     
    10161016        content: '';
    10171017}
    10181018
    1019 .theme-install-php .wp-filter {
    1020         padding: 0 20px;
    1021 }
    1022 
    10231019.theme-install-php a.upload,
    10241020.theme-install-php a.browse-themes {
    10251021        cursor: pointer;
  • src/wp-admin/includes/class-walker-nav-menu-edit.php

     
    236236                                <input class="menu-item-data-type" type="hidden" name="menu-item-type[<?php echo $item_id; ?>]" value="<?php echo esc_attr( $item->type ); ?>" />
    237237                        </div><!-- .menu-item-settings-->
    238238                        <ul class="menu-item-transport"></ul>
     239                </li>
    239240                <?php
    240241                $output .= ob_get_clean();
    241242        }
    242243
     244        /**
     245         * Ends the element output, if needed.
     246         *
     247         * @see Walker_Nav_Menu::end_el()
     248         *
     249         * @since x.y.z
     250         *
     251         * @param string $output   Passed by reference. Used to append additional content.
     252         * @param object $item     Page data object. Not used.
     253         * @param int    $depth    Depth of page. Not used.
     254         * @param array  $args     An array of wp_nav_menu() arguments.
     255         */
     256        public function end_el( &$output, $item, $depth = 0, $args = array() ) {}
     257
    243258} // Walker_Nav_Menu_Edit
  • src/wp-admin/theme-install.php

     
    4545        'l10n' => array(
    4646                'addNew'              => __( 'Add New Theme' ),
    4747                'search'              => __( 'Search Themes' ),
    48                 'searchPlaceholder'   => __( 'Search themes...' ), // placeholder (no ellipsis)
     48                'searchPlaceholder'   => __( 'Search Themes' ), // placeholder (no ellipsis)
    4949                'upload'              => __( 'Upload Theme' ),
    5050                'back'                => __( 'Back' ),
    5151                'error'               => __( 'An unexpected error occurred. Something may be wrong with WordPress.org or this server&#8217;s configuration. If you continue to have problems, please try the <a href="https://wordpress.org/support/">support forums</a>.' ),
  • src/wp-admin/themes.php

     
    137137        'l10n' => array(
    138138                'addNew'            => __( 'Add New Theme' ),
    139139                'search'            => __( 'Search Installed Themes' ),
    140                 'searchPlaceholder' => __( 'Search installed themes...' ), // placeholder (no ellipsis)
     140                'searchPlaceholder' => __( 'Search Installed Themes' ), // placeholder (no ellipsis)
    141141                'themesFound'       => __( 'Number of Themes found: %d' ),
    142142                'noThemesFound'     => __( 'No themes found. Try a different search.' ),
    143143        ),