Making WordPress.org


Ignore:
Timestamp:
02/25/2015 03:23:28 PM (9 years ago)
Author:
obenland
Message:

WP.org Themes: Continue with the misspelling, to avoid future confusion.

See #745.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-repo-package.php

    r1315 r1321  
    1414     * @return string
    1515     */
    16     public function screen_shot_url() {
     16    public function screenshot_url() {
    1717        $screen  = 'screenshot.png';
    1818        $version = $this->latest_version();
    1919
    20         if ( ! empty( $this->wp_post->_screen_shot[ $version ] ) ) {
    21             $screen = $this->wp_post->_screen_shot[ $version ];
     20        if ( ! empty( $this->wp_post->_screenshot[ $version ] ) ) {
     21            $screen = $this->wp_post->_screenshot[ $version ];
    2222        }
    2323
Note: See TracChangeset for help on using the changeset viewer.