Make WordPress Core

Ticket #31639: 31639.diff

File 31639.diff, 484 bytes (added by kraftbj, 11 years ago)

Example of removing descriptions ending with ...

  • src/wp-admin/includes/class-wp-press-this.php

     
    993993                        } else if ( ! empty( $data['_meta']['description'] ) ) {
    994994                                $text = $data['_meta']['description'];
    995995                        }
     996                        if ( substr( $text, -3, 3 ) == '...' ) {
     997                                $text = '';
     998                        }
    996999                }
    9971000
    9981001                $default_html = array(