Making WordPress.org

Changeset 1857


Ignore:
Timestamp:
09/01/2015 06:19:21 AM (9 years ago)
Author:
dd32
Message:

Themss Directory: Use protected methods and properties in WPORG_Themes_Upload to allow for sub classes to access the methods/properties.

File:
1 edited

Legend:

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

    r1809 r1857  
    3333     * @var string
    3434     */
    35     private $tmp_dir;
     35    protected $tmp_dir;
    3636
    3737    /**
     
    4040     * @var string
    4141     */
    42     private $theme_dir;
     42    protected $theme_dir;
    4343
    4444    /**
     
    4747     * @var WP_Theme
    4848     */
    49     private $theme;
     49    protected $theme;
    5050
    5151    /**
     
    5454     * @var WP_Post
    5555     */
    56     private $theme_post;
     56    protected $theme_post;
    5757
    5858    /**
     
    6161     * @var WP_User
    6262     */
    63     private $author;
     63    protected $author;
    6464
    6565    /**
     
    6868     * @var object
    6969     */
    70     private $trac_ticket;
     70    protected $trac_ticket;
    7171
    7272    /**
     
    7575     * @var Trac
    7676     */
    77     private $trac;
     77    protected $trac;
    7878
    7979    /**
     
    710710     * @return string The converted string.
    711711     */
    712     private function strip_non_utf8( $string ) {
     712    protected function strip_non_utf8( $string ) {
    713713        ini_set( 'mbstring.substitute_character', 'none' );
    714714
     
    723723     * @return int
    724724     */
    725     private function sort_by_string_length( $a, $b ) {
     725    protected function sort_by_string_length( $a, $b ) {
    726726        return strlen( $b ) - strlen( $a );
    727727    }
Note: See TracChangeset for help on using the changeset viewer.