Make WordPress Core

Ticket #56403: 56403.diff

File 56403.diff, 5.2 KB (added by alireyad, 3 years ago)

Created patch.

  • new file .idea/codeStyles/codeStyleConfig.xml

    diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml
    new file mode 100644
    index 0000000000..a55e7a179b
    - +  
     1<component name="ProjectCodeStyleConfiguration">
     2  <state>
     3    <option name="PREFERRED_PROJECT_CODE_STYLE" value="Default" />
     4  </state>
     5</component>
     6 No newline at end of file
  • new file .idea/deployment.xml

    diff --git a/.idea/deployment.xml b/.idea/deployment.xml
    new file mode 100644
    index 0000000000..b302f467d9
    - +  
     1<?xml version="1.0" encoding="UTF-8"?>
     2<project version="4">
     3  <component name="PublishConfigData" remoteFilesAllowedToDisappearOnAutoupload="false">
     4    <serverData>
     5      <paths name="Net">
     6        <serverdata>
     7          <mappings>
     8            <mapping local="$PROJECT_DIR$" web="/" />
     9          </mappings>
     10        </serverdata>
     11      </paths>
     12      <paths name="client">
     13        <serverdata>
     14          <mappings>
     15            <mapping local="$PROJECT_DIR$" web="/" />
     16          </mappings>
     17        </serverdata>
     18      </paths>
     19    </serverData>
     20  </component>
     21</project>
     22 No newline at end of file
  • new file .idea/inspectionProfiles/Project_Default.xml

    diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml
    new file mode 100644
    index 0000000000..c73d2199e9
    - +  
     1<component name="InspectionProjectProfileManager">
     2  <profile version="1.0">
     3    <option name="myName" value="Project Default" />
     4    <inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
     5    <inspection_tool class="JSHint" enabled="true" level="ERROR" enabled_by_default="true" />
     6  </profile>
     7</component>
     8 No newline at end of file
  • new file .idea/jsLinters/jshint.xml

    diff --git a/.idea/jsLinters/jshint.xml b/.idea/jsLinters/jshint.xml
    new file mode 100644
    index 0000000000..c7f4878300
    - +  
     1<?xml version="1.0" encoding="UTF-8"?>
     2<project version="4">
     3  <component name="JSHintConfiguration" version="2.11.1" use-config-file="true" use-custom-config-file="true" custom-config-file-path="$PROJECT_DIR$/.jshintrc">
     4    <option bitwise="true" />
     5    <option browser="true" />
     6    <option curly="true" />
     7    <option eqeqeq="true" />
     8    <option forin="true" />
     9    <option maxerr="50" />
     10    <option noarg="true" />
     11    <option noempty="true" />
     12    <option nonew="true" />
     13    <option strict="true" />
     14    <option undef="true" />
     15  </component>
     16</project>
     17 No newline at end of file
  • new file .idea/misc.xml

    diff --git a/.idea/misc.xml b/.idea/misc.xml
    new file mode 100644
    index 0000000000..24eb271ab3
    - +  
     1<?xml version="1.0" encoding="UTF-8"?>
     2<project version="4">
     3  <component name="JavaScriptSettings">
     4    <option name="languageLevel" value="JSX" />
     5  </component>
     6</project>
     7 No newline at end of file
  • new file .idea/modules.xml

    diff --git a/.idea/modules.xml b/.idea/modules.xml
    new file mode 100644
    index 0000000000..c932faed73
    - +  
     1<?xml version="1.0" encoding="UTF-8"?>
     2<project version="4">
     3  <component name="ProjectModuleManager">
     4    <modules>
     5      <module fileurl="file://$PROJECT_DIR$/.idea/wordpress-develop.iml" filepath="$PROJECT_DIR$/.idea/wordpress-develop.iml" />
     6    </modules>
     7  </component>
     8</project>
     9 No newline at end of file
  • new file .idea/vcs.xml

    diff --git a/.idea/vcs.xml b/.idea/vcs.xml
    new file mode 100644
    index 0000000000..94a25f7f4c
    - +  
     1<?xml version="1.0" encoding="UTF-8"?>
     2<project version="4">
     3  <component name="VcsDirectoryMappings">
     4    <mapping directory="$PROJECT_DIR$" vcs="Git" />
     5  </component>
     6</project>
     7 No newline at end of file
  • new file .idea/wordpress-develop.iml

    diff --git a/.idea/wordpress-develop.iml b/.idea/wordpress-develop.iml
    new file mode 100644
    index 0000000000..ce913cc8d9
    - +  
     1<?xml version="1.0" encoding="UTF-8"?>
     2<module type="WEB_MODULE" version="4">
     3  <component name="NewModuleRootManager">
     4    <content url="file://$MODULE_DIR$">
     5      <sourceFolder url="file://$MODULE_DIR$/tests" isTestSource="true" />
     6      <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
     7    </content>
     8    <orderEntry type="inheritedJdk" />
     9    <orderEntry type="sourceFolder" forTests="false" />
     10  </component>
     11</module>
     12 No newline at end of file
  • src/wp-admin/theme-install.php

    diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php
    index 07a76ede7f..71df9044b9 100644
    a b if ( $tab ) { 
    288288                <div class="theme-screenshot blank"></div>
    289289        <# } #>
    290290
    291         <# if ( data.installed ) { #>
    292                 <div class="notice notice-success notice-alt"><p><?php _ex( 'Installed', 'theme' ); ?></p></div>
    293         <# } #>
     291    <# if ( data.active ) { #>
     292        <div class="notice notice-success notice-alt"><p><?php _ex( 'Activated', 'theme' ); ?></p></div>
     293    <# } else if ( data.installed ) { #>
     294        <div class="notice notice-success notice-alt"><p><?php _ex( 'Installed', 'theme' ); ?></p></div>
     295    <# } #>
    294296
    295297        <# if ( ! data.compatible_wp || ! data.compatible_php ) { #>
    296298                <div class="notice notice-error notice-alt"><p>